2017-02-12 15:06:01 +01:00
|
|
|
/*
|
2021-10-01 16:33:31 +02:00
|
|
|
* SearXNG, A privacy-respecting, hackable metasearch engine
|
2017-02-12 15:06:01 +01:00
|
|
|
*
|
|
|
|
* To convert "style.less" to "style.css" run: $make styles
|
|
|
|
*/
|
|
|
|
|
[stylelint] disable role 'no-descending-specificity'
This patch disables role 'no-descending-specificity'. IMO it is better to have
this rule active (see below [1]), but it is hard to rewrite the less files to
pass this rule, so for the first I chose to disable this rule.
---
Source order is important in CSS, and when two selectors have the same
specificity, the one that occurs last will take priority. However, the situation
is different when one of the selectors has a higher specificity. In that case,
source order does not matter: the selector with higher specificity will win out
even if it comes first.
The clashes of these two mechanisms for prioritization, source order and
specificity, can cause some confusion when reading stylesheets. If a selector
with higher specificity comes before the selector it overrides, we have to think
harder to understand it, because it violates the source order
expectation. Stylesheets are most legible when overriding selectors always come
after the selectors they override. That way both mechanisms, source order and
specificity, work together nicely.
This rule enforces that practice as best it can, reporting fewer errors than it
should. It cannot catch every actual overriding selector, but it can catch
certain common mistakes.
[1] https://stylelint.io/user-guide/rules/list/no-descending-specificity/
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-22 14:23:12 +02:00
|
|
|
// stylelint-disable no-descending-specificity
|
|
|
|
|
2021-06-17 17:39:44 +02:00
|
|
|
@import (inline) "../../node_modules/normalize.css/normalize.css";
|
2017-02-12 15:06:01 +01:00
|
|
|
@import "definitions.less";
|
|
|
|
@import "mixins.less";
|
|
|
|
@import "code.less";
|
|
|
|
@import "toolkit.less";
|
|
|
|
@import "autocomplete.less";
|
2021-10-02 11:57:08 +02:00
|
|
|
@import "detail.less";
|
2021-11-21 12:04:08 +01:00
|
|
|
@import "animations.less";
|
2022-02-18 18:10:25 +01:00
|
|
|
@import "embedded.less";
|
2022-03-12 10:53:08 +01:00
|
|
|
@import "info.less";
|
2022-05-07 15:11:05 +02:00
|
|
|
@import "new_issue.less";
|
|
|
|
@import "stats.less";
|
|
|
|
@import "result_templates.less";
|
2017-02-12 15:06:01 +01:00
|
|
|
|
|
|
|
// for index.html template
|
|
|
|
@import "index.less";
|
|
|
|
|
|
|
|
// for preferences.html template
|
|
|
|
@import "preferences.less";
|
|
|
|
|
|
|
|
// Search-Field
|
|
|
|
@import "search.less";
|
|
|
|
|
2022-06-03 14:10:48 +02:00
|
|
|
// to center the results
|
|
|
|
@import "style-center.less";
|
|
|
|
|
2021-06-22 14:15:47 +02:00
|
|
|
// ion-icon
|
2021-11-13 10:42:07 +01:00
|
|
|
.ion-icon {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: bottom;
|
|
|
|
line-height: 1;
|
|
|
|
text-decoration: inherit;
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-transform();
|
2021-11-13 10:42:07 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.ion-icon-small {
|
|
|
|
width: 1rem;
|
|
|
|
height: 1rem;
|
2021-06-22 14:15:47 +02:00
|
|
|
.ion-icon;
|
2021-11-13 10:42:07 +01:00
|
|
|
}
|
2021-06-22 14:15:47 +02:00
|
|
|
|
2021-11-13 10:42:07 +01:00
|
|
|
.ion-icon-big {
|
|
|
|
width: 1.5rem;
|
|
|
|
height: 1.5rem;
|
|
|
|
.ion-icon;
|
2021-06-22 14:15:47 +02:00
|
|
|
}
|
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
// Main LESS-Code
|
|
|
|
html {
|
2021-09-27 17:37:15 +02:00
|
|
|
font-family: sans-serif;
|
2017-02-12 15:06:01 +01:00
|
|
|
font-size: 0.9em;
|
|
|
|
.text-size-adjust;
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2021-10-06 20:12:51 +02:00
|
|
|
color: var(--color-base-font);
|
2021-10-08 16:06:48 +02:00
|
|
|
background-color: var(--color-base-background);
|
2017-02-12 15:06:01 +01:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2023-09-14 07:49:15 +02:00
|
|
|
|
|
|
|
scroll-behavior: smooth;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
body,
|
|
|
|
main {
|
2017-02-12 15:06:01 +01:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2021-06-25 11:31:14 +02:00
|
|
|
body {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100vh;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
main {
|
|
|
|
width: 100%;
|
2021-06-25 11:31:14 +02:00
|
|
|
margin-bottom: 2rem;
|
|
|
|
flex: 1;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2022-01-30 09:39:21 +01:00
|
|
|
.page_with_header {
|
2021-09-25 18:29:12 +02:00
|
|
|
margin: 2em auto;
|
|
|
|
width: 85em;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
clear: both;
|
2021-06-25 11:31:14 +02:00
|
|
|
min-height: 4rem;
|
2021-09-26 13:01:22 +02:00
|
|
|
padding: 1rem 0;
|
2017-02-12 15:06:01 +01:00
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
2021-10-08 16:06:48 +02:00
|
|
|
background-color: var(--color-footer-background);
|
|
|
|
border-top: 1px solid var(--color-footer-border);
|
2021-06-25 11:31:14 +02:00
|
|
|
overflow: hidden;
|
2017-02-12 15:06:01 +01:00
|
|
|
|
|
|
|
p {
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-01-30 09:39:21 +01:00
|
|
|
.page_with_header .logo {
|
|
|
|
height: 40px;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
input[type="submit"],
|
2024-01-21 12:35:52 +01:00
|
|
|
#results button[type="submit"],
|
|
|
|
.button {
|
2021-10-06 20:12:51 +02:00
|
|
|
padding: 0.7rem;
|
2017-02-12 15:06:01 +01:00
|
|
|
display: inline-block;
|
2021-10-06 20:12:51 +02:00
|
|
|
background: var(--color-btn-background);
|
|
|
|
color: var(--color-btn-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
.rounded-corners;
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
border: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-url-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
|
|
|
|
&:visited {
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-url-visited-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
|
|
|
|
.highlight {
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-url-visited-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
article[data-vim-selected] {
|
2021-09-30 18:12:42 +02:00
|
|
|
background: var(--color-result-vim-selected);
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-border-left(0.2rem solid var(--color-result-vim-arrow));
|
2022-01-17 22:35:02 +01:00
|
|
|
.ltr-rounded-right-corners(10px);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
article.result-images[data-vim-selected] {
|
2021-10-08 16:06:48 +02:00
|
|
|
background: var(--color-result-vim-arrow);
|
2021-10-29 18:57:36 +02:00
|
|
|
border: none;
|
|
|
|
.rounded-corners;
|
2021-10-02 11:57:08 +02:00
|
|
|
|
|
|
|
.image_thumbnail {
|
|
|
|
filter: opacity(60%);
|
|
|
|
}
|
2022-02-21 22:18:48 +01:00
|
|
|
|
2022-04-06 15:07:05 +02:00
|
|
|
span.title,
|
|
|
|
span.source {
|
2022-02-21 22:18:48 +01:00
|
|
|
color: var(--color-result-image-span-font-selected);
|
|
|
|
}
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2021-11-03 21:58:07 +01:00
|
|
|
article[data-vim-selected].category-videos,
|
|
|
|
article[data-vim-selected].category-news,
|
|
|
|
article[data-vim-selected].category-map,
|
|
|
|
article[data-vim-selected].category-music,
|
|
|
|
article[data-vim-selected].category-files,
|
|
|
|
article[data-vim-selected].category-social {
|
|
|
|
border: 1px solid var(--color-result-vim-arrow);
|
|
|
|
.rounded-corners;
|
|
|
|
}
|
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
.result {
|
2021-10-06 20:12:51 +02:00
|
|
|
margin: @results-margin 0;
|
2021-10-29 18:57:36 +02:00
|
|
|
padding: @result-padding;
|
2024-10-07 09:55:39 +02:00
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-border-left(0.2rem solid transparent);
|
2017-02-12 15:06:01 +01:00
|
|
|
|
|
|
|
h3 {
|
2021-11-21 21:38:00 +01:00
|
|
|
font-size: 1.2rem;
|
2021-06-22 13:50:06 +02:00
|
|
|
word-wrap: break-word;
|
2021-10-28 16:14:34 +02:00
|
|
|
margin: 0.4rem 0 0.4rem 0;
|
2017-02-12 15:06:01 +01:00
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
a {
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-result-link-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
font-weight: normal;
|
|
|
|
font-size: 1.1em;
|
|
|
|
|
|
|
|
&:visited {
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-result-link-visited-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
&:focus,
|
|
|
|
&:hover {
|
2017-02-12 15:06:01 +01:00
|
|
|
text-decoration: underline;
|
|
|
|
border: none;
|
2021-06-22 13:50:06 +02:00
|
|
|
outline: none;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
.cache_link,
|
|
|
|
.proxyfied_link {
|
2024-01-29 19:01:20 +01:00
|
|
|
font-size: smaller !important;
|
2024-01-29 19:03:14 +01:00
|
|
|
margin-left: 0.5rem;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
.content,
|
2022-02-08 17:45:18 +01:00
|
|
|
.stat {
|
2017-02-12 15:06:01 +01:00
|
|
|
font-size: 0.9em;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
max-width: 54em;
|
2021-06-22 13:50:06 +02:00
|
|
|
word-wrap: break-word;
|
2017-02-12 15:06:01 +01:00
|
|
|
line-height: 1.24;
|
|
|
|
|
|
|
|
.highlight {
|
2021-10-06 20:12:51 +02:00
|
|
|
color: var(--color-result-description-highlight-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
background: inherit;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-08 17:45:18 +01:00
|
|
|
.altlink a {
|
|
|
|
font-size: 0.9em;
|
|
|
|
margin: 0 10px 0 0;
|
|
|
|
.show-content-button;
|
|
|
|
}
|
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
.codelines {
|
|
|
|
.highlight {
|
|
|
|
color: inherit;
|
|
|
|
background: inherit;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-02 18:06:29 +02:00
|
|
|
.url_header {
|
|
|
|
display: flex;
|
|
|
|
gap: 0.5rem;
|
|
|
|
}
|
|
|
|
|
2021-11-21 21:38:00 +01:00
|
|
|
.url_wrapper {
|
|
|
|
display: flex;
|
2024-08-11 10:39:46 +02:00
|
|
|
align-items: center;
|
2021-11-21 21:38:00 +01:00
|
|
|
font-size: 1rem;
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-result-url-font);
|
2021-11-21 21:38:00 +01:00
|
|
|
flex-wrap: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
flex-direction: row;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.url_o1 {
|
|
|
|
white-space: nowrap;
|
|
|
|
flex-shrink: 1;
|
2024-06-20 15:23:21 +02:00
|
|
|
padding-bottom: 1px;
|
2021-11-21 21:38:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.url_o1::after {
|
|
|
|
content: " ";
|
|
|
|
width: 1ch;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.url_o2 {
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
flex-basis: content;
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 1;
|
|
|
|
text-align: right;
|
2024-06-20 15:23:21 +02:00
|
|
|
padding-bottom: 1px;
|
2021-11-21 21:38:00 +01:00
|
|
|
|
|
|
|
.url_i2 {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2022-04-19 09:32:51 +02:00
|
|
|
.published_date,
|
|
|
|
.result_length,
|
2024-07-20 21:27:12 +02:00
|
|
|
.result_views,
|
2022-05-11 00:03:21 +02:00
|
|
|
.result_author,
|
|
|
|
.result_shipping,
|
|
|
|
.result_source_country {
|
2017-02-12 15:06:01 +01:00
|
|
|
font-size: 0.8em;
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-result-publishdate-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2022-05-11 00:03:21 +02:00
|
|
|
.result_price {
|
|
|
|
font-size: 1.2em;
|
|
|
|
color: var(--color-result-description-highlight-font);
|
|
|
|
}
|
|
|
|
|
2024-05-12 17:52:52 +02:00
|
|
|
img.thumbnail {
|
|
|
|
.ltr-float-left();
|
|
|
|
padding-top: 0.6rem;
|
|
|
|
.ltr-padding-right(1rem);
|
|
|
|
width: 7rem;
|
|
|
|
height: unset; // remove heigth value that was needed for lazy loading
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.break {
|
2021-06-22 13:50:06 +02:00
|
|
|
clear: both;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-02-19 20:22:21 +01:00
|
|
|
.result-paper,
|
|
|
|
.result-packages {
|
2022-08-26 18:07:18 +02:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-02-19 20:22:21 +01:00
|
|
|
.result-packages {
|
|
|
|
.attributes {
|
|
|
|
margin-top: 0.3rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-21 22:18:48 +01:00
|
|
|
.template_group_images {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.template_group_images::after {
|
|
|
|
flex-grow: 10;
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
|
2021-11-03 21:58:07 +01:00
|
|
|
.category-videos,
|
|
|
|
.category-news,
|
|
|
|
.category-map,
|
|
|
|
.category-music,
|
|
|
|
.category-files,
|
|
|
|
.category-social {
|
|
|
|
border: 1px solid var(--color-result-border);
|
2023-01-23 22:56:55 +01:00
|
|
|
margin: 0 @results-tablet-offset 1rem @results-tablet-offset !important;
|
2021-11-03 21:58:07 +01:00
|
|
|
.rounded-corners;
|
|
|
|
}
|
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
.category-social .image {
|
|
|
|
width: auto !important;
|
|
|
|
min-width: 48px;
|
|
|
|
min-height: 48px;
|
|
|
|
padding: 0 5px 25px 0 !important;
|
|
|
|
}
|
|
|
|
|
2022-02-07 21:59:21 +01:00
|
|
|
.audio-control audio {
|
|
|
|
width: 100%;
|
|
|
|
padding: 10px 0 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.embedded-content iframe {
|
|
|
|
width: 100%;
|
|
|
|
padding: 10px 0 0 0;
|
|
|
|
}
|
|
|
|
|
2024-05-12 17:52:52 +02:00
|
|
|
.result-videos {
|
|
|
|
img.thumbnail {
|
|
|
|
.ltr-float-left();
|
|
|
|
padding-top: 0.6rem;
|
|
|
|
.ltr-padding-right(1rem);
|
|
|
|
width: 20rem;
|
|
|
|
height: unset; // remove heigth value that was needed for lazy loading
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
.result-videos .content {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2022-02-07 16:16:57 +01:00
|
|
|
.result-videos .embedded-video iframe {
|
|
|
|
width: 100%;
|
|
|
|
aspect-ratio: 16 / 9;
|
|
|
|
padding: 10px 0 0 0;
|
|
|
|
}
|
|
|
|
|
2022-02-13 14:10:49 +01:00
|
|
|
@supports not (aspect-ratio: 1 / 1) {
|
|
|
|
// support older browsers which do not have aspect-ratio
|
|
|
|
// https://caniuse.com/?search=aspect-ratio
|
|
|
|
.result-videos .embedded-video iframe {
|
|
|
|
height: calc(@results-width * 9 / 16);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
.engines {
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-float-right();
|
2022-12-31 23:34:29 +01:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: flex-end;
|
2021-10-08 16:06:48 +02:00
|
|
|
color: var(--color-result-engines-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
|
|
|
|
span {
|
|
|
|
font-size: smaller;
|
2022-01-13 21:36:08 +01:00
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
.ltr-margin-right(0.5rem);
|
|
|
|
.ltr-margin-left(0);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.small_font {
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.highlight {
|
2021-10-06 20:12:51 +02:00
|
|
|
color: var(--color-result-link-font-highlight);
|
2017-02-12 15:06:01 +01:00
|
|
|
background: inherit;
|
|
|
|
}
|
|
|
|
|
2021-11-23 13:45:58 +01:00
|
|
|
.empty_element {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
.result-images {
|
2022-02-21 22:18:48 +01:00
|
|
|
flex-grow: 1;
|
2022-04-06 15:07:05 +02:00
|
|
|
padding: 0.5rem 0.5rem 3rem 0.5rem;
|
2022-02-21 22:18:48 +01:00
|
|
|
margin: 0.25rem;
|
2021-11-03 21:58:07 +01:00
|
|
|
border: none !important;
|
2022-02-21 22:18:48 +01:00
|
|
|
height: @results-image-row-height;
|
|
|
|
|
|
|
|
& > a {
|
|
|
|
position: relative;
|
2023-11-22 21:29:32 +01:00
|
|
|
outline: none;
|
2022-02-21 22:18:48 +01:00
|
|
|
}
|
2017-02-12 15:06:01 +01:00
|
|
|
|
|
|
|
img {
|
2022-02-21 22:18:48 +01:00
|
|
|
margin: 0;
|
2017-02-12 15:06:01 +01:00
|
|
|
padding: 0;
|
|
|
|
border: none;
|
2022-02-21 22:18:48 +01:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
vertical-align: bottom;
|
2021-10-06 20:12:51 +02:00
|
|
|
background: var(--color-result-image-background);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2024-02-21 19:05:54 +01:00
|
|
|
.image_resolution {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2024-10-02 16:34:49 +02:00
|
|
|
background: var(--color-image-resolution-background);
|
2024-02-21 19:05:54 +01:00
|
|
|
padding: 0.3rem 0.5rem;
|
|
|
|
font-size: 0.9rem;
|
2024-10-02 16:34:49 +02:00
|
|
|
color: var(--color-image-resolution-font);
|
2024-02-21 19:05:54 +01:00
|
|
|
border-top-left-radius: 0.3rem;
|
|
|
|
}
|
|
|
|
|
2022-04-06 15:07:05 +02:00
|
|
|
span.title,
|
|
|
|
span.source {
|
2017-02-12 15:06:01 +01:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
2022-02-21 22:18:48 +01:00
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
font-size: 0.9rem;
|
|
|
|
color: var(--color-result-image-span-font);
|
|
|
|
padding: 0.5rem 0 0 0;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
2022-04-06 15:07:05 +02:00
|
|
|
|
|
|
|
span.source {
|
|
|
|
padding: 1.8rem 0 0 0;
|
|
|
|
font-size: 0.7rem;
|
|
|
|
}
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2021-06-04 09:35:26 +02:00
|
|
|
.result-map {
|
|
|
|
img.image {
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-float-right() !important;
|
2021-06-04 09:35:26 +02:00
|
|
|
height: 100px !important;
|
|
|
|
width: auto !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
2021-06-22 13:50:06 +02:00
|
|
|
font-size: 0.9em;
|
2021-06-04 09:35:26 +02:00
|
|
|
width: auto;
|
|
|
|
border-collapse: separate;
|
|
|
|
border-spacing: 0 0.35rem;
|
|
|
|
|
|
|
|
th {
|
|
|
|
font-weight: inherit;
|
|
|
|
width: 17rem;
|
|
|
|
vertical-align: top;
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-text-align-left();
|
2021-06-04 09:35:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
vertical-align: top;
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-text-align-left();
|
2021-06-04 09:35:26 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-09 17:33:41 +02:00
|
|
|
.hidden {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
#results {
|
2022-01-13 21:36:08 +01:00
|
|
|
margin-top: 1rem;
|
|
|
|
.ltr-margin-right(2rem);
|
|
|
|
margin-bottom: 0;
|
|
|
|
.ltr-margin-left(@results-offset);
|
2021-06-25 11:31:14 +02:00
|
|
|
display: grid;
|
2022-06-03 14:10:48 +02:00
|
|
|
grid-template-columns: @results-width @results-sidebar-width;
|
2021-09-25 15:59:10 +02:00
|
|
|
grid-template-rows: min-content min-content 1fr min-content;
|
|
|
|
gap: 0 @results-gap;
|
2021-06-25 11:31:14 +02:00
|
|
|
grid-template-areas:
|
2021-09-26 13:01:22 +02:00
|
|
|
"corrections sidebar"
|
2021-06-25 11:31:14 +02:00
|
|
|
"answers sidebar"
|
|
|
|
"urls sidebar"
|
|
|
|
"pagination sidebar";
|
|
|
|
}
|
|
|
|
|
2023-09-10 21:31:34 +02:00
|
|
|
#results #sidebar *:first-child {
|
2021-06-25 11:31:14 +02:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urls {
|
2017-02-12 15:06:01 +01:00
|
|
|
padding: 0;
|
2021-06-25 11:31:14 +02:00
|
|
|
grid-area: urls;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2023-05-28 00:37:25 +02:00
|
|
|
#apis .wrapper {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
#suggestions {
|
|
|
|
.wrapper {
|
|
|
|
display: flex;
|
2023-01-08 17:44:58 +01:00
|
|
|
flex-flow: column;
|
2017-02-12 15:06:01 +01:00
|
|
|
justify-content: flex-end;
|
|
|
|
|
|
|
|
form {
|
|
|
|
display: inline-block;
|
|
|
|
flex: 1 1 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
#suggestions,
|
2021-11-03 23:59:50 +01:00
|
|
|
#infoboxes {
|
2017-02-12 15:06:01 +01:00
|
|
|
input {
|
|
|
|
padding: 0;
|
|
|
|
margin: 3px;
|
|
|
|
font-size: 0.9em;
|
|
|
|
display: inline-block;
|
|
|
|
background: transparent;
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-result-search-url-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
cursor: pointer;
|
2023-01-08 17:44:58 +01:00
|
|
|
width: calc(100%);
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
text-align: left;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
input[type="submit"],
|
|
|
|
.infobox .url a {
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-result-link-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
text-decoration: none;
|
|
|
|
font-size: 0.9rem;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#corrections {
|
2021-09-26 13:01:22 +02:00
|
|
|
grid-area: corrections;
|
2017-02-12 15:06:01 +01:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
2021-09-26 13:01:22 +02:00
|
|
|
margin: 0 0 1em 0;
|
2017-02-12 15:06:01 +01:00
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
h4,
|
|
|
|
input[type="submit"] {
|
2017-02-12 15:06:01 +01:00
|
|
|
display: inline-block;
|
2021-11-03 23:59:50 +01:00
|
|
|
padding: 0.5rem;
|
|
|
|
margin: 0.5rem;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2021-11-03 23:59:50 +01:00
|
|
|
input[type="submit"] {
|
|
|
|
font-size: 0.8rem;
|
|
|
|
.rounded-corners-tiny;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-23 13:19:21 +02:00
|
|
|
#infoboxes .title,
|
2021-06-22 13:50:06 +02:00
|
|
|
#suggestions .title,
|
|
|
|
#search_url .title,
|
2023-04-23 13:19:21 +02:00
|
|
|
#engines_msg .title,
|
2021-06-22 13:50:06 +02:00
|
|
|
#apis .title {
|
2017-02-12 15:06:01 +01:00
|
|
|
margin: 2em 0 0.5em 0;
|
2021-10-06 20:12:51 +02:00
|
|
|
color: var(--color-base-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2023-05-28 00:37:25 +02:00
|
|
|
summary.title {
|
|
|
|
cursor: pointer;
|
|
|
|
padding-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar-collapsable {
|
|
|
|
border-top: 1px solid var(--color-sidebar-border);
|
|
|
|
padding-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar-end-collapsable {
|
|
|
|
border-bottom: 1px solid var(--color-sidebar-border);
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
#answers {
|
2021-06-25 11:31:14 +02:00
|
|
|
grid-area: answers;
|
2021-11-01 17:20:52 +01:00
|
|
|
background: var(--color-answer-background);
|
2021-11-03 23:59:50 +01:00
|
|
|
padding: @result-padding;
|
2021-11-13 00:51:26 +01:00
|
|
|
margin: 1rem 0;
|
2021-11-03 23:59:50 +01:00
|
|
|
margin-top: 0;
|
2021-10-08 16:06:48 +02:00
|
|
|
color: var(--color-answer-font);
|
2021-10-06 20:12:51 +02:00
|
|
|
.rounded-corners;
|
2017-02-12 15:06:01 +01:00
|
|
|
|
|
|
|
h4 {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-03-28 21:29:13 +02:00
|
|
|
|
|
|
|
span {
|
|
|
|
overflow-wrap: anywhere;
|
|
|
|
}
|
2023-08-08 18:12:07 +02:00
|
|
|
|
|
|
|
.answer {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.answer-url {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-right: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
#infoboxes {
|
2017-02-12 15:06:01 +01:00
|
|
|
form {
|
|
|
|
min-width: 210px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar {
|
2021-06-25 11:31:14 +02:00
|
|
|
grid-area: sidebar;
|
2017-02-12 15:06:01 +01:00
|
|
|
word-wrap: break-word;
|
2021-10-08 16:06:48 +02:00
|
|
|
color: var(--color-sidebar-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
|
|
|
|
.infobox {
|
|
|
|
margin: 10px 0 10px;
|
2021-10-08 16:06:48 +02:00
|
|
|
border: 1px solid var(--color-sidebar-border);
|
2021-10-29 18:57:36 +02:00
|
|
|
padding: 1rem;
|
2017-02-12 15:06:01 +01:00
|
|
|
font-size: 0.9em;
|
2021-10-06 20:12:51 +02:00
|
|
|
.rounded-corners;
|
2017-02-12 15:06:01 +01:00
|
|
|
|
|
|
|
h2 {
|
2021-06-22 13:50:06 +02:00
|
|
|
margin: 0 0 0.5em 0;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 12em;
|
|
|
|
display: block;
|
2021-10-30 12:05:36 +02:00
|
|
|
margin: 0 auto;
|
2017-02-12 15:06:01 +01:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
dt {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2022-07-04 17:05:33 +02:00
|
|
|
.attributes {
|
|
|
|
dl {
|
|
|
|
margin: 0.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
dt {
|
|
|
|
display: inline;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
.ltr-margin-right(0.25em);
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
.ltr-margin-left(0);
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
dd {
|
|
|
|
display: inline;
|
|
|
|
margin: 0.5em 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
br {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
.attributes,
|
|
|
|
.urls {
|
2017-02-12 15:06:01 +01:00
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-23 13:19:21 +02:00
|
|
|
#apis {
|
|
|
|
input {
|
|
|
|
font-size: 0.9em;
|
|
|
|
margin: 0 10px 0 0;
|
|
|
|
.show-content-button;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-08-22 19:14:24 +02:00
|
|
|
#engines_msg {
|
|
|
|
.engine-name {
|
|
|
|
width: 10rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.response-error {
|
|
|
|
color: var(--color-error);
|
|
|
|
}
|
|
|
|
|
|
|
|
.bar-chart-value {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
#search_url {
|
2018-08-09 16:13:50 +02:00
|
|
|
div.selectable_url {
|
2017-02-12 15:06:01 +01:00
|
|
|
pre {
|
2023-09-27 16:19:35 +02:00
|
|
|
float: left;
|
2017-02-12 15:06:01 +01:00
|
|
|
width: 200em;
|
|
|
|
}
|
|
|
|
}
|
2023-09-27 16:19:35 +02:00
|
|
|
|
|
|
|
button#copy_url {
|
|
|
|
float: right;
|
|
|
|
padding: 0.4rem;
|
|
|
|
margin-left: 0.5rem;
|
|
|
|
border-radius: 0.3rem;
|
|
|
|
display: none; // will be shown by JS.
|
|
|
|
}
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2022-06-13 21:10:44 +02:00
|
|
|
#links_on_top {
|
2017-02-12 15:06:01 +01:00
|
|
|
position: absolute;
|
2023-09-10 21:31:34 +02:00
|
|
|
.ltr-right(1rem);
|
2022-06-13 21:10:44 +02:00
|
|
|
.ltr-text-align-right();
|
2023-09-10 21:31:34 +02:00
|
|
|
top: 2.7rem;
|
2017-02-12 15:06:01 +01:00
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
2022-06-13 21:10:44 +02:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
font-size: 1em;
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-search-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
|
2022-06-13 21:10:44 +02:00
|
|
|
a {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-left: 1em;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
font-size: 1.2em;
|
|
|
|
.ltr-margin-right(0.125em);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a,
|
2021-06-22 13:50:06 +02:00
|
|
|
a:link *,
|
|
|
|
a:hover *,
|
|
|
|
a:visited *,
|
|
|
|
a:active * {
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-search-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#pagination {
|
2021-06-25 11:31:14 +02:00
|
|
|
grid-area: pagination;
|
2017-02-12 15:06:01 +01:00
|
|
|
|
|
|
|
br {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-05 03:18:48 +01:00
|
|
|
.numbered_pagination {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page_number {
|
2023-01-23 22:56:55 +01:00
|
|
|
background: transparent !important;
|
2023-01-05 03:18:48 +01:00
|
|
|
color: var(--color-result-link-font) !important;
|
2023-01-23 22:56:55 +01:00
|
|
|
text-decoration: underline;
|
2023-01-05 03:18:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.page_number_current {
|
2023-01-23 22:56:55 +01:00
|
|
|
background: transparent;
|
|
|
|
color: var(--color-result-link-visited-font);
|
|
|
|
border: none;
|
2023-01-05 03:18:48 +01:00
|
|
|
}
|
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
#backToTop {
|
2021-10-08 16:06:48 +02:00
|
|
|
border: 1px solid var(--color-backtotop-border);
|
2021-09-26 13:01:22 +02:00
|
|
|
margin: 0;
|
2017-02-12 15:06:01 +01:00
|
|
|
padding: 0;
|
|
|
|
font-size: 1em;
|
2021-10-08 16:06:48 +02:00
|
|
|
background: var(--color-backtotop-background);
|
2017-02-12 15:06:01 +01:00
|
|
|
position: fixed;
|
2021-09-26 13:01:22 +02:00
|
|
|
bottom: 8rem;
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-left(@results-width + @results-offset + (0.5 * @results-gap - 1.2em));
|
2017-02-12 15:06:01 +01:00
|
|
|
transition: opacity 0.5s;
|
|
|
|
opacity: 0;
|
2023-06-30 13:20:10 +02:00
|
|
|
pointer-events: none;
|
2021-10-06 20:12:51 +02:00
|
|
|
.rounded-corners;
|
2017-02-12 15:06:01 +01:00
|
|
|
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
2021-10-06 20:12:51 +02:00
|
|
|
padding: 0.7em;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
2021-10-30 20:43:40 +02:00
|
|
|
|
|
|
|
a,
|
|
|
|
a:visited,
|
|
|
|
a:hover,
|
|
|
|
a:active {
|
|
|
|
color: var(--color-backtotop-font);
|
|
|
|
}
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2021-10-02 11:57:08 +02:00
|
|
|
#results.scrolling #backToTop {
|
|
|
|
opacity: 1;
|
2023-06-30 13:20:10 +02:00
|
|
|
pointer-events: all;
|
2021-10-02 11:57:08 +02:00
|
|
|
}
|
|
|
|
|
2022-06-03 14:10:48 +02:00
|
|
|
/*
|
|
|
|
tablet layout
|
|
|
|
*/
|
|
|
|
|
|
|
|
.results-tablet() {
|
2022-06-13 21:10:44 +02:00
|
|
|
#links_on_top {
|
|
|
|
span {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-06-05 23:03:26 +02:00
|
|
|
.page_with_header {
|
|
|
|
margin: 2rem 0.5rem;
|
|
|
|
width: auto;
|
|
|
|
}
|
2017-02-12 15:06:01 +01:00
|
|
|
|
2022-06-05 23:03:26 +02:00
|
|
|
#infoboxes {
|
|
|
|
position: inherit;
|
|
|
|
max-width: inherit;
|
2017-02-12 15:06:01 +01:00
|
|
|
|
2022-06-05 23:03:26 +02:00
|
|
|
.infobox {
|
|
|
|
clear: both;
|
2017-02-12 15:06:01 +01:00
|
|
|
|
2022-06-05 23:03:26 +02:00
|
|
|
img {
|
|
|
|
.ltr-float-left();
|
|
|
|
max-width: 10em;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
.ltr-margin-right(0.5em);
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
.ltr-margin-left(0);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
}
|
2022-06-05 23:03:26 +02:00
|
|
|
}
|
2017-02-12 15:06:01 +01:00
|
|
|
|
2022-06-05 23:03:26 +02:00
|
|
|
#sidebar {
|
|
|
|
margin: 0 @results-tablet-offset @results-margin @results-tablet-offset;
|
|
|
|
padding: 0;
|
|
|
|
float: none;
|
|
|
|
border: none;
|
|
|
|
width: auto;
|
2017-02-12 15:06:01 +01:00
|
|
|
|
2022-06-05 23:03:26 +02:00
|
|
|
input {
|
|
|
|
border: 0;
|
2022-06-03 14:10:48 +02:00
|
|
|
}
|
2022-06-05 23:03:26 +02:00
|
|
|
}
|
2017-02-12 15:06:01 +01:00
|
|
|
|
2022-06-05 23:03:26 +02:00
|
|
|
.result {
|
|
|
|
.thumbnail {
|
|
|
|
max-width: 98%;
|
|
|
|
}
|
2017-02-12 15:06:01 +01:00
|
|
|
|
2022-06-05 23:03:26 +02:00
|
|
|
.url {
|
|
|
|
span.url {
|
|
|
|
display: block;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
width: 100%;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-06-05 23:03:26 +02:00
|
|
|
.engines {
|
|
|
|
.ltr-float-right();
|
2022-12-31 23:34:29 +01:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: flex-end;
|
2024-01-31 07:46:18 +01:00
|
|
|
padding: 3px 0 0 0;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
2022-06-05 23:03:26 +02:00
|
|
|
}
|
2017-02-12 15:06:01 +01:00
|
|
|
|
2022-06-05 23:03:26 +02:00
|
|
|
.result-images {
|
|
|
|
border-bottom: none !important;
|
|
|
|
}
|
2017-02-12 15:06:01 +01:00
|
|
|
|
2022-06-05 23:03:26 +02:00
|
|
|
.image_result {
|
|
|
|
max-width: 98%;
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2022-06-05 23:03:26 +02:00
|
|
|
img {
|
|
|
|
max-width: 98%;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
2022-06-05 23:03:26 +02:00
|
|
|
}
|
2021-09-25 15:59:10 +02:00
|
|
|
|
2022-06-05 23:03:26 +02:00
|
|
|
#backToTop {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-09-26 13:01:22 +02:00
|
|
|
|
2022-06-05 23:03:26 +02:00
|
|
|
#pagination {
|
|
|
|
margin: 2rem 0 0 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main_results div#results {
|
2023-09-10 21:31:34 +02:00
|
|
|
margin: 0 auto;
|
2022-06-05 23:03:26 +02:00
|
|
|
justify-content: center;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: @results-width;
|
|
|
|
grid-template-rows: min-content min-content min-content 1fr min-content min-content;
|
|
|
|
gap: 0;
|
|
|
|
grid-template-areas:
|
|
|
|
"corrections"
|
|
|
|
"answers"
|
|
|
|
"sidebar"
|
|
|
|
"urls"
|
|
|
|
"pagination";
|
2021-09-25 17:44:54 +02:00
|
|
|
}
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2022-06-13 21:10:44 +02:00
|
|
|
@media screen and (max-width: calc(@tablet - 0.5px)) {
|
|
|
|
#links_on_top {
|
|
|
|
span {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 52rem) {
|
|
|
|
body.results_endpoint {
|
|
|
|
#links_on_top {
|
|
|
|
.link_on_top_about,
|
|
|
|
.link_on_top_donate {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-06-03 14:10:48 +02:00
|
|
|
@media screen and (min-width: @phone) and (max-width: @tablet) {
|
|
|
|
// when .center-aligment-yes, see style-center.less
|
|
|
|
// the media query includes "min-width: @phone"
|
|
|
|
// because the phone layout includes the tablet layout unconditionally.
|
|
|
|
.center-aligment-no {
|
|
|
|
.results-tablet();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Misc */
|
|
|
|
|
2018-08-09 16:13:50 +02:00
|
|
|
#main_results div#results.only_template_images {
|
2021-11-21 21:38:00 +01:00
|
|
|
margin: 1rem @results-tablet-offset 0 @results-tablet-offset;
|
2021-06-25 11:31:14 +02:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 100%;
|
2022-01-23 11:37:57 +01:00
|
|
|
grid-template-rows: min-content min-content min-content 1fr min-content;
|
2021-09-25 15:59:10 +02:00
|
|
|
gap: 0;
|
2021-06-25 11:31:14 +02:00
|
|
|
grid-template-areas:
|
2021-09-26 13:01:22 +02:00
|
|
|
"corrections"
|
|
|
|
"answers"
|
2021-06-25 11:31:14 +02:00
|
|
|
"sidebar"
|
2022-01-23 11:37:57 +01:00
|
|
|
"urls"
|
2021-06-25 11:31:14 +02:00
|
|
|
"pagination";
|
2018-08-09 16:13:50 +02:00
|
|
|
|
2022-01-23 11:37:57 +01:00
|
|
|
#sidebar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
#urls {
|
2021-09-25 15:59:10 +02:00
|
|
|
margin: 0;
|
2022-02-21 22:18:48 +01:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
#urls::after {
|
|
|
|
flex-grow: 10;
|
|
|
|
content: "";
|
2021-06-22 13:50:06 +02:00
|
|
|
}
|
2021-09-27 13:46:40 +02:00
|
|
|
|
|
|
|
#backToTop {
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-left(auto);
|
|
|
|
.ltr-right(1rem);
|
2021-09-27 13:46:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#pagination {
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-margin-right(4rem);
|
2021-09-27 13:46:40 +02:00
|
|
|
}
|
2021-06-25 11:31:14 +02:00
|
|
|
}
|
2018-08-09 16:13:50 +02:00
|
|
|
|
2022-06-03 14:10:48 +02:00
|
|
|
/*
|
|
|
|
phone layout
|
|
|
|
*/
|
|
|
|
|
2021-10-18 21:57:32 +02:00
|
|
|
@media screen and (max-width: @phone) {
|
2022-06-03 14:10:48 +02:00
|
|
|
// based on the tablet layout
|
|
|
|
.results-tablet();
|
|
|
|
|
2022-03-30 17:09:40 +02:00
|
|
|
html {
|
|
|
|
background-color: var(--color-base-background-mobile);
|
|
|
|
}
|
|
|
|
|
2021-09-25 15:59:10 +02:00
|
|
|
#main_results div#results {
|
|
|
|
grid-template-columns: 100%;
|
2023-09-10 21:31:34 +02:00
|
|
|
margin: 0 auto;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2022-06-13 21:10:44 +02:00
|
|
|
#links_on_top {
|
2023-09-10 21:31:34 +02:00
|
|
|
top: 1.4rem;
|
|
|
|
.ltr-right(10px);
|
2021-11-06 18:04:17 +01:00
|
|
|
}
|
|
|
|
|
2022-06-13 21:10:44 +02:00
|
|
|
#main_index #links_on_top {
|
2021-11-06 18:04:17 +01:00
|
|
|
top: 0.5rem;
|
2022-01-13 21:36:08 +01:00
|
|
|
.ltr-right(0.5rem);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#results {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2021-09-26 13:01:22 +02:00
|
|
|
#pagination {
|
2021-09-27 13:46:40 +02:00
|
|
|
margin: 2rem 1rem 0 1rem !important;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2021-11-03 21:58:07 +01:00
|
|
|
article[data-vim-selected] {
|
|
|
|
border: 1px solid var(--color-result-vim-arrow);
|
2021-10-08 16:06:48 +02:00
|
|
|
.rounded-corners;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2021-11-03 21:58:07 +01:00
|
|
|
.result {
|
2022-03-30 17:09:40 +02:00
|
|
|
background: var(--color-result-background);
|
2023-09-10 21:31:34 +02:00
|
|
|
border: 1px solid var(--color-result-background);
|
2024-10-07 09:55:39 +02:00
|
|
|
margin: 1rem 2%;
|
|
|
|
width: 96%;
|
2023-09-10 21:31:34 +02:00
|
|
|
.rounded-corners;
|
2021-10-29 18:57:36 +02:00
|
|
|
}
|
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
.result-images {
|
|
|
|
margin: 0;
|
2022-02-21 22:18:48 +01:00
|
|
|
height: @results-image-row-height-phone;
|
2022-03-30 17:09:40 +02:00
|
|
|
background: var(--color-base-background-mobile);
|
|
|
|
}
|
|
|
|
|
|
|
|
.infobox {
|
|
|
|
border: none !important;
|
|
|
|
background-color: var(--color-sidebar-background);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
2022-08-26 18:07:18 +02:00
|
|
|
|
2023-01-23 22:56:55 +01:00
|
|
|
.numbered_pagination {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2024-02-19 20:22:21 +01:00
|
|
|
.result-paper,
|
|
|
|
.result-packages {
|
2022-08-26 18:07:18 +02:00
|
|
|
.attributes {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
div {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
span {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
span:first-child {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
span:nth-child(2) {
|
|
|
|
.ltr-margin-left(0.5rem);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2022-06-03 14:10:48 +02:00
|
|
|
/*
|
|
|
|
small-phone layout
|
|
|
|
*/
|
|
|
|
|
2021-10-18 21:57:32 +02:00
|
|
|
@media screen and (max-width: @small-phone) {
|
2017-02-12 15:06:01 +01:00
|
|
|
.result-videos {
|
|
|
|
img.thumbnail {
|
|
|
|
float: none !important;
|
|
|
|
}
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
.content {
|
|
|
|
overflow: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-06-04 23:22:44 +02:00
|
|
|
|
|
|
|
pre code {
|
2021-06-22 13:50:06 +02:00
|
|
|
white-space: pre-wrap;
|
2020-06-04 23:22:44 +02:00
|
|
|
}
|