website/assets/css/main.css

92 lines
1.3 KiB
CSS
Raw Normal View History

2024-03-05 22:12:46 +00:00
:root {
--color-primary: #00A0E4;
}
2024-03-05 16:50:01 +00:00
body {
margin: 0;
padding: 0em;
height: 100%;
}
2024-03-06 14:19:33 +00:00
nav {
display: flex;
gap: 1em;
position: fixed;
padding: 0.5em;
width: 100%;
transition: all 0.2s ease;
2024-03-06 15:04:17 +00:00
overflow: auto;
2024-03-06 14:19:33 +00:00
z-index: 99;
}
nav .button#navButton {
margin: 0;
}
nav > .language-switcher {
display: flex;
justify-content: flex-end;
gap: 1em;
margin-left: auto;
width: 100%;
}
nav > .language-switcher > select {
width: 8em;
}
nav.scrolled {
2024-03-06 15:04:17 +00:00
background: var(--bg-color);
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
2024-03-06 14:19:33 +00:00
}
nav a.nav-logo {
display: flex;
justify-content: center;
align-items: center;
padding: 0.1em;
width: 2.5em;
}
nav a.nav-logo > img {
width: 100%;
}
nav .nav-container {
display: flex;
flex-direction: row;
gap: 1em;
}
.button.light {
border-color: white !important;
color: white;
}
2024-03-06 15:04:17 +00:00
.content-container {
padding: 1em;
width: 100%;
display: flex;
justify-content: center;
}
2024-03-05 16:50:01 +00:00
.content {
display: flex;
flex-direction: column;
2024-03-06 15:04:17 +00:00
max-width: 70%;
2024-03-05 16:50:01 +00:00
}
div.notice {
padding: 1em;
width: 100%;
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
div.notice p {
margin: 0;
2024-03-06 14:19:33 +00:00
}