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-04-28 16:07:21 +02:00
|
|
|
@import "../../__common__/less/new_issue.less";
|
2021-05-16 13:16:44 +02:00
|
|
|
@import "../../__common__/less/stats.less";
|
2021-09-05 16:58:56 +02:00
|
|
|
@import "../../__common__/less/result_templates.less";
|
2021-06-17 17:39:44 +02:00
|
|
|
@import (inline) "../../node_modules/normalize.css/normalize.css";
|
2021-06-18 17:33:56 +02:00
|
|
|
@import "../generated/ion.less";
|
2017-02-12 15:06:01 +01:00
|
|
|
@import "definitions.less";
|
|
|
|
@import "mixins.less";
|
|
|
|
@import "code.less";
|
|
|
|
@import "toolkit.less";
|
|
|
|
@import "autocomplete.less";
|
|
|
|
|
|
|
|
// for index.html template
|
|
|
|
@import "index.less";
|
|
|
|
|
|
|
|
// for preferences.html template
|
|
|
|
@import "preferences.less";
|
|
|
|
|
|
|
|
// Search-Field
|
|
|
|
@import "search.less";
|
|
|
|
|
2021-06-22 14:15:47 +02:00
|
|
|
// ion-icon
|
|
|
|
.ion-icon-big {
|
|
|
|
.ion-icon;
|
|
|
|
|
|
|
|
font-size: 149%;
|
|
|
|
}
|
|
|
|
|
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-09-28 22:41:56 +02:00
|
|
|
color: var(--color-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
#main_preferences,
|
|
|
|
#main_about,
|
|
|
|
#main_stats {
|
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-09-28 22:41:56 +02:00
|
|
|
background-color: var(--color-footer-background);
|
2021-09-30 18:12:42 +02:00
|
|
|
border-top: 1px solid var(--color-base-border);
|
2021-06-25 11:31:14 +02:00
|
|
|
overflow: hidden;
|
2017-02-12 15:06:01 +01:00
|
|
|
|
|
|
|
p {
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
#main_preferences h1,
|
|
|
|
#main_stats h1 {
|
2017-02-12 15:06:01 +01:00
|
|
|
background: url('../img/searx.png') no-repeat;
|
|
|
|
background-size: auto 75%;
|
|
|
|
min-height: 40px;
|
|
|
|
margin: 0 auto;
|
|
|
|
|
|
|
|
span {
|
2021-06-22 13:50:06 +02:00
|
|
|
visibility: hidden;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
input[type="submit"],
|
|
|
|
#results button[type="submit"] {
|
2017-02-12 15:06:01 +01:00
|
|
|
padding: 0.5rem;
|
|
|
|
display: inline-block;
|
2021-09-28 22:41:56 +02:00
|
|
|
background: var(--color-download-button-background);
|
|
|
|
color: var(--color-download-button-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);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
article[data-vim-selected]::before {
|
|
|
|
position: absolute;
|
2021-09-26 13:01:22 +02:00
|
|
|
left: (@results-offset - 2rem);
|
2017-02-12 15:06:01 +01:00
|
|
|
padding: 2px;
|
|
|
|
content: ">";
|
|
|
|
font-weight: bold;
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-base);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
article.result-images[data-vim-selected] {
|
2021-09-28 22:41:56 +02:00
|
|
|
background: var(--color-base);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
article.result-images[data-vim-selected]::before {
|
|
|
|
display: none;
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
|
|
|
|
.result {
|
|
|
|
margin: 19px 0 18px 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 1.1em;
|
2021-06-22 13:50:06 +02:00
|
|
|
word-wrap: break-word;
|
2017-02-12 15:06:01 +01:00
|
|
|
margin: 5px 0 1px 0;
|
|
|
|
padding: 0;
|
|
|
|
margin-bottom: 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;
|
|
|
|
-webkit-box-shadow: none;
|
|
|
|
box-shadow: 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 {
|
2017-02-12 15:06:01 +01:00
|
|
|
font-size: 0.9em !important;
|
|
|
|
}
|
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
.content,
|
|
|
|
.stat,
|
|
|
|
.altlink {
|
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-09-28 22:41:56 +02:00
|
|
|
color: var(--color-black);
|
2017-02-12 15:06:01 +01:00
|
|
|
background: inherit;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.codelines {
|
|
|
|
.highlight {
|
|
|
|
color: inherit;
|
|
|
|
background: inherit;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.url {
|
|
|
|
font-size: 0.9em;
|
|
|
|
margin: 0 0 3px 0;
|
|
|
|
padding: 0;
|
|
|
|
max-width: 54em;
|
2021-06-22 13:50:06 +02:00
|
|
|
word-wrap: break-word;
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-result-url-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.published_date {
|
|
|
|
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
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
&.thumbnail {
|
|
|
|
float: left;
|
|
|
|
padding: 0 5px 10px 0;
|
|
|
|
width: 20em;
|
|
|
|
min-width: 20em;
|
|
|
|
min-height: 8em;
|
2021-09-28 22:41:56 +02:00
|
|
|
// background: var(--color-base-light);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&.image {
|
|
|
|
float: left;
|
|
|
|
padding: 0 5px 10px 0;
|
|
|
|
width: 100px;
|
|
|
|
max-height: 100px;
|
|
|
|
object-fit: scale-down;
|
|
|
|
object-position: right top;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.break {
|
2021-06-22 13:50:06 +02:00
|
|
|
clear: both;
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.result-videos .content {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.engines {
|
|
|
|
float: right;
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-engines-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
|
|
|
|
span {
|
|
|
|
font-size: smaller;
|
|
|
|
margin: 0 0.5em 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.small_font {
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.highlight {
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-highlight);
|
2017-02-12 15:06:01 +01:00
|
|
|
background: inherit;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.result-images {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
position: relative;
|
|
|
|
max-height: 200px;
|
|
|
|
|
|
|
|
img {
|
|
|
|
float: inherit;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
max-height: 200px;
|
2021-09-28 22:41:56 +02:00
|
|
|
background: var(--color-base-dark);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
span a {
|
|
|
|
display: none;
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-result-image-span-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover span a {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
padding: 4px;
|
|
|
|
margin: 0 0 4px 4px;
|
2021-09-28 22:41:56 +02:00
|
|
|
background-color: var(--color-result-image-span-background-hover);
|
2017-02-12 15:06:01 +01:00
|
|
|
font-size: 0.7em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-04 09:35:26 +02:00
|
|
|
.result-map {
|
|
|
|
img.image {
|
|
|
|
float: right !important;
|
|
|
|
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;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
vertical-align: top;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-09 17:33:41 +02:00
|
|
|
.hidden {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
.torrent_result {
|
2021-09-28 22:41:56 +02:00
|
|
|
border-left: 10px solid var(--color-result-torrent-border);
|
2017-02-12 15:06:01 +01:00
|
|
|
padding-left: 3px;
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 3px;
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-result-link-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:visited {
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-result-link-visited-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#results {
|
2021-09-25 15:59:10 +02:00
|
|
|
margin: 2rem 2rem 0 @results-offset;
|
2021-06-25 11:31:14 +02:00
|
|
|
display: grid;
|
2021-09-26 13:01:22 +02:00
|
|
|
grid-template-columns: @results-width 25rem;
|
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";
|
|
|
|
}
|
|
|
|
|
|
|
|
#results #answers *:first-child,
|
|
|
|
#results #sidebar *:first-child,
|
|
|
|
#results #urls *:first-child {
|
|
|
|
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
|
|
|
}
|
|
|
|
|
|
|
|
#suggestions {
|
|
|
|
.wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
|
|
|
form {
|
|
|
|
display: inline-block;
|
|
|
|
flex: 1 1 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
#suggestions,
|
|
|
|
#answers,
|
|
|
|
#infoboxes,
|
|
|
|
#corrections {
|
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;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
margin: 0 0.5em 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="submit"]::after {
|
2021-06-22 13:50:06 +02:00
|
|
|
content: ", ";
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
#suggestions .title,
|
|
|
|
#search_url .title,
|
|
|
|
#apis .title {
|
2017-02-12 15:06:01 +01:00
|
|
|
margin: 2em 0 0.5em 0;
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#answers {
|
2021-06-25 11:31:14 +02:00
|
|
|
grid-area: answers;
|
2021-09-30 18:12:42 +02:00
|
|
|
border: 1px solid var(--color-base-border);
|
2017-02-12 15:06:01 +01:00
|
|
|
padding: 0.9em;
|
2021-09-30 18:12:42 +02:00
|
|
|
box-shadow: 0 0 5px var(--color-base-shadow);
|
2017-02-12 15:06:01 +01:00
|
|
|
|
|
|
|
h4 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.answer {
|
|
|
|
display: block;
|
|
|
|
font-size: 1.2em;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
#answers,
|
|
|
|
#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;
|
|
|
|
|
|
|
|
.infobox {
|
|
|
|
margin: 10px 0 10px;
|
2021-09-30 18:12:42 +02:00
|
|
|
border: 1px solid var(--color-base-border);
|
2017-02-12 15:06:01 +01:00
|
|
|
padding: 0.9em;
|
|
|
|
font-size: 0.9em;
|
2021-09-30 18:12:42 +02:00
|
|
|
box-shadow: 0 0 5px var(--color-base-shadow);
|
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;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
dl {
|
|
|
|
margin: 0.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
dt {
|
|
|
|
display: inline;
|
|
|
|
margin: 0.5em 0.25em 0.5em 0;
|
|
|
|
padding: 0;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
dd {
|
|
|
|
display: inline;
|
|
|
|
margin: 0.5em 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#search_url {
|
|
|
|
margin-top: 8px;
|
|
|
|
|
2018-08-09 16:13:50 +02:00
|
|
|
div.selectable_url {
|
2017-02-12 15:06:01 +01:00
|
|
|
pre {
|
|
|
|
width: 200em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#linkto_preferences {
|
|
|
|
position: absolute;
|
|
|
|
right: 10px;
|
|
|
|
top: 0.9em;
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
display: block;
|
|
|
|
font-size: 1.2em;
|
2021-09-28 22:41:56 +02:00
|
|
|
color: var(--color-search-font);
|
2017-02-12 15:06:01 +01:00
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#apis {
|
|
|
|
margin-top: 8px;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
#backToTop {
|
2021-09-30 18:12:42 +02:00
|
|
|
border: 1px solid var(--color-base-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-09-30 18:12:42 +02:00
|
|
|
box-shadow: 0 0 5px var(--color-base-shadow);
|
2017-02-12 15:06:01 +01:00
|
|
|
background: white;
|
|
|
|
position: fixed;
|
2021-09-26 13:01:22 +02:00
|
|
|
bottom: 8rem;
|
|
|
|
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;
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0.6em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-25 17:44:54 +02:00
|
|
|
@media screen and (max-width: 80em) {
|
2021-06-22 13:50:06 +02:00
|
|
|
#main_preferences,
|
|
|
|
#main_about,
|
|
|
|
#main_stats {
|
2021-09-26 13:01:22 +02:00
|
|
|
margin: 2rem 0.5rem;
|
2017-02-12 15:06:01 +01:00
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
#infoboxes {
|
|
|
|
position: inherit;
|
|
|
|
max-width: inherit;
|
|
|
|
|
|
|
|
.infobox {
|
2021-06-22 13:50:06 +02:00
|
|
|
clear: both;
|
2017-02-12 15:06:01 +01:00
|
|
|
|
|
|
|
img {
|
|
|
|
float: left;
|
|
|
|
max-width: 10em;
|
|
|
|
margin: 0.5em 0.5em 0.5em 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar {
|
|
|
|
padding: 0;
|
|
|
|
float: none;
|
|
|
|
border: none;
|
|
|
|
width: auto;
|
|
|
|
|
|
|
|
input {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#apis {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#search_url {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.result {
|
2021-09-28 22:41:56 +02:00
|
|
|
border-bottom: 1px solid var(--color-result-top-border);
|
2017-02-12 15:06:01 +01:00
|
|
|
margin: 0;
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 6px;
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin: 0 0 1px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thumbnail {
|
|
|
|
max-width: 98%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.url {
|
|
|
|
span.url {
|
|
|
|
display: block;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
float: right;
|
|
|
|
padding: 0 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.engines {
|
|
|
|
float: right;
|
|
|
|
padding: 0 0 3px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.result-images {
|
|
|
|
border-bottom: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image_result {
|
|
|
|
max-width: 98%;
|
2021-06-22 13:50:06 +02:00
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
img {
|
|
|
|
max-width: 98%;
|
|
|
|
}
|
|
|
|
}
|
2021-09-25 15:59:10 +02:00
|
|
|
|
|
|
|
#backToTop {
|
2021-09-26 13:01:22 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pagination {
|
2021-09-27 13:46:40 +02:00
|
|
|
margin: 2rem 0 0 0 !important;
|
2021-09-25 15:59:10 +02:00
|
|
|
}
|
2021-09-25 17:44:54 +02:00
|
|
|
|
|
|
|
#main_results div#results {
|
|
|
|
margin: 2rem @results-tablet-offset 0 @results-tablet-offset;
|
|
|
|
display: grid;
|
2021-09-26 13:01:22 +02:00
|
|
|
grid-template-columns: @results-width;
|
2021-09-25 17:44:54 +02:00
|
|
|
grid-template-rows: min-content min-content min-content 1fr min-content min-content;
|
|
|
|
gap: 0;
|
|
|
|
grid-template-areas:
|
2021-09-26 13:01:22 +02:00
|
|
|
"corrections"
|
2021-09-25 17:44:54 +02:00
|
|
|
"answers"
|
|
|
|
"sidebar"
|
|
|
|
"urls"
|
|
|
|
"pagination";
|
|
|
|
}
|
2021-09-26 13:01:22 +02:00
|
|
|
|
|
|
|
article[data-vim-selected]::before {
|
|
|
|
left: 0;
|
|
|
|
}
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
2018-08-09 16:13:50 +02:00
|
|
|
#main_results div#results.only_template_images {
|
2021-09-25 15:59:10 +02:00
|
|
|
margin: 2rem @results-tablet-offset 0 @results-tablet-offset;
|
2021-06-25 11:31:14 +02:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 100%;
|
|
|
|
grid-template-rows: min-content min-content 1fr min-content 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"
|
2021-06-25 11:31:14 +02:00
|
|
|
"urls"
|
2021-09-26 13:01:22 +02:00
|
|
|
"answers"
|
2021-06-25 11:31:14 +02:00
|
|
|
"sidebar"
|
|
|
|
"pagination";
|
2018-08-09 16:13:50 +02:00
|
|
|
|
2021-06-22 13:50:06 +02:00
|
|
|
#urls {
|
2021-06-25 11:31:14 +02:00
|
|
|
width: inherit;
|
2021-09-25 15:59:10 +02:00
|
|
|
margin: 0;
|
2021-06-22 13:50:06 +02:00
|
|
|
}
|
2021-09-27 13:46:40 +02:00
|
|
|
|
|
|
|
#backToTop {
|
|
|
|
left: auto;
|
|
|
|
right: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pagination {
|
|
|
|
margin-right: 4rem;
|
|
|
|
}
|
2021-06-25 11:31:14 +02:00
|
|
|
}
|
2018-08-09 16:13:50 +02:00
|
|
|
|
2021-09-25 15:59:10 +02:00
|
|
|
@media screen and (max-width: 50em) {
|
|
|
|
#main_results div#results {
|
|
|
|
grid-template-columns: 100%;
|
2021-09-25 18:29:12 +02:00
|
|
|
margin: 2rem 0 0 0;
|
2021-09-25 15:59:10 +02:00
|
|
|
}
|
2018-08-09 16:13:50 +02:00
|
|
|
|
2017-02-12 15:06:01 +01:00
|
|
|
article[data-vim-selected]::before {
|
|
|
|
display: none;
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
|
|
|
|
#linkto_preferences {
|
|
|
|
display: none;
|
2021-06-22 14:15:47 +02:00
|
|
|
position: fixed !important;
|
2017-02-12 15:06:01 +01:00
|
|
|
top: 100px;
|
2021-06-22 13:50:06 +02:00
|
|
|
right: 0;
|
2017-02-12 15:06:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar {
|
|
|
|
margin: 0 5px 2px 5px;
|
|
|
|
}
|
|
|
|
|
2021-09-26 13:01:22 +02:00
|
|
|
#corrections,
|
|
|
|
#answers {
|
|
|
|
margin: 0 5px 1em 5px;
|
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
|
|
|
}
|
|
|
|
|
|
|
|
.result {
|
|
|
|
padding: 8px 10px 6px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.result-images {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 35em) {
|
|
|
|
.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
|
|
|
}
|