quickpeep/quickpeep_static/style/main.scss

131 lines
2.1 KiB
SCSS

@import "npm:@picocss/pico/scss/pico.slim.scss";
:root {
--typography-spacing-vertical: 1rem;
}
.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: palegoldenrod;
}
.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: palegreen;
//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;
}
}