123 lines
1.7 KiB
SCSS
123 lines
1.7 KiB
SCSS
@use 'palette';
|
|
@use 'font';
|
|
@use 'code';
|
|
|
|
$header_height: 60px;
|
|
|
|
html {
|
|
display: flex;
|
|
justify-content: center;
|
|
font-family: font.$default;
|
|
color: palette.$nord3;
|
|
background-color: palette.$nord6;
|
|
}
|
|
|
|
header {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
background-color: palette.$nord1;
|
|
padding: 5px 50px;
|
|
position: fixed;
|
|
width: calc(100vw - 75px);
|
|
height: $header_height;
|
|
align-items: center;
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: palette.$nord5;
|
|
}
|
|
|
|
.title {
|
|
margin: 0px;
|
|
}
|
|
|
|
nav {
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
font-size: 1.2em;
|
|
font-weight: bold;
|
|
width: 200px;
|
|
|
|
a {
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
a:hover {
|
|
background-color: palette.$nord3;
|
|
};
|
|
}
|
|
}
|
|
|
|
|
|
body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
margin: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
a {
|
|
color: palette.$nord10;
|
|
}
|
|
|
|
main {
|
|
max-width: 1000px;
|
|
margin: $header_height 50px 10px 50px;
|
|
}
|
|
|
|
.articles-list a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
footer a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
footer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.article-head {
|
|
margin: 50px 0px;
|
|
text-align: center;
|
|
}
|
|
|
|
.article {
|
|
margin: 5px;
|
|
}
|
|
|
|
article {
|
|
background-color: #ffffff;
|
|
padding: 40px 100px;
|
|
border-radius: 5px;
|
|
font-size: 1.1em;
|
|
|
|
h1:nth-of-type(1) {
|
|
margin-top: 0px;
|
|
}
|
|
}
|
|
|
|
.articles-list {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.articles-header {
|
|
display: flex;
|
|
margin-bottom: 20px;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
border-bottom: solid 2px;
|
|
}
|
|
|
|
.articles-header h2 {
|
|
margin: 0 5px 0 0;
|
|
}
|
|
|
|
.articles-list time {
|
|
color: #88c0d0;
|
|
}
|