www/stylesheet.css
max da50b1d37b
Implement in-place header with modern CSS
Flexbox are very usefull to center things and make it smarter.
I removed style linking with class and use element directly.

BREAKING-CHANGES: Use new color based on Pantone Color of the Year 2025

Signed-off-by: Max Charrier <max@puffer.fish>
2025-04-19 20:51:23 +02:00

45 lines
778 B
CSS

body {
background-color: #f1e9df;
color: #89a06b;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-family: 'comic_monobold', ui-monospace, monospace;
font-size: 1.4rem;
}
header {
margin: 30px;
padding: 0 18%;
border-bottom: 1px solid #a89a8e;
}
h1 {
text-align: center;
font-size: 3.2rem;
letter-spacing: 0.5rem;
}
nav {
margin: 10px;
}
nav aside {
zoom: 60%;
}
nav aside a {
text-align: center;
font-family: 'comic_monobold', ui-monospace, monospace;
font-size: 1.2rem;
display: inline-block;
padding: 10px 20px;
background-color: #a89a8e;
color: black;
text-decoration: none;
border: none;
border-radius: 5px;
}
nav ul {
margin-top: 10px;
display: flex;
justify-content: space-around;
font-size: 1rem;
}