145 lines
2.3 KiB
SCSS
145 lines
2.3 KiB
SCSS
@import "npm:@picocss/pico/scss/pico.slim.scss";
|
|
|
|
:root {
|
|
--typography-spacing-vertical: 1rem;
|
|
}
|
|
|
|
// light green theming
|
|
$primary-500: #8bc34a;
|
|
$primary-600: #7cb342;
|
|
$primary-700: #689f38;
|
|
|
|
.bar_happy {
|
|
padding: 1em;
|
|
margin: 3em;
|
|
background-color: palegreen;
|
|
border-radius: 0.5em;
|
|
}
|
|
@media only screen and (prefers-color-scheme: dark) {
|
|
.bar_happy {
|
|
background-color: #11391F;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 960px) {
|
|
.left_side_container {
|
|
@extends(.container);
|
|
}
|
|
.right_side_container {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media only screen and (min-width: 961px) {
|
|
.container_overall {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.left_side_container {
|
|
width: 66%;
|
|
padding: 1em;
|
|
}
|
|
.right_side_container {
|
|
width: 33%;
|
|
padding: 1em;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
fieldset.horizontal {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.grow {
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.shrink {
|
|
flex: 1;
|
|
}
|
|
|
|
main.search {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.bar_logo {
|
|
height: 60px;
|
|
align-self: center;
|
|
display: block;
|
|
margin-bottom: var(--spacing);
|
|
margin-right: var(--spacing);
|
|
}
|
|
|
|
ul.search_results {
|
|
> li {
|
|
list-style-type: none;
|
|
|
|
margin-left: 32px;
|
|
|
|
|
|
position: relative;
|
|
> img {
|
|
display: block;
|
|
position: absolute;
|
|
left: -50px;
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
padding-bottom: 0.8em;
|
|
}
|
|
}
|
|
|
|
.result_title a {
|
|
color: brown;
|
|
}
|
|
|
|
.result_excerpt {
|
|
font-size: .8em;
|
|
}
|
|
|
|
.result_url {
|
|
font-size: .7em;
|
|
opacity: 0.7;
|
|
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.result_tags {
|
|
padding-left: 0;
|
|
font-size: .7em;
|
|
> li {
|
|
list-style-type: none;
|
|
display: inline-block;
|
|
//background-color: palegreen;
|
|
color: darkgreen;
|
|
//padding: 0.2em;
|
|
//border-radius: 8px;
|
|
|
|
//text-decoration: underline;
|
|
//text-decoration-style: double;
|
|
//text-decoration-thickness: 5px;
|
|
|
|
border-bottom: 1px solid palegreen;
|
|
opacity: .7;
|
|
|
|
margin-right: 0.4em;
|
|
}
|
|
}
|
|
|
|
|
|
@media only screen and (prefers-color-scheme: dark) {
|
|
:root:not([data-theme=light]) {
|
|
@import "dark.scss";
|
|
}
|
|
}
|
|
|
|
[data-theme=dark] {
|
|
@import "dark.scss";
|
|
}
|