babillard/public/css/style.css

79 lines
1.2 KiB
CSS
Raw Permalink Normal View History

body {
margin: 0;
padding: 0;
border: 0;
display: flex;
flex-flow: column;
height: 100vh;
}
embed {
max-width: 100%;
height: 100%;
object-fit: contain;
}
#contenu {
background-color: black;
text-align: center;
width: 100%;
flex: 1;
min-height: 0;
}
#bar {
width: 100%;
background-image: linear-gradient(to right, #033ead, #3093d1);
color: white;
font-family: 'Roboto', sans-serif;
font-weight: bold;
display: flex;
align-items: center;
min-height: 75px;
}
img#bar-bg {
position: absolute;
width: 100%;
height: 100%;
z-index: -1;
}
#time {
font-size: 300%;
height: 53px;
}
#text-content {
white-space: nowrap;
z-index: 1;
display: block;
height: 100%;
padding-top: 55px;
position: relative;
}
#text-container {
height: 100%;
background-image: linear-gradient(to right, #033ead, #3093d1);
display: flex;
align-items: center;
font-size: 20px;
flex-grow: 1;
}
#text-content div {
display: block;
position: fixed;
height: 100%;
}
#date-time {
display: flex;
flex-flow: column;
align-items: center;
height: 100%;
background-color: #033ead;
z-index: 1;
width: 225px;
}