blog/src/styles.css

55 lines
979 B
CSS
Raw Normal View History

@import url('styles/reset.css');
@import url('styles/variables.css');
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&display=swap');
body {
column-gap: var(--gap-md);
display: grid;
font-family: "Fira Code", monospace;
font-optical-sizing: auto;
font-weight: 300;
font-style: normal;
font-size: 62.5%;
grid-template-areas: "nav content";
grid-template-columns: 3fr 9fr;
margin: auto;
padding-top: var(--gap-md);
max-width: 1200px;
}
2025-04-16 17:25:02 -04:00
body > header {
border: 2px solid var(--color-bg);
grid-area: nav;
height: max-content;
width: max-content;
}
2025-04-16 17:25:02 -04:00
body > header > .header__title {
padding: var(--size-md) var(--size-xl);
}
2025-04-16 17:25:02 -04:00
body > header > .header__title {
background-color: var(--color-bg);
color: var(--color-on-bg);
}
2025-04-16 17:25:02 -04:00
body > header > .header__title > h1 {
font-weight: 300;
margin: 0;
}
main {
2025-04-16 17:25:02 -04:00
display: flex;
flex-direction: column;
grid-area: content;
}
2025-04-16 17:25:02 -04:00
main > .post {
width: 66%;
}
main > .post > p {
margin: 0;
}