Dessin rejoignez-nous, boîtes accueil plus légères

This commit is contained in:
Pascal Engélibert
2023-05-27 18:36:18 +02:00
parent c5a7a4700f
commit 49a56ea935
8 changed files with 41 additions and 12 deletions

View File

@ -5,7 +5,7 @@
flex: 62%;
text-align: center;
font-family: LunaSans;
gap: 32px;
gap: 45px;
align-items: center;
justify-content: center;
flex-wrap: wrap;
@ -14,12 +14,36 @@
.square_box {
width: 200px;
min-height: 200px;
padding: 8px;
background: linear-gradient(-0.125turn, $blue, $violet);
color: white;
}
.square_box-inner {
margin: 1px;
min-height: 198px;
background-color: white;
}
@media (prefers-color-scheme: dark) {
.square_box-inner {
color: white;
background-color: black;
}
}
.square_box-title {
display: block;
width: 100%;
padding: 16px 6px 6px 6px;
box-sizing: border-box;
font-family: Neucha;
font-size: 175%;
}
.square_box-text {
padding: 6px;
}
.square_box:hover .square_box-title, .square_box:focus .square_box-title {
background: linear-gradient(-0.125turn, $blue, $violet);
color: white;
}