This commit is contained in:
Jordan Vidrine 2025-04-21 20:30:22 -05:00
parent a79cda0045
commit 87c90a66d1
2 changed files with 29 additions and 16 deletions

View File

@ -1,7 +1,21 @@
// these are add-on styles controlled by settings
@import "special-styles";
.welcome-banner:not(.below-site-header-outlet, .above-main-container-outlet) { .welcome-banner:not(.below-site-header-outlet, .above-main-container-outlet) {
display: none; display: none;
} }
.search-banner {
background-image: var(--custom-bg);
@if $tile-background_image == "true" {
background-size: auto;
} @else {
background-size: cover;
background-repeat: no-repeat;
}
}
.welcome-banner { .welcome-banner {
.btn.search-icon:not(.has-search-button-text) { .btn.search-icon:not(.has-search-button-text) {
z-index: 2; z-index: 2;

View File

@ -1,6 +1,10 @@
@if $special-style == "big search, no text" { @if $special-style == "big search, no text" {
.welcome-banner {
margin-bottom: 0;
}
.custom-search-banner-wrap { .custom-search-banner-wrap {
padding: 0; padding: 1em;
@if $background-image-light != "" { @if $background-image-light != "" {
background-image: var(--custom-bg); background-image: var(--custom-bg);
@ -14,6 +18,13 @@
.results { .results {
max-width: unset; max-width: unset;
width: 100%; width: 100%;
font-size: var(--font-down-3);
top: 3.45em;
padding: 0;
.search-result-topic .first-line {
font-size: var(--font-up-1);
}
} }
.search-context { .search-context {
@ -31,16 +42,6 @@
max-width: unset; max-width: unset;
} }
.results {
font-size: var(--font-down-3);
top: 3.45em;
padding: 0;
.search-result-topic .first-line {
font-size: var(--font-up-1);
}
}
.blurb { .blurb {
font-size: var(--font-down-2); font-size: var(--font-down-2);
max-width: 600px; max-width: 600px;
@ -61,6 +62,7 @@
.search-menu-recent { .search-menu-recent {
font-size: var(--font-down-1); font-size: var(--font-down-1);
margin-top: 0; margin-top: 0;
li:last-child { li:last-child {
.search-link { .search-link {
margin-bottom: 0; margin-bottom: 0;
@ -74,7 +76,7 @@
} }
.no-results { .no-results {
padding: 1em; padding: 1em !important;
} }
.results > * { .results > * {
@ -100,6 +102,7 @@
.show-more { .show-more {
margin-top: 0.33em; margin-top: 0.33em;
.search-link { .search-link {
margin-bottom: 0; margin-bottom: 0;
} }
@ -113,9 +116,5 @@
.search-input .searching { .search-input .searching {
top: 0.45em; top: 0.45em;
} }
.no-results {
padding: 1em !important;
}
} }
} }