UniSquat_Python/static/billboardstyle.css

63 lines
938 B
CSS

:root {
--bg: #ffffff;
--bg-dark: #303355;
--fg: #303355;
--special: #c09f80;
}
main {
display: grid;
grid-template-rows: 2fr 1fr 5fr 1fr;
}
body {
background: var(--bg);
color: var(--fg);
font-family: "ubuntu", sans-serif;
font-size: 200%;
margin: 0px;
}
h1, h2 {
text-align: center;
}
h2 {
font-size: 90%;
font-weight: normal;
}
.slider {
overflow: hidden;
}
.slide-track {
display: flex;
flex-wrap: wrap;
gap: 50px;
animation: scroll 40s linear infinite;
width: 750%; /* Pas bô, mais on va faire avec en attendant... */
}
.room {
text-align: center;
background: var(--bg-dark);
border-style: solid;
border-width: 1px;
border-color: var(--bg-dark);
border-radius: 10px;
padding: 10px;
color: var(--bg);
}
@keyframes scroll {
0% { transform: translateX(0); }
100% { transform: translateX(calc(-250px * 7)); }
}
footer {
margin-top: 10px;
font-size: 50%;
text-align: center;
}