ldc-legaulois/resources/sass/front/pages/_joinus.scss
2021-04-02 07:24:28 +02:00

219 lines
5.9 KiB
SCSS
Vendored

.content.joinus {
margin: 2rem auto !important;
padding: 2rem;
& > div {
margin-bottom: 2rem;
background-color: #fff;
}
.objective {
display: flex;
flex-direction: column;
align-items: center;
padding: 2rem;
& > h2 {
display: flex;
flex-direction: column;
align-items: center;
& > span:first-child {
font-size: 1.2em;
}
}
& > p {
margin-top: 2rem;
font-size: 2em;
}
& > figure {
display: flex;
flex-direction: column;
align-items: center;
picture {
border-radius: 5rem;
overflow: hidden;
height: 5.5rem;
width: 5.5rem;
display: inline-block;
img {
width: 5rem;
}
}
figcaption {
font-family: "Catamaran-Bold";
font-size: 1.7em;
}
}
}
.whyus {
padding: 1rem 0;
h2 {
text-align: center;
}
.pictures {
padding: 1rem 0;
display: grid;
grid-template-areas:
"d1 d2 d3 d3"
"d4 d5 d6 d7"
"d8 d8 d9 d10";
@include max-width($tablet) {
grid-template-areas:
"d1 d2"
"d3 d3"
"d4 d5"
"d6 d7"
"d8 d8"
"d9 d10";
}
picture {
margin: 1em;
img {
width: 100%;
}
&:nth-child(1) {
grid-area: d1;
}
&:nth-child(2) {
grid-area: d2;
}
&:nth-child(3) {
grid-area: d3;
}
&:nth-child(4) {
grid-area: d4;
}
&:nth-child(5) {
grid-area: d5;
}
&:nth-child(6) {
grid-area: d6;
}
&:nth-child(7) {
grid-area: d7;
}
&:nth-child(8) {
grid-area: d8;
}
&:nth-child(9) {
grid-area: d9;
}
&:nth-child(10) {
grid-area: d10;
}
}
}
}
.values {
padding: 3rem;
@include max-width($mobile) {
padding: 1rem;
}
& > h3 {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 3rem;
& > span:first-child {
font-size: 1.2em;
}
}
.articles {
display: flex;
justify-content: space-around;
@include max-width($tablet + 100px) {
flex-direction: column;
}
article {
position: relative;
flex-basis: 40%;
display: flex;
flex-direction: column;
& > picture img {
width: 100%;
}
& > div {
display: flex;
flex-direction: column;
justify-content: space-between;
position: relative;
top: -6rem;
background-color: #f3ebe4;
text-align: center;
margin: 0 3rem;
padding: 2rem;
height: 100%;
@include max-width($mobile) {
margin: 0;
top: -2rem;
}
h3 {
text-align: center;
font-size: 4.2em;
margin-bottom: 1rem;
}
p {
font-size: 1.6em;
margin-bottom: 1rem;
}
div {
a {
position: relative;
bottom: 0;
display: inline;
border: none;
padding: 0.6rem 3rem;
margin: 0;
text-decoration: none;
background: #663333;
color: #ffffff;
letter-spacing: 0.02em;
font-size: 1rem;
border-radius: 1.5em;
text-transform: uppercase;
line-height: 2.4em;
font-weight: bold;
font-family: "Catamaran-Regular";
line-height: 2.8em;
cursor: pointer;
text-align: center;
transition: background 250ms ease-in-out,
transform 150ms ease;
-webkit-appearance: none;
-moz-appearance: none;
}
a:disabled,
a[disabled] {
color: #AAA;
}
a:hover,
a:focus {
background: darken(#663333, 10%);
}
a:active {
transform: scale(0.99);
}
}
}
}
}
}
}