summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/src
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2024-11-24 18:19:11 +0100
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-11-25 09:34:02 +0100
commitcf8c36f35141380c5f8e886760c859d0e95f6dd0 (patch)
treed57b0ab83fcd9966fa2e9dd68dd2f8b503dfbc78 /searx/static/themes/simple/src
parent5fbea0b62df9877b4c07489ca631ced7af0d939b (diff)
downloadsearxng-cf8c36f35141380c5f8e886760c859d0e95f6dd0.tar.gz
searxng-cf8c36f35141380c5f8e886760c859d0e95f6dd0.zip
[mod] add CSS (LESS) to xsl style to view rss in browser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/static/themes/simple/src')
-rw-r--r--searx/static/themes/simple/src/less/rss.less45
1 files changed, 45 insertions, 0 deletions
diff --git a/searx/static/themes/simple/src/less/rss.less b/searx/static/themes/simple/src/less/rss.less
new file mode 100644
index 000000000..0bc6622e3
--- /dev/null
+++ b/searx/static/themes/simple/src/less/rss.less
@@ -0,0 +1,45 @@
+@import (inline) "../../node_modules/normalize.css/normalize.css";
+@import "definitions.less";
+
+.text-size-adjust (@property: 100%) {
+ -webkit-text-size-adjust: @property;
+ -ms-text-size-adjust: @property;
+ -moz-text-size-adjust: @property;
+ text-size-adjust: @property;
+}
+
+// Reset padding and margin
+html,
+body,
+main {
+ padding: 0;
+ margin: 0;
+}
+
+html {
+ font-family: sans-serif;
+ font-size: 0.9em;
+ .text-size-adjust;
+
+ color: var(--color-base-font);
+ background-color: var(--color-base-background);
+
+ scroll-behavior: smooth;
+}
+
+body {
+ margin-inline: 1rem;
+}
+
+a {
+ text-decoration: none;
+ color: var(--color-url-font);
+
+ &:visited {
+ color: var(--color-url-visited-font);
+
+ .highlight {
+ color: var(--color-url-visited-font);
+ }
+ }
+}