website/style.css

104 lines
1.6 KiB
CSS
Raw Normal View History

2024-09-01 23:58:40 +02:00
html {
background-color: black;
}
h1, h2 {
color: white;
text-align: center;
}
2024-09-03 09:54:18 +02:00
menu {
2024-09-01 23:58:40 +02:00
display: flex;
flex-wrap: wrap;
color: white;
text-align: center;
2024-09-03 09:54:18 +02:00
padding: 0px;
2024-09-01 23:58:40 +02:00
}
2024-09-03 09:54:18 +02:00
menu a {
2024-09-01 23:58:40 +02:00
margin-left: auto;
margin-right: auto;
padding-left: 1rem;
padding-right: 1rem;
padding-bottom: 1rem;
2024-09-03 14:14:47 +02:00
text-decoration: none;
color: white;
2024-09-01 23:58:40 +02:00
}
2024-09-03 09:54:18 +02:00
menu a img {
2024-09-01 23:58:40 +02:00
width: 60px;
height: 60px;
}
2024-09-03 09:54:18 +02:00
menu a:hover img {
2024-09-01 23:58:40 +02:00
width: 75px;
height: 75px;
transition: 0.1s ease;
}
2024-09-03 09:54:18 +02:00
menu a h3 {
2024-09-01 23:58:40 +02:00
margin: 0px;
}
2024-09-03 14:14:47 +02:00
nav > img {
2024-09-03 09:54:18 +02:00
display: none;
}
@media (max-width: 900px) {
menu {
display: none;
2024-09-03 14:14:47 +02:00
position: absolute;
background-color: black;
padding: 0.69rem;
margin-top: 0;
right: 0;
z-index: 2;
text-align: left;
}
menu a {
display: flex;
2024-09-03 09:54:18 +02:00
}
2024-09-03 14:14:47 +02:00
menu a img {
width: 25px;
height: 25px;
padding-right: 1rem;
}
menu a:hover img {
width: 25px;
height: 25px;
transition: 0;
}
nav > img {
2024-09-03 09:54:18 +02:00
display: block;
color: red;
margin: 1rem;
position: absolute;
top: 0px;
right: 0px;
2024-09-03 14:14:47 +02:00
margin-top: 1.5rem;
width: 42px;
2024-09-03 09:54:18 +02:00
}
h1 {
padding-right: 50px;
}
}
2024-09-01 23:58:40 +02:00
#notif {
position: fixed;
margin: 1rem;
padding: 0.5rem;
right: 0px;
bottom: 0px;
background-color: orange;
text-align: center;
font-size: 2rem;
}
#notif a {
text-decoration: none;
color: black;
margin-right: 1rem;
}
#notif-close {
width: 45px;
float: right;
}