avancées centre de ressource
This commit is contained in:
@@ -773,7 +773,8 @@ body{
|
||||
font-size: $labeur-font-size-desktop;
|
||||
width: $modale-width-desktop;
|
||||
}
|
||||
&:has(#centre-de-ressource) {
|
||||
&:has(#centre-de-ressource),
|
||||
&:has(#ressource-item-header) {
|
||||
@media screen and (min-width: $tablet-min-width) {
|
||||
left: 8vw;
|
||||
width: 84vw;
|
||||
@@ -927,6 +928,9 @@ body{
|
||||
padding: 0 $modale-x-padding;
|
||||
padding-bottom: 5vh;
|
||||
box-sizing: border-box;
|
||||
&:has(#ressource-item-header) {
|
||||
padding-right: 50%;
|
||||
}
|
||||
> .partie,
|
||||
> #equipe {
|
||||
width: 100%;
|
||||
@@ -954,7 +958,8 @@ body{
|
||||
}
|
||||
.partie-title,
|
||||
> .chiffres-cles,
|
||||
> .entretien {
|
||||
> .entretien,
|
||||
> .gallerie {
|
||||
> h3 {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
@@ -1091,6 +1096,54 @@ body{
|
||||
> .videos iframe {
|
||||
margin: 2rem 0;
|
||||
}
|
||||
> .gallerie {
|
||||
> .intro {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
> .images-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
column-gap: 5rem;
|
||||
row-gap: 2rem;
|
||||
}
|
||||
figure {
|
||||
margin: 0;
|
||||
> img {
|
||||
cursor: pointer;
|
||||
transform: scale(1);
|
||||
transition: transform 0.2s ease-in-out;
|
||||
&:hover {
|
||||
transform: scale(1.02);
|
||||
}
|
||||
&.vertical {
|
||||
box-sizing: border-box;
|
||||
padding: 0 25%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
> .document {
|
||||
.download {
|
||||
> a {
|
||||
color: $main-color;
|
||||
text-decoration: none;
|
||||
font-size: $sm-font-size-mobile;
|
||||
background-color: $brand-color;
|
||||
font-weight: bold;
|
||||
padding: 0.5rem 1rem;
|
||||
border-radius: 1rem;
|
||||
display: inline-block;
|
||||
transform: scale(1);
|
||||
transition: transform 0.2s ease-in-out;
|
||||
&:hover {
|
||||
transform: scale(1.02);
|
||||
}
|
||||
@media screen and (min-width: $desktop-min-width) {
|
||||
font-size: $sm-font-size-desktop;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.caption {
|
||||
font-size: $sm-font-size-mobile;
|
||||
@@ -1174,7 +1227,120 @@ body{
|
||||
}
|
||||
}
|
||||
#centre-de-ressource {
|
||||
background-color: red;
|
||||
> .intro {
|
||||
|
||||
}
|
||||
> .type-section {
|
||||
> h3 {
|
||||
display: inline-block;
|
||||
font-size: $l-font-size-mobile;
|
||||
font-family: 'Joost', sans-serif;
|
||||
margin: 0;
|
||||
margin-bottom: 2rem;
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
padding: 0 0.5rem;
|
||||
background: linear-gradient(transparent 70%, $brand-color 70%);
|
||||
@media screen and (min-width: $desktop-min-width) {
|
||||
font-size: $l-font-size-desktop;
|
||||
}
|
||||
}
|
||||
> .ressource-list > div {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
align-items: start;
|
||||
gap: 2rem;
|
||||
margin-bottom: 2.5rem;
|
||||
> .ressource-item {
|
||||
display: flex;
|
||||
gap: 1.5rem;
|
||||
cursor: pointer;
|
||||
transform: scale(1);
|
||||
transition: transform 0.2s ease-in-out;
|
||||
&:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
> figure {
|
||||
width: 40%;
|
||||
margin: 0;
|
||||
}
|
||||
> div {
|
||||
width: 50%;
|
||||
> h4 {
|
||||
font-size: $m-font-size-mobile;
|
||||
font-family: 'Joost', sans-serif;
|
||||
margin: 0;
|
||||
margin-bottom: 0.5rem;
|
||||
@media screen and (min-width: $desktop-min-width) {
|
||||
font-size: $m-font-size-desktop;
|
||||
}
|
||||
}
|
||||
> p {
|
||||
margin: 0;
|
||||
font-size: $sm-font-size-mobile;
|
||||
@media screen and (min-width: $desktop-min-width) {
|
||||
font-size: $sm-font-size-desktop;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
> .button-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
> .ressource-button {
|
||||
display: inline;
|
||||
font-size: $sm-font-size-mobile;
|
||||
background-color: $brand-color;
|
||||
padding: 0.5rem 1.5rem;
|
||||
border-radius: 1rem;
|
||||
cursor: pointer;
|
||||
transition: transform 0.2s ease-in-out;
|
||||
transform: scale(1);
|
||||
&:hover {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
@media screen and (min-width: $desktop-min-width) {
|
||||
font-size: $sm-font-size-desktop;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
> #ressource-item-header {
|
||||
> .retour {
|
||||
margin-bottom: 1.5rem;
|
||||
> p {
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
font-size: $sm-font-size-mobile;
|
||||
@media screen and (min-width: $desktop-min-width) {
|
||||
font-size: $sm-font-size-desktop;
|
||||
}
|
||||
}
|
||||
}
|
||||
> .type,
|
||||
> .meta {
|
||||
text-align: center;
|
||||
font-size: $m-font-size-mobile;
|
||||
font-family: 'Joost', sans-serif;
|
||||
@media screen and (min-width: $desktop-min-width) {
|
||||
font-size: $m-font-size-desktop;
|
||||
}
|
||||
}
|
||||
> .title {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
> h2 {
|
||||
display: inline-block;
|
||||
margin-top: 1rem;
|
||||
font-size: $xl-font-size-mobile;
|
||||
font-family: 'Joost', sans-serif;
|
||||
@media screen and (min-width: $desktop-min-width) {
|
||||
font-size: $xl-font-size-desktop;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
> .pieces-jointes {
|
||||
|
Reference in New Issue
Block a user