dalaran.fr/themes/dalaran/assets/css/main.scss
2025-01-17 16:33:34 +01:00

122 lines
1.6 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;
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: 10px 50px;
font-size: 1.1em;
}
footer {
display: flex;
flex-direction: column;
justify-content: center;
a {
text-decoration: none;
}
}
article {
background-color: #ffffff;
padding: 40px 100px;
border-radius: 5px;
h1:nth-of-type(1) {
margin-top: 0px;
}
}
.article-head {
margin: 50px 0px;
text-align: center;
}
.articles-list {
margin-top: 20px;
h1 {
font-size: 2.1rem;
border-bottom: 1px solid palette.$nord4;
margin-bottom: 15px;
}
h2 {
margin: 3px 0px;
}
time {
color: palette.$nord9;
}
a {
text-decoration: none;
color: #7b88a1;
}
a:hover {
text-decoration: underline;
}
}