From 79b400bf4bdf0037ca7a3805b9f3dc956646d869 Mon Sep 17 00:00:00 2001 From: Benjamin Brahmer Date: Sat, 8 May 2021 18:52:05 +0200 Subject: move custom css Signed-off-by: Benjamin Brahmer --- docs/customCSS.md | 16 ++++++++++++++++ old-docs/feedcss/README.md | 16 ---------------- 2 files changed, 16 insertions(+), 16 deletions(-) create mode 100644 docs/customCSS.md delete mode 100644 old-docs/feedcss/README.md diff --git a/docs/customCSS.md b/docs/customCSS.md new file mode 100644 index 000000000..74f652eaf --- /dev/null +++ b/docs/customCSS.md @@ -0,0 +1,16 @@ +# 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.: www.google.de) +* 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: + +```css +#app-content .custom-google-de .body { + /* Custom CSS rules here */ +} +``` \ No newline at end of file diff --git a/old-docs/feedcss/README.md b/old-docs/feedcss/README.md deleted file mode 100644 index 74f652eaf..000000000 --- a/old-docs/feedcss/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# 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.: www.google.de) -* 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: - -```css -#app-content .custom-google-de .body { - /* Custom CSS rules here */ -} -``` \ No newline at end of file -- cgit v1.2.3