modification du css suite à la modification de la mise en forme + le css est maintenant responsive
This commit is contained in:
parent
2aa622964e
commit
9b94836e3e
1 changed files with 31 additions and 10 deletions
|
@ -31,30 +31,37 @@
|
||||||
|
|
||||||
.decount-center {
|
.decount-center {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-top: 120px;
|
height:calc(100% - 20px);
|
||||||
/*top: calc(50% - 200px + 40px);
|
/*top: calc(50% - 200px + 40px);
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translate(-50%, -50%);*/
|
transform: translate(-50%, -50%);*/
|
||||||
padding: 20px;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: 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 {
|
.decount {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
font-size: xx-large;
|
font-size: xx-large;
|
||||||
width: 70%;
|
width: 100%;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.decount span {
|
.decount span {
|
||||||
/*background-color: blue;*/
|
/*background-color: blue;*/
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.decount dateseparator {
|
.decount dateseparator {
|
||||||
|
@ -71,7 +78,19 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.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 {
|
.credits {
|
||||||
|
@ -104,7 +123,8 @@
|
||||||
<body>
|
<body>
|
||||||
<div class="decount-center">
|
<div class="decount-center">
|
||||||
<img class="logo" height=20
|
<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>
|
<p class="decount-info">Ouverture du site dans...</p>
|
||||||
<div class=decount>
|
<div class=decount>
|
||||||
<!-- day et week sont dans .lessprecision, hour dans les deux, min, sec dans .moreprecision-->
|
<!-- day et week sont dans .lessprecision, hour dans les deux, min, sec dans .moreprecision-->
|
||||||
|
@ -117,6 +137,7 @@
|
||||||
<span id=sec></span>
|
<span id=sec></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class="credits">
|
<div class="credits">
|
||||||
<span class="contactus">En attendant retrouvez nous sur
|
<span class="contactus">En attendant retrouvez nous sur
|
||||||
<span name=tabulation style="display:inline-block; width:20px"></span>
|
<span name=tabulation style="display:inline-block; width:20px"></span>
|
||||||
|
|
Loading…
Reference in a new issue