potain/potain05/assets/style.css

85 lines
1.3 KiB
CSS

html {
height:100%;
box-sizing: border-box;
}
* {
box-sizing: inherit;
}
body {
height: 100%;
margin: 0;
font-family: Arial, sans-serif;
display: grid;
grid-template-rows: auto 1fr auto;
}
header {
background-color: rgb(40,53,131);
color: white;
margin-bottom: 20px;
}
main, footer {
max-width: 1600px;
width: 100%;
margin: 0 auto;
padding: 0 20px;
}
.stamp {
position: absolute;
font-size: 60px;
transform: rotate(-20deg);
display: inline-block;
padding: .2em .5em;
border-radius: 10px;
}
.success.stamp {
top: 110px;
left: 220px;
color: #0f5132;
background-color: #d1e7dd;
border: 3px solid #859a99;
}
.hidden {
display: none;
}
h2 {
margin-top: 0;
}
header h1 {
text-align: center;
}
a {
color: rgb(40,53,131);
}
.img-holder {
position: relative;
top: 0;
left: 0;
}
.img-holder .zone {
position: absolute;
display: block;
background-image: url("../images/gouttes.png");
background-size: contain;
background-repeat: repeat;
background-position: center;
filter: invert(71%) sepia(80%) saturate(342%) hue-rotate(72deg) brightness(102%) contrast(100%);
}
.img-holder .zone.inactive,
.img-holder .zone.fade-out {
opacity: 0;
}