From 90e5831d8ff127696a053f8c0ec435fa9c258ba1 Mon Sep 17 00:00:00 2001 From: Grotax Date: Mon, 1 Apr 2024 08:53:16 +0000 Subject: Deployed 8c36f1d with MkDocs version: 1.4.2 --- features/customCSS/index.html | 631 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 631 insertions(+) create mode 100644 features/customCSS/index.html (limited to 'features/customCSS/index.html') diff --git a/features/customCSS/index.html b/features/customCSS/index.html new file mode 100644 index 000000000..04664b432 --- /dev/null +++ b/features/customCSS/index.html @@ -0,0 +1,631 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + Custom CSS - Nextcloud News App + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + Skip to content + + +
+
+ +
+ + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + + +
+
+
+ + + +
+
+ + + + + + + + +

Custom CSS

+

Sometimes you want to add additional CSS for a feed to improve the rendering. This can very easily be done by adding a CSS class to css/custom.css following the following naming convention:

+
    +
  • Take the URL from the \ attribute (e.g.: \https://www.google.de/path?my=query \)
  • +
  • Extract the Domain from the URL (e.g.: )
  • +
  • Strip the leading www. (e.g.: google.de)
  • +
  • Replace all . with - (e.g.: google-de)
  • +
  • Prepend custom- (e.g.: custom-google-de)
  • +
+

Each class rule should be prefixed with #app-content and should only affect the article body. An example rule would be:

+
#app-content .custom-google-de .body {
+    /* Custom CSS rules here */
+}
+
+ + + + + + +
+
+ + +
+ +
+ + + +
+
+
+
+ + + + + + + + + \ No newline at end of file -- cgit v1.2.3