68 lines
1.0 KiB
CSS
68 lines
1.0 KiB
CSS
:root {
|
|
--bg: #ffffff;
|
|
--bg-dark: #303355;
|
|
--fg: #303355;
|
|
--special: #c09f80;
|
|
}
|
|
|
|
body {
|
|
background: var(--bg);
|
|
color: var(--fg);
|
|
font-family: "ubuntu", sans-serif;
|
|
margin: 0px;
|
|
}
|
|
|
|
h1, h2 {
|
|
text-align: center;
|
|
font-size: 6vh;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 5vh;
|
|
font-weight: normal;
|
|
margin-bottom: 8vh;
|
|
}
|
|
|
|
.slider { overflow: hidden;
|
|
}
|
|
|
|
.slide-track {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 3vw;
|
|
animation: scroll 40s linear infinite;
|
|
width: 3000vh; /* Pas bô, mais on va faire avec en attendant... */
|
|
}
|
|
|
|
.room {
|
|
text-align: center;
|
|
background: var(--bg-dark);
|
|
border-style: solid;
|
|
border-width: 1vw;
|
|
border-color: var(--bg-dark);
|
|
border-radius: 3vw;
|
|
padding: 1vw;
|
|
height: 17vh;
|
|
color: var(--bg);
|
|
font-size: 8vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
@keyframes scroll {
|
|
0% { transform: translateX(0); }
|
|
100% { transform: translateX(calc(-25vw * 7)); }
|
|
}
|
|
|
|
.details {
|
|
margin: 1vh;
|
|
font-size: 6vh;
|
|
}
|
|
|
|
footer {
|
|
margin-top: 8vh;
|
|
font-size: 3vh;
|
|
text-align: center;
|
|
}
|