correction meetup links and homepage slider

This commit is contained in:
Valentin
2024-04-26 19:58:44 +02:00
parent 05ff1c3c74
commit d98506a9c5
5 changed files with 90 additions and 43 deletions

View File

@@ -30,20 +30,20 @@
width: 60%;
margin-left: calc(40% - $x_margin);
margin-top: 4vh;
margin-bottom: 4vh;
@media (min-width: $breakpoint_tablet) {
width: 40%;
margin-left: calc(60% - $x_margin);
}
@media (min-width: $breakpoint_desktop) {
position: absolute;
top: 3vh;
right: 4vh;
width: 40%;
}
@media (min-width: $breakpoint_desktop) {
width: 20%;
}
> div {
height: 100%;
> a {
padding: 1rem 0.5rem;
padding: 0.5rem 0.5rem;
height: 100%;
display: block;
font-weight: 800;
@@ -54,6 +54,9 @@
justify-content: space-around;
transform: translateY(0);
transition: transform 0.2s ease-out;
@media (min-width: $breakpoint_tablet) {
padding: 1rem 0.5rem;
}
}
> a::after {
content: "\2003 →";
@@ -63,15 +66,21 @@
text-decoration: none !important;
color: white;
border: solid 1px white;
width: 3rem;
height: 3rem;
width: 1.8rem;
height: 1.8rem;
border-radius: 1.5rem;
font-size: 1.6rem;
font-size: 1.2rem;
display: flex;
justify-content: center;
align-items: center;
padding-bottom: 10px;
margin-right: 0.6rem;
padding-bottom: 5px;
@media (min-width: $breakpoint_tablet) {
padding-bottom: 10px;
width: 3rem;
height: 3rem;
font-size: 1.6rem;
}
}
> a:hover {
transform: translateY(-2px);
@@ -236,7 +245,7 @@
> div > div > div {
display: grid;
grid-template-columns: 0.3fr 1fr 1fr;
grid-template-rows: repeat(8, auto);
grid-template-rows: repeat(9, auto);
.views-row {
margin-bottom: unset;
}
@@ -247,11 +256,18 @@
justify-self: center;
align-self: center;
> img {
width: 15rem;
height: 15rem;
border-radius: 7.5rem;
padding: 1rem;
margin-right: 2rem;
width: 8rem;
height: 8rem;
border-radius: 4rem;
padding: 0.2rem;
margin-right: 0.4rem;
@media (min-width: $breakpoint_tablet) {
width: 15rem;
height: 15rem;
border-radius: 7.5rem;
padding: 1rem;
margin-right: 2rem;
}
}
}
> .offre-structure {
@@ -336,19 +352,18 @@
margin-bottom: 4vh;
}
> .file_fixed, > .liens_fixed {
grid-row: 8/9;
> h2 {
display: none;
}
> div {
padding: 0 calc($x_margin / 2);
text-align: right;
margin: 2rem 0;
@include fluo_button();
a {
display: inline-block;
}
@media (min-width: $breakpoint_desktop) {
text-align: right;
margin-bottom: 0 !important;
margin: 0;
position: fixed;
@@ -363,6 +378,12 @@
}
}
}
> .file_fixed {
grid-row: 9/10;
}
> .liens_fixed {
grid-row: 8/9;
}
> .file_fixed span:last-of-type {
display: none;
}