hugo-theme-minima/assets/sass/sketch.scss

166 lines
1.6 KiB
SCSS
Raw Normal View History

2021-08-19 06:42:00 +02:00
.row {
display: flex;
align-items: center;
}
2021-08-07 16:01:03 +02:00
2021-08-19 06:42:00 +02:00
.col {
display: flex;
flex-direction: column;
}
.jc-bt {
justify-content: space-between;
}
.as-s {
align-self: start;
}
.ai-c {
align-items: center;
}
.gap-0_5 {
gap: 0.8rem;
}
.gap-1 {
gap: 1rem;
row-gap: 1rem;
}
.gap-2 {
gap: 2rem;
row-gap: 2rem;
}
.gap-3 {
gap: 3rem;
row-gap: 3rem;
}
.lg-1 {
font-size: 1.2em;
}
.sm-1 {
font-size: 0.8em;
}
.mtb-1 {
margin: 1em 0;
}
.mtb-2 {
margin: 2em 0;
}
.mb-1 {
margin-bottom: 1em;
}
.mb-0 {
margin-bottom: 0;
}
.mt-2 {
margin-top: 2em;
}
.ml-1 {
margin-left: 1em;
}
.ml-2 {
margin-left: 2em;
}
2021-08-27 09:02:08 +02:00
.mr-1 {
margin-right: 1rem;
}
2021-08-19 06:42:00 +02:00
.mr-2 {
margin-right: 2em;
}
.mw-6 {
min-width: 6em;
}
.c-tag {
color: var(--tag);
}
.btn {
cursor: pointer;
}
.hidden {
display: none;
}
.tag-pm {
font-size: 0.7em;
font-weight: bold;
line-height: 1;
color: #fff;
background-color: var(--pm);
border-radius: 20px;
padding: 2px 8px;
}
details.toc ul {
list-style-type: none;
padding-inline-start: 1em;
margin: 0;
}
details.toc ul > li {
margin: 1em 0;
}
.nowrap {
white-space: nowrap;
overflow: auto;
}
@keyframes showup {
from {
opacity: 0;
transform: translateY(20px);
2021-08-05 10:30:29 +02:00
}
2021-08-19 06:42:00 +02:00
to {
opacity: 1;
transform: none;
2021-08-05 10:30:29 +02:00
}
2021-08-19 06:42:00 +02:00
}
@media (max-width: 640px) {
.row-mob {
2021-08-05 10:30:29 +02:00
flex-direction: column;
2021-08-19 06:42:00 +02:00
align-items: flex-start;
gap: 0;
row-gap: 0;
2021-08-05 10:30:29 +02:00
}
2021-08-19 06:42:00 +02:00
.al-c-mob {
2021-08-05 10:30:29 +02:00
align-items: center;
}
2021-08-19 06:42:00 +02:00
.col-rev-mob {
flex-direction: column-reverse;
}
2021-08-19 06:42:00 +02:00
.sm-2-mob {
font-size: 0.9em;
2021-08-05 10:30:29 +02:00
}
2021-08-19 06:42:00 +02:00
.mb-0_5-mob {
margin-bottom: 0.5em;
2021-08-05 10:30:29 +02:00
}
2021-08-19 06:42:00 +02:00
.mb-1_5-mob {
margin-bottom: 1.5em;
2021-08-05 10:30:29 +02:00
}
2021-08-19 06:42:00 +02:00
}