website/style.css

104 lines
1.6 KiB
CSS

html {
background-color: black;
}
h1, h2 {
color: white;
text-align: center;
}
menu {
display: flex;
flex-wrap: wrap;
color: white;
text-align: center;
padding: 0px;
}
menu a {
margin-left: auto;
margin-right: auto;
padding-left: 1rem;
padding-right: 1rem;
padding-bottom: 1rem;
text-decoration: none;
color: white;
}
menu a img {
width: 60px;
height: 60px;
}
menu a:hover img {
width: 75px;
height: 75px;
transition: 0.1s ease;
}
menu a h3 {
margin: 0px;
}
nav > img {
display: none;
}
@media (max-width: 900px) {
menu {
display: none;
position: absolute;
background-color: black;
padding: 0.69rem;
margin-top: 0;
right: 0;
z-index: 2;
text-align: left;
}
menu a {
display: flex;
}
menu a img {
width: 25px;
height: 25px;
padding-right: 1rem;
}
menu a:hover img {
width: 25px;
height: 25px;
transition: 0;
}
nav > img {
display: block;
color: red;
margin: 1rem;
position: absolute;
top: 0px;
right: 0px;
margin-top: 1.5rem;
width: 42px;
}
h1 {
padding-right: 50px;
}
}
#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;
}