mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[mod] add CSS (LESS) to xsl style to view rss in browser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
5fbea0b62d
commit
cf8c36f351
5 changed files with 61 additions and 1 deletions
45
searx/static/themes/simple/src/less/rss.less
Normal file
45
searx/static/themes/simple/src/less/rss.less
Normal file
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue