Compare commits
No commits in common. "6c26735680cf0631075116a16197d6829f033d8b" and "e7d44350027d69f6a12c7c69ee382355b2a11217" have entirely different histories.
6c26735680
...
e7d4435002
2 changed files with 17 additions and 59 deletions
67
css/base.css
67
css/base.css
|
|
@ -55,44 +55,30 @@ main h1 {
|
||||||
|
|
||||||
main h2 {
|
main h2 {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 12% auto 5% auto;
|
margin: 4% auto;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: clamp(1.5em, 12vw, 4em);
|
font-size: clamp(1.5em, 4vw, 3em);
|
||||||
font-family: segoesc;
|
font-family: segoesc;
|
||||||
}
|
}
|
||||||
|
|
||||||
main h2:first-of-type {
|
|
||||||
font-size: clamp(1.5em, 5vw, 5em);
|
|
||||||
margin: 1em auto 0.5em auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
main h3 {
|
main h3 {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
text-align: center;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-size: clamp(1.8em, 3vw, 4em);
|
font-size: clamp(2em, 4vw, 4em);
|
||||||
margin-top: 5%;
|
margin-top: 5%;
|
||||||
margin-bottom: 2%;
|
|
||||||
font-weight: lighter;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
main section h3 {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
main h4 {
|
|
||||||
margin: 0.8em 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
main p {
|
main p {
|
||||||
margin: 0 0 min(1em, 2%) 1%;
|
margin: 1%;
|
||||||
|
padding: 1%;
|
||||||
|
/* border: solid 1px; */
|
||||||
|
opacity: 0.90;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
}
|
background-color: black;
|
||||||
|
|
||||||
main p:last-child {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
section {
|
section {
|
||||||
|
|
@ -103,14 +89,9 @@ section {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
margin-bottom: 100px;
|
margin-bottom: 100px;
|
||||||
padding: 2%;
|
padding: 2%;
|
||||||
padding-left: min(1em, 2%);
|
padding-left: 0px;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
box-shadow: -5px 5px 0px var(--accent-yellow), -10px 10px 0px var(--accent-orange), -15px 15px 0px var(--accent-violet);
|
box-shadow: -5px 5px 0px var(--accent-yellow), -10px 10px 0px var(--accent-orange), -15px 15px 0px var(--accent-violet);
|
||||||
background-color: #000000b8;
|
|
||||||
}
|
|
||||||
|
|
||||||
section :is(h1, h2, h3, h4, h5, h6) {
|
|
||||||
line-height: 1em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
nav, footer, aside {
|
nav, footer, aside {
|
||||||
|
|
@ -158,21 +139,15 @@ main > img {
|
||||||
object-fit: scale-down;
|
object-fit: scale-down;
|
||||||
}
|
}
|
||||||
|
|
||||||
figcaption {
|
|
||||||
font-size: 0.6em;
|
|
||||||
line-height: initial;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-nice {
|
.btn-nice {
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
text-shadow: -2px 2px 0px var(--accent-orange), -4px 4px 0px var(--accent-violet);
|
text-shadow: -5px 5px 0px var(--accent-orange), -10px 10px 0px var(--accent-violet);
|
||||||
color: var(--accent-yellow);
|
color: var(--accent-yellow);
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
display: block;
|
||||||
font-weight: bold;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#camp {
|
#camp {
|
||||||
|
|
@ -188,23 +163,3 @@ figcaption {
|
||||||
margin-right: 10%;
|
margin-right: 10%;
|
||||||
line-height: 0.5em;
|
line-height: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
|
||||||
background: #ffffff1f;
|
|
||||||
padding: 0.2em 0.4em;
|
|
||||||
border-radius: 0.2em;
|
|
||||||
margin-right: 0.5ex;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btn-nice code {
|
|
||||||
background: none;
|
|
||||||
padding: 0;
|
|
||||||
margin-right: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 500px) {
|
|
||||||
/* Hide stickers on mobile */
|
|
||||||
.randomStart {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<!DOCTYPE html>
|
<html lang="en">
|
||||||
<html lang="fr">
|
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
|
|
@ -30,6 +29,11 @@
|
||||||
<img class="draggable randomStart" src="assets/stickers/machineacoudre.png" alt="">
|
<img class="draggable randomStart" src="assets/stickers/machineacoudre.png" alt="">
|
||||||
<img class="draggable randomStart" src="assets/stickers/tracteur.png" alt="">
|
<img class="draggable randomStart" src="assets/stickers/tracteur.png" alt="">
|
||||||
|
|
||||||
|
<img class="draggable randomStart" src="assets/stickers/ecran.png" alt="">
|
||||||
|
<img class="draggable randomStart" src="assets/stickers/ferasouder.png" alt="">
|
||||||
|
<img class="draggable randomStart" src="assets/stickers/machineacoudre.png" alt="">
|
||||||
|
<img class="draggable randomStart" src="assets/stickers/tracteur.png" alt="">
|
||||||
|
|
||||||
<h1>
|
<h1>
|
||||||
<span id="camp" class="draggable">camp</span>
|
<span id="camp" class="draggable">camp</span>
|
||||||
<br>
|
<br>
|
||||||
|
|
@ -118,5 +122,4 @@
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue