bop-hugo-theme/assets/css/style.scss

108 lines
2.1 KiB
SCSS
Raw Permalink Normal View History

2020-10-14 01:00:50 +02:00
* {
box-sizing: border-box;
}
html {
2020-11-14 10:23:33 +01:00
font-family: "Coelacanth", "Lucida Sans Unicode", Arial, Helvetica, sans-serif;
2020-11-15 16:27:12 +01:00
font-size: x-large;
2020-10-14 01:00:50 +02:00
}
a {
text-decoration: none;
}
2020-11-15 16:27:12 +01:00
a.exposed, span.exposed {
2020-10-14 01:00:50 +02:00
font-weight: bold;
2020-11-16 17:50:05 +01:00
font-size: 1.1em;
2020-10-14 01:00:50 +02:00
}
a:visited {
}
2020-11-15 16:27:12 +01:00
.path {
display: inline;
}
2020-11-17 18:30:20 +01:00
.hero {
padding: 3em 0;
text-align: center;
.title {
font-weight: bold;
font-size: 3em;
}
}
2020-10-14 01:00:50 +02:00
body {
2020-11-15 16:27:12 +01:00
background-color: white;
2020-10-14 01:00:50 +02:00
}
header {
2020-11-15 16:27:12 +01:00
margin-top: 1em;
padding-bottom: 2em;
padding-top: 1em;
background-color: #9f5470;
background-color: pink;
2020-11-17 18:30:20 +01:00
background: linear-gradient(to top right, rgba(232, 97, 9, 1), rgba(237, 94, 174, 1));
2020-11-15 16:27:12 +01:00
color: white;
a {
color: white;
2020-10-14 01:00:50 +02:00
}
span.exposed span.title {
2020-11-15 16:27:12 +01:00
font-weight: bold;
font-size: 1.8em;
}
a:visited {
font-weight: bold;
}
div.title-bar {
display: flex;
align-items: center;
justify-content: space-between;
max-width: 1200px;
@media (min-width: 1200px) {
margin: auto;
}
img {
height: 88px;
}
* {
padding: 0.5em;
}
2020-10-14 01:00:50 +02:00
}
2020-11-15 16:27:12 +01:00
div.description {
display: inline;
font-style: italic;
font-size: smaller;
}
nav {
position: relative;
display: flex;
align-items: baseline;
justify-content: space-around;
max-width: 1200px;
2020-11-17 18:30:20 +01:00
.exposed {
font-weight: bold;
font-size: 1.3em;
2020-11-15 16:27:12 +01:00
}
@keyframes exposed {
from { position: relative; top: 0; }
2020-11-17 18:30:20 +01:00
to { position: absolute; top: 5rem; }
2020-11-15 16:27:12 +01:00
}
@media (min-width: 1200px) {
margin: auto;
}
2020-10-14 01:00:50 +02:00
}
}
2020-11-15 16:27:12 +01:00
main {
max-width: 1200px;
@media (min-width: 1200px) {
margin-left: auto;
margin-right: auto;
}
background-color: white;
padding: 1em;
border-top-left-radius: 1em;
border-top-right-radius: 1em;
margin-top: -2em;
margin-left: 1em;
margin-right: 1em;
*:nth-child(1) {
margin-top: 0;
}
2020-10-14 01:00:50 +02:00
}