diff options
| author | Alexandre Flament <alex@al-f.net> | 2022-09-23 23:09:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-23 23:09:27 +0200 |
| commit | fc389f009d6da7f9d897c0b1ff50ef906866046f (patch) | |
| tree | 1b911cba1b96970455b115d1cc706db52d5613da /searx/static/themes/simple/src/less | |
| parent | bef3984d0320b2010c50097e186b07b6673a9647 (diff) | |
| parent | d6446be38f3f858c09887a89c8fc490a3c300b95 (diff) | |
Merge pull request #1705 from dalf/template_paper
Theme: add a paper.html template and update of the science engines
Diffstat (limited to 'searx/static/themes/simple/src/less')
| -rw-r--r-- | searx/static/themes/simple/src/less/style.less | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/searx/static/themes/simple/src/less/style.less b/searx/static/themes/simple/src/less/style.less index 11d2ef58d..dd8e8a596 100644 --- a/searx/static/themes/simple/src/less/style.less +++ b/searx/static/themes/simple/src/less/style.less @@ -302,6 +302,49 @@ article[data-vim-selected].category-social { } } +.result-paper { + .attributes { + display: table; + border-spacing: 0.125rem; + + div { + display: table-row; + + span { + font-size: 0.9rem; + margin-top: 0.25rem; + display: table-cell; + + time { + font-size: 0.9rem; + } + } + + span:first-child { + color: var(--color-base-font); + min-width: 10rem; + } + + span:nth-child(2) { + color: var(--color-result-publishdate-font); + } + } + } + + .content { + margin-top: 0.25rem; + } + + .comments { + font-size: 0.9rem; + margin: 0.25rem 0 0 0; + padding: 0; + word-wrap: break-word; + line-height: 1.24; + font-style: italic; + } +} + .template_group_images { display: flex; flex-wrap: wrap; @@ -955,6 +998,28 @@ article[data-vim-selected].category-social { border: none !important; background-color: var(--color-sidebar-background); } + + .result-paper { + .attributes { + display: block; + + div { + display: block; + + span { + display: inline; + } + + span:first-child { + font-weight: bold; + } + + span:nth-child(2) { + .ltr-margin-left(0.5rem); + } + } + } + } } /* |