Ajouter le countdown de lancement #10

Closed
gzod01 wants to merge 5 commits from fb_countdown into master
Showing only changes of commit 9b94836e3e - Show all commits

View file

@ -31,30 +31,37 @@
.decount-center {
position: relative;
padding-top: 120px;
height:calc(100% - 20px);
/*top: calc(50% - 200px + 40px);
left: 50%;
transform: translate(-50%, -50%);*/
padding: 20px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
flex-direction: row;
}
.decount-with-title{
display:flex;
flex-direction:column;
text-align:center;
flex: 2 0;
width:60%;
}
.decount-with-title * {
text-align:center;
}
.decount {
display: flex;
align-items: center;
justify-content: space-around;
font-size: xx-large;
width: 70%;
width: 100%;
color: white;
}
.decount span {
/*background-color: blue;*/
display: inline-block;
padding: 20px;
}
.decount dateseparator {
@ -71,7 +78,19 @@
}
.logo {
height: 200px;
position:relative;
height: 100%;
width:40%;
}
@media only screen and (max-width: 600px) {
.logo{
z-index:-1;
position:absolute;
}
.decount-with-title *{
--thecolor:black;
text-shadow: -1px -1px 0 var(--thecolor), 1px -1px 0 var(--thecolor), -1px 1px 0 var(--thecolor), 1px 1px 0 var(--thecolor);
}
}
.credits {
@ -104,7 +123,8 @@
<body>
<div class="decount-center">
<img class="logo" height=20
src="https://forge.lefuturiste.fr/etoiledebethleem/website/raw/branch/master/assets/images/all_logos/logo_texte_rectangle_blanc_transparent.svg">
src="https://forge.lefuturiste.fr/etoiledebethleem/website/raw/branch/master/assets/images/all_logos/square_notext_white_transparent.svg">
<div class=decount-with-title>
<p class="decount-info">Ouverture du site dans...</p>
<div class=decount>
<!-- day et week sont dans .lessprecision, hour dans les deux, min, sec dans .moreprecision-->
@ -117,6 +137,7 @@
<span id=sec></span>
</div>
</div>
</div>
<div class="credits">
<span class="contactus">En attendant retrouvez nous sur
<span name=tabulation style="display:inline-block; width:20px"></span>