Main CSS style cleanup and some fixes
This commit is contained in:
parent
b975c04102
commit
04fb53cf11
5 changed files with 158 additions and 420 deletions
|
@ -101,6 +101,15 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.search-type-icons {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Viewer Image Link */
|
/* Viewer Image Link */
|
||||||
#viewer-image-link {
|
#viewer-image-link {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -173,8 +182,8 @@
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.material-icons-round {
|
.search-type-icons {
|
||||||
font-size: 32px;
|
gap: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#viewer-image-container {
|
#viewer-image-container {
|
||||||
|
|
110
static/css/style-map.css
Normal file
110
static/css/style-map.css
Normal file
|
@ -0,0 +1,110 @@
|
||||||
|
.leaflet-control-layers-toggle {
|
||||||
|
background-color: var(--button) !important;
|
||||||
|
border: 1px solid var(--border) !important;
|
||||||
|
color: var(--fg) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leaflet-bar a,
|
||||||
|
.leaflet-bar a:hover {
|
||||||
|
background-color: var(--button) !important;
|
||||||
|
border: 1px solid var(--border) !important;
|
||||||
|
color: var(--fg) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leaflet-popup-content-wrapper,
|
||||||
|
.leaflet-popup-tip {
|
||||||
|
background: var(--html-bg) !important;
|
||||||
|
color: var(--text-color) !important;
|
||||||
|
border: 1px solid var(--border) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leaflet-popup-content-wrapper a {
|
||||||
|
color: var(--link) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leaflet-popup-content-wrapper a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Leaflet control buttons */
|
||||||
|
.leaflet-control-locate,
|
||||||
|
.leaflet-control-layers-toggle {
|
||||||
|
background-color: var(--button) !important;
|
||||||
|
border: 1px solid var(--border) !important;
|
||||||
|
color: var(--fg) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leaflet-bar a,
|
||||||
|
.leaflet-bar a:hover {
|
||||||
|
background-color: var(--button) !important;
|
||||||
|
border: 1px solid var(--border) !important;
|
||||||
|
color: var(--fg) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leaflet-popup-content-wrapper,
|
||||||
|
.leaflet-popup-tip {
|
||||||
|
background: var(--html-bg) !important;
|
||||||
|
color: var(--text-color) !important;
|
||||||
|
border: 1px solid var(--border) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leaflet-popup-content-wrapper a {
|
||||||
|
color: var(--link) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leaflet-popup-content-wrapper a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Leaflet attribution control */
|
||||||
|
.leaflet-control-attribution {
|
||||||
|
background: var(--button) !important;
|
||||||
|
border: 1px solid var(--border) !important;
|
||||||
|
color: var(--fg) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leaflet-control-attribution a {
|
||||||
|
color: var(--link) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leaflet-control-attribution a:hover {
|
||||||
|
text-decoration: underline !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Leaflet scale control */
|
||||||
|
.leaflet-control-scale {
|
||||||
|
background: var(--button) !important;
|
||||||
|
border: 1px solid var(--border) !important;
|
||||||
|
color: var(--fg) !important;
|
||||||
|
text-shadow: 1px 1px 2px var(--border) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leaflet-control-scale-line {
|
||||||
|
background: var(--button) !important;
|
||||||
|
border: 1px solid var(--border) !important;
|
||||||
|
color: var(--fg) !important;
|
||||||
|
text-shadow: 1px 1px 2px var(--border) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Ensuring dark theme compliance */
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
|
||||||
|
.leaflet-control-locate,
|
||||||
|
.leaflet-control-layers-toggle,
|
||||||
|
.leaflet-bar a,
|
||||||
|
.leaflet-bar a:hover,
|
||||||
|
.leaflet-popup-content-wrapper,
|
||||||
|
.leaflet-popup-tip,
|
||||||
|
.leaflet-control-attribution,
|
||||||
|
.leaflet-control-scale,
|
||||||
|
.leaflet-control-scale-line {
|
||||||
|
background-color: var(--button) !important;
|
||||||
|
border: 1px solid var(--border) !important;
|
||||||
|
color: var(--fg) !important;
|
||||||
|
text-shadow: 1px 1px 2px var(--background-color) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.leaflet-control-attribution a {
|
||||||
|
color: var(--link) !important;
|
||||||
|
}
|
||||||
|
}
|
|
@ -7,6 +7,7 @@
|
||||||
object-position: center;
|
object-position: center;
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-link {
|
.theme-link {
|
||||||
|
@ -34,25 +35,34 @@
|
||||||
} */
|
} */
|
||||||
|
|
||||||
.theme-tooltip {
|
.theme-tooltip {
|
||||||
display: none;
|
|
||||||
/* Hidden by default */
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 10px;
|
|
||||||
/* Position at the bottom of the image */
|
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
bottom: 14px;
|
||||||
background-color: rgba(0, 0, 0, 0.7);
|
transform: translateX(-50%) translateY(100%);
|
||||||
/* Semi-transparent background */
|
background: var(--search-bg);
|
||||||
color: #fff;
|
color: var(--font-fg);
|
||||||
padding: 5px 10px;
|
|
||||||
border-radius: 4px;
|
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
padding: 7px 14px;
|
||||||
|
border-radius: 6px;
|
||||||
|
box-shadow: 0 5px 24px 0 rgba(0,0,0,0.25);
|
||||||
|
opacity: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
z-index: 5;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
transition: opacity 0.22s cubic-bezier(.7, .1, .6, 1), transform 0.22s cubic-bezier(.7, .1, .6, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-link:hover .theme-tooltip {
|
.theme-link:hover .theme-tooltip,
|
||||||
display: block;
|
.theme-link:focus .theme-tooltip {
|
||||||
/* Show tooltip on hover */
|
opacity: 1;
|
||||||
|
transform: translateX(-50%) translateY(0);
|
||||||
|
pointer-events: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-link.show-tooltip .theme-tooltip {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateX(-50%) translateY(0);
|
||||||
|
pointer-events: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.themes-settings-menu {
|
.themes-settings-menu {
|
||||||
|
|
|
@ -28,8 +28,7 @@
|
||||||
font-feature-settings: 'liga';
|
font-feature-settings: 'liga';
|
||||||
}
|
}
|
||||||
|
|
||||||
#search-wrapper-ico,
|
#search-wrapper-ico {
|
||||||
#clearSearch {
|
|
||||||
background: none;
|
background: none;
|
||||||
border: none;
|
border: none;
|
||||||
color: var(--fg);
|
color: var(--fg);
|
||||||
|
@ -39,8 +38,7 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
#search-wrapper-ico:hover,
|
#search-wrapper-ico:hover {
|
||||||
#clearSearch:hover {
|
|
||||||
transition: all .3s ease;
|
transition: all .3s ease;
|
||||||
color: var(--font-fg);
|
color: var(--font-fg);
|
||||||
}
|
}
|
||||||
|
@ -55,11 +53,6 @@
|
||||||
margin-right: 0px;
|
margin-right: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#clearSearch {
|
|
||||||
right: 40px;
|
|
||||||
visibility: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fetched_dif_videos {
|
.fetched_dif_videos {
|
||||||
margin-top: 110px !important;
|
margin-top: 110px !important;
|
||||||
}
|
}
|
||||||
|
@ -73,11 +66,6 @@
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fetched_img {
|
|
||||||
margin-left: 1.2% !important;
|
|
||||||
left: 0px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.clean {
|
.clean {
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
max-width: 775px;
|
max-width: 775px;
|
||||||
|
@ -119,14 +107,6 @@ html {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#info_font {
|
|
||||||
font-size: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.emoji-code {
|
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* container */
|
/* container */
|
||||||
|
|
||||||
.images {
|
.images {
|
||||||
|
@ -146,32 +126,11 @@ html {
|
||||||
transition: outline 0.3s ease, transform 0.3s ease;
|
transition: outline 0.3s ease, transform 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.image_selected {
|
|
||||||
border-color: var(--search-bg);
|
|
||||||
}
|
|
||||||
|
|
||||||
.image>a {
|
.image>a {
|
||||||
position: relative;
|
position: relative;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
.image .resolution {
|
|
||||||
position: absolute;
|
|
||||||
opacity: 0;
|
|
||||||
top: calc(100% - 25px);
|
|
||||||
left: 5px;
|
|
||||||
font-size: 12px;
|
|
||||||
background-color: var(--view-image-color);
|
|
||||||
color: var(--fg);
|
|
||||||
border-radius: 4px;
|
|
||||||
height: 18px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
transition: .3s;
|
|
||||||
padding: 0 2px;
|
|
||||||
} */
|
|
||||||
|
|
||||||
.image img {
|
.image img {
|
||||||
transition: .3s;
|
transition: .3s;
|
||||||
}
|
}
|
||||||
|
@ -184,8 +143,7 @@ html {
|
||||||
box-shadow: 0 14px 28px var(--view-image-color);
|
box-shadow: 0 14px 28px var(--view-image-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.img_title,
|
.img_title {
|
||||||
.img_source {
|
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -201,11 +159,6 @@ html {
|
||||||
color: var(--blue);
|
color: var(--blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
.img_source {
|
|
||||||
padding: 1.8rem 0 0 0;
|
|
||||||
font-size: .7rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.image img {
|
.image img {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -218,11 +171,6 @@ html {
|
||||||
border: 1px solid var(--border);
|
border: 1px solid var(--border);
|
||||||
}
|
}
|
||||||
|
|
||||||
.image_selected {
|
|
||||||
outline: 1px solid var(--border);
|
|
||||||
transform: scale(1.05);
|
|
||||||
}
|
|
||||||
|
|
||||||
.image>a {
|
.image>a {
|
||||||
position: relative;
|
position: relative;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -296,58 +244,6 @@ html {
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
.view-image {
|
|
||||||
background-color: var(--view-image-color);
|
|
||||||
width: 100%;
|
|
||||||
height: auto;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.view-image img {
|
|
||||||
max-width: 100%;
|
|
||||||
max-height: 427px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.image_view a {
|
|
||||||
text-decoration: none;
|
|
||||||
color: var(--link);
|
|
||||||
font-size: 14px;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.image_view a:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
.image_view p {
|
|
||||||
margin-left: 20px;
|
|
||||||
margin-right: 20px;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.image_view a {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
hr {
|
|
||||||
border: 0;
|
|
||||||
border-top: 1px solid var(--border);
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.image_hide {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.image_show {
|
|
||||||
display: block !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.icon_visibility {
|
.icon_visibility {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
@ -488,11 +384,7 @@ this is so stupid, separate css into general style and per result page css style
|
||||||
}
|
}
|
||||||
|
|
||||||
#theme,
|
#theme,
|
||||||
#safe,
|
#safe {
|
||||||
#open-new-tab,
|
|
||||||
#domain,
|
|
||||||
#javascript-setting,
|
|
||||||
#ux_lang {
|
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
|
@ -505,26 +397,11 @@ this is so stupid, separate css into general style and per result page css style
|
||||||
}
|
}
|
||||||
|
|
||||||
#theme:hover,
|
#theme:hover,
|
||||||
#safe:hover,
|
#safe:hover {
|
||||||
#open-new-tab:hover,
|
|
||||||
#domain:hover,
|
|
||||||
#javascript-setting:hover,
|
|
||||||
#ux_lang:hover {
|
|
||||||
border: 1px solid #5f6368;
|
border: 1px solid #5f6368;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.domain {
|
|
||||||
margin-top: 10px;
|
|
||||||
border: 1px solid var(--button);
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 6px;
|
|
||||||
font-size: 15px;
|
|
||||||
color: var(--font-fg);
|
|
||||||
width: 90%;
|
|
||||||
background: var(--button);
|
|
||||||
}
|
|
||||||
|
|
||||||
.save {
|
.save {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
|
@ -542,10 +419,6 @@ this is so stupid, separate css into general style and per result page css style
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-row2 {
|
|
||||||
border-bottom: 1px solid var(--html-bg) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.font-hide {
|
.font-hide {
|
||||||
color: var(--html-bg);
|
color: var(--html-bg);
|
||||||
}
|
}
|
||||||
|
@ -586,19 +459,6 @@ this is so stupid, separate css into general style and per result page css style
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.kno_wiki {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.kno_wiki_show {
|
|
||||||
display: initial !important;
|
|
||||||
border-radius: 6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.open-in-new-tab * {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.results_settings {
|
.results_settings {
|
||||||
color: var(--fg);
|
color: var(--fg);
|
||||||
left: 175px;
|
left: 175px;
|
||||||
|
@ -656,24 +516,12 @@ form.torrent-sort {
|
||||||
transition: all .3s ease;
|
transition: all .3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-results-link {
|
|
||||||
position: absolute;
|
|
||||||
color: var(--fg);
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.settings-results-link,
|
|
||||||
.settings-icon-link {
|
.settings-icon-link {
|
||||||
color: var(--fg);
|
color: var(--fg);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-results-link {
|
|
||||||
margin-left: 24px;
|
|
||||||
display: block;
|
|
||||||
margin-top: 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wrapper-results input {
|
.wrapper-results input {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
@ -735,10 +583,6 @@ button {
|
||||||
font-family: 'Inter';
|
font-family: 'Inter';
|
||||||
}
|
}
|
||||||
|
|
||||||
.X {
|
|
||||||
color: var(--font-fg);
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-container input {
|
.search-container input {
|
||||||
width: 90%;
|
width: 90%;
|
||||||
color: var(--font-fg);
|
color: var(--font-fg);
|
||||||
|
@ -766,42 +610,6 @@ p {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.check {
|
|
||||||
display: flex;
|
|
||||||
position: relative;
|
|
||||||
left: 175px;
|
|
||||||
width: 600px;
|
|
||||||
word-wrap: break-word;
|
|
||||||
font-size: 15px;
|
|
||||||
max-width: 48em;
|
|
||||||
line-height: 1.58;
|
|
||||||
}
|
|
||||||
|
|
||||||
.check p,
|
|
||||||
.check h3 {
|
|
||||||
font-size: 16px;
|
|
||||||
margin-bottom: 2px;
|
|
||||||
margin-top: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.check p {
|
|
||||||
color: #ff7769;
|
|
||||||
}
|
|
||||||
|
|
||||||
.check a {
|
|
||||||
color: var(--link);
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.check h3 {
|
|
||||||
margin-left: 4px;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
.check a:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
.torrent h3 {
|
.torrent h3 {
|
||||||
font-size: 16px !important;
|
font-size: 16px !important;
|
||||||
}
|
}
|
||||||
|
@ -850,10 +658,6 @@ p {
|
||||||
border-top: 1px solid var(--border);
|
border-top: 1px solid var(--border);
|
||||||
}
|
}
|
||||||
|
|
||||||
#search_footer {
|
|
||||||
position: fixed;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer a,
|
.footer a,
|
||||||
.footer a:hover,
|
.footer a:hover,
|
||||||
.footer a:visited {
|
.footer a:visited {
|
||||||
|
@ -894,36 +698,6 @@ p {
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.result_sublink {
|
|
||||||
position: relative;
|
|
||||||
left: 175px;
|
|
||||||
margin-top: 10px;
|
|
||||||
max-width: 600px;
|
|
||||||
word-wrap: break-word;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sublinks {
|
|
||||||
position: relative;
|
|
||||||
left: 14px;
|
|
||||||
max-width: 600px;
|
|
||||||
word-wrap: break-word;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-button-wrapper button:hover {
|
|
||||||
border: 1px solid #5f6368;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-button-wrapper button {
|
|
||||||
color: var(--font-fg);
|
|
||||||
background-color: var(--button);
|
|
||||||
font-size: 14px;
|
|
||||||
border: 1px solid var(--border);
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 13px 10px 13px 10px;
|
|
||||||
margin: 70px 60px 0px 60px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.no-decoration {
|
.no-decoration {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: var(--font-fg);
|
color: var(--font-fg);
|
||||||
|
@ -1010,13 +784,11 @@ p {
|
||||||
color: var(--link);
|
color: var(--link);
|
||||||
}
|
}
|
||||||
|
|
||||||
.results a:visited h3,
|
.results a:visited h3 {
|
||||||
.result_sublink a:visited h3 {
|
|
||||||
color: var(--link-visited);
|
color: var(--link-visited);
|
||||||
}
|
}
|
||||||
|
|
||||||
.results h3,
|
.results h3 {
|
||||||
.result_sublink h3 {
|
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
|
@ -1025,18 +797,14 @@ p {
|
||||||
letter-spacing: -0.4px;
|
letter-spacing: -0.4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.results p,
|
.results p {
|
||||||
.result_sublink p {
|
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
color: var(--font-fg);
|
color: var(--font-fg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.results a,
|
.results a,
|
||||||
.results a:hover,
|
.results a:hover,
|
||||||
.results a:visited,
|
.results a:visited {
|
||||||
.result_sublink a,
|
|
||||||
.result_sublink a:hover,
|
|
||||||
.result_sublink a:visited {
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
/* color: #ebecf7; */
|
/* color: #ebecf7; */
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
@ -1102,96 +870,22 @@ p {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Leaflet control buttons */
|
/* Leaflet control buttons */
|
||||||
.leaflet-control-locate,
|
.leaflet-control-locate {
|
||||||
.leaflet-control-layers-toggle {
|
|
||||||
background-color: var(--button) !important;
|
background-color: var(--button) !important;
|
||||||
border: 1px solid var(--border) !important;
|
border: 1px solid var(--border) !important;
|
||||||
color: var(--fg) !important;
|
color: var(--fg) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.leaflet-bar a,
|
|
||||||
.leaflet-bar a:hover {
|
|
||||||
background-color: var(--button) !important;
|
|
||||||
border: 1px solid var(--border) !important;
|
|
||||||
color: var(--fg) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.leaflet-popup-content-wrapper,
|
|
||||||
.leaflet-popup-tip {
|
|
||||||
background: var(--html-bg) !important;
|
|
||||||
color: var(--text-color) !important;
|
|
||||||
border: 1px solid var(--border) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.leaflet-popup-content-wrapper a {
|
|
||||||
color: var(--link) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.leaflet-popup-content-wrapper a:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Leaflet control buttons */
|
/* Leaflet control buttons */
|
||||||
.leaflet-control-locate,
|
.leaflet-control-locate {
|
||||||
.leaflet-control-layers-toggle {
|
|
||||||
background-color: var(--button) !important;
|
background-color: var(--button) !important;
|
||||||
border: 1px solid var(--border) !important;
|
border: 1px solid var(--border) !important;
|
||||||
color: var(--fg) !important;
|
color: var(--fg) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.leaflet-bar a,
|
|
||||||
.leaflet-bar a:hover {
|
|
||||||
background-color: var(--button) !important;
|
|
||||||
border: 1px solid var(--border) !important;
|
|
||||||
color: var(--fg) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.leaflet-popup-content-wrapper,
|
|
||||||
.leaflet-popup-tip {
|
|
||||||
background: var(--html-bg) !important;
|
|
||||||
color: var(--text-color) !important;
|
|
||||||
border: 1px solid var(--border) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.leaflet-popup-content-wrapper a {
|
|
||||||
color: var(--link) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.leaflet-popup-content-wrapper a:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Leaflet attribution control */
|
/* Leaflet attribution control */
|
||||||
.leaflet-control-attribution {
|
|
||||||
background: var(--button) !important;
|
|
||||||
border: 1px solid var(--border) !important;
|
|
||||||
color: var(--fg) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.leaflet-control-attribution a {
|
|
||||||
color: var(--link) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.leaflet-control-attribution a:hover {
|
|
||||||
text-decoration: underline !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Leaflet scale control */
|
/* Leaflet scale control */
|
||||||
.leaflet-control-scale {
|
|
||||||
background: var(--button) !important;
|
|
||||||
border: 1px solid var(--border) !important;
|
|
||||||
color: var(--fg) !important;
|
|
||||||
text-shadow: 1px 1px 2px var(--border) !important;
|
|
||||||
/* Adjust text shadow */
|
|
||||||
}
|
|
||||||
|
|
||||||
.leaflet-control-scale-line {
|
|
||||||
background: var(--button) !important;
|
|
||||||
border: 1px solid var(--border) !important;
|
|
||||||
color: var(--fg) !important;
|
|
||||||
text-shadow: 1px 1px 2px var(--border) !important;
|
|
||||||
/* Adjust text shadow */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Favicon styling */
|
/* Favicon styling */
|
||||||
.result_header {
|
.result_header {
|
||||||
|
@ -1218,18 +912,6 @@ p {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Result link styling */
|
/* Result link styling */
|
||||||
.result-link {
|
|
||||||
color: var(--fg);
|
|
||||||
font-size: 14px;
|
|
||||||
text-decoration: none;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.result-link:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Result item spacing */
|
/* Result item spacing */
|
||||||
.result_item {
|
.result_item {
|
||||||
|
@ -1284,18 +966,6 @@ p {
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.result-domain {
|
|
||||||
color: var(--fg);
|
|
||||||
font-weight: 600;
|
|
||||||
opacity: 0.85;
|
|
||||||
}
|
|
||||||
|
|
||||||
.result-path {
|
|
||||||
color: var(--font-fg);
|
|
||||||
font-weight: 500;
|
|
||||||
opacity: 0.8;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
.result-path::before {
|
.result-path::before {
|
||||||
content: "›";
|
content: "›";
|
||||||
|
@ -1330,8 +1000,7 @@ button {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.results h3,
|
.results h3 {
|
||||||
.result_sublink h3 {
|
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1409,11 +1078,6 @@ button {
|
||||||
max-width: 92%;
|
max-width: 92%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.check {
|
|
||||||
left: 20px;
|
|
||||||
max-width: 90%;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
p {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
|
@ -1427,10 +1091,6 @@ button {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sublinks {
|
|
||||||
max-width: 90%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.results-search-container {
|
.results-search-container {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
|
@ -1443,19 +1103,6 @@ button {
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.image_view {
|
|
||||||
width: 100%;
|
|
||||||
height: 77%;
|
|
||||||
margin-top: -33px;
|
|
||||||
margin-right: 0%;
|
|
||||||
border-top-right-radius: 0px;
|
|
||||||
border-top-left-radius: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.view-image img {
|
|
||||||
max-height: 250px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.images {
|
.images {
|
||||||
margin-right: 1.2% !important;
|
margin-right: 1.2% !important;
|
||||||
}
|
}
|
||||||
|
@ -1484,10 +1131,6 @@ button {
|
||||||
height: 35px;
|
height: 35px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mobile-none {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sub-search-button-wrapper {
|
.sub-search-button-wrapper {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -1543,11 +1186,6 @@ button {
|
||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.result_sublink {
|
|
||||||
left: 20px;
|
|
||||||
max-width: 90%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fetched {
|
.fetched {
|
||||||
left: 20px;
|
left: 20px;
|
||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
|
@ -1555,12 +1193,6 @@ button {
|
||||||
margin-top: -2px;
|
margin-top: -2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fetched_img {
|
|
||||||
margin-top: 25px !important;
|
|
||||||
margin-left: 1.2% !important;
|
|
||||||
left: 0px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fetched_vid {
|
.fetched_vid {
|
||||||
margin-top: 25px !important;
|
margin-top: 25px !important;
|
||||||
}
|
}
|
||||||
|
@ -1614,10 +1246,6 @@ button {
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-button-wrapper button {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.icon-button {
|
.icon-button {
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
}
|
}
|
||||||
|
@ -1630,10 +1258,6 @@ button {
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#clearSearch {
|
|
||||||
top: 6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 470px) {
|
@media only screen and (max-width: 470px) {
|
||||||
|
@ -1698,27 +1322,11 @@ button {
|
||||||
/* Ensuring dark theme compliance */
|
/* Ensuring dark theme compliance */
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
|
|
||||||
.leaflet-control-locate,
|
.leaflet-control-locate {
|
||||||
.leaflet-control-layers-toggle,
|
|
||||||
.leaflet-bar a,
|
|
||||||
.leaflet-bar a:hover,
|
|
||||||
.leaflet-popup-content-wrapper,
|
|
||||||
.leaflet-popup-tip,
|
|
||||||
.leaflet-control-attribution,
|
|
||||||
.leaflet-control-scale,
|
|
||||||
.leaflet-control-scale-line {
|
|
||||||
background-color: var(--button) !important;
|
background-color: var(--button) !important;
|
||||||
border: 1px solid var(--border) !important;
|
border: 1px solid var(--border) !important;
|
||||||
color: var(--fg) !important;
|
color: var(--fg) !important;
|
||||||
text-shadow: 1px 1px 2px var(--background-color) !important;
|
text-shadow: 1px 1px 2px var(--background-color) !important;
|
||||||
/* Dark theme shadow adjustment */
|
/* Dark theme shadow adjustment */
|
||||||
}
|
}
|
||||||
|
|
||||||
.leaflet-control-attribution a {
|
|
||||||
color: var(--link) !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.favicon.globe-fallback {
|
|
||||||
color: var(--font-fg);
|
|
||||||
}
|
}
|
|
@ -9,6 +9,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<title>{{ translate "site_name" }} - {{ .Query }}</title>
|
<title>{{ translate "site_name" }} - {{ .Query }}</title>
|
||||||
<link rel="stylesheet" href="/static/css/style.css">
|
<link rel="stylesheet" href="/static/css/style.css">
|
||||||
|
<link rel="stylesheet" href="/static/css/style-map.css">
|
||||||
<link rel="stylesheet" href="/static/css/{{.Theme}}.css">
|
<link rel="stylesheet" href="/static/css/{{.Theme}}.css">
|
||||||
<link rel="stylesheet" href="/static/css/style-fonts.css">
|
<link rel="stylesheet" href="/static/css/style-fonts.css">
|
||||||
<link rel="stylesheet" href="/static/css/style-menu.css">
|
<link rel="stylesheet" href="/static/css/style-menu.css">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue