You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
110 lines
1.8 KiB
SCSS
110 lines
1.8 KiB
SCSS
header {
|
|
width: 100%;
|
|
// background-color: var(--navbar-color);
|
|
.main {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
font-size: 1.5rem;
|
|
/* Otherwise header and menu is too close on small screens*/
|
|
margin-bottom: 10px;
|
|
}
|
|
}
|
|
|
|
.page-header {
|
|
font-size: 3em;
|
|
line-height: 100%;
|
|
font-family: var(--header-font);
|
|
margin: 4rem 0px 1rem 0px;
|
|
}
|
|
|
|
.centered-header {
|
|
font-family: var(--header-font);
|
|
position: absolute;
|
|
top: 40%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
text-align: center;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.navbar {
|
|
max-width: var(--max-layout-width);
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 1em 0;
|
|
margin: 0 auto;
|
|
margin-bottom: 0.2rem;
|
|
}
|
|
|
|
.nav-navs {
|
|
display: flex;
|
|
gap: 5px;
|
|
img {
|
|
border: none;
|
|
}
|
|
}
|
|
|
|
.nav-links {
|
|
font-size: 1em;
|
|
font-weight: 340;
|
|
text-decoration: none;
|
|
justify-content: right;
|
|
color: var(--text-color);
|
|
padding: 5px;
|
|
border-radius: 5px;
|
|
transition: 100ms;
|
|
}
|
|
|
|
.home-title {
|
|
font-size: 1.7em;
|
|
font-weight: 600;
|
|
border: none;
|
|
color: var(--accent-color);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.meta {
|
|
color: var(--meta-color);
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
@media only screen and (max-width: 1000px) {
|
|
.navbar {
|
|
max-width: 100%;
|
|
justify-content: right;
|
|
}
|
|
|
|
.nav-title {
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.nav-navs {
|
|
margin: 0 auto;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
.nav-title {
|
|
margin: 0;
|
|
}
|
|
|
|
.navbar {
|
|
max-width: var(--medium-layout-width);
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 300px) {
|
|
.navbar {
|
|
max-width: var(--small-layout-width);
|
|
}
|
|
}
|