new lesson

This commit is contained in:
dqnid committed 2024-01-14 16:42:47 +01:00
1 parent fe912888e4
commit 445aec6f5f
3160 files changed
+332 -316563

No files matched your search

+89 -8
View File
@@ -106,6 +106,12 @@ body {
.u-margin-bottom-big {
margin-bottom: 8rem; }
.u-margin-top-big {
margin-top: 8rem; }
.u-margin-top-huge {
margin-top: 10rem; }
.btn:link, .btn:visited {
text-transform: uppercase;
text-decoration: none;
@@ -137,6 +143,12 @@ body {
.btn--white::after {
background-color: #fff; }
.btn--green {
background-color: #55c57a;
color: #fff; }
.btn--green::after {
background-color: #55c57a; }
.btn::after {
content: "";
display: inline-block;
@@ -217,26 +229,95 @@ body {
perspective: 150rem;
-moz-perspective: 150rem;
position: relative;
height: 50rem; }
height: 52rem; }
.card__side {
color: #fff;
font-size: 2rem;
height: 50rem;
height: 52rem;
transition: all .8s ease;
position: absolute;
top: 0;
left: 0;
width: 100%;
backface-visibility: hidden; }
backface-visibility: hidden;
border-radius: 3px;
overflow: hidden;
box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15); }
.card__side--front {
background-color: #fff; }
.card__side--back {
transform: rotateY(180deg);
background-color: green; }
transform: rotateY(180deg); }
.card__side--back-1 {
background-image: linear-gradient(to right bottom, #ffb900, #ff7730); }
.card__side--back-2 {
background-image: linear-gradient(to right bottom, #7ed56f, #28b485); }
.card__side--back-3 {
background-image: linear-gradient(to right bottom, #2998ff, #5643fa); }
.card:hover .card__side--front {
transform: rotateY(180deg); }
transform: rotateY(-180deg); }
.card:hover .card__side--back {
transform: rotateY(0); }
.card__picture {
background-size: cover;
height: 23rem;
background-blend-mode: screen;
-webkit-clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
border-top-left-radius: 3px;
border-top-right-radius: 3px; }
.card__picture--1 {
background-image: linear-gradient(to right bottom, #ffb900, #ff7730), url(../img/nat-5.jpg); }
.card__picture--2 {
background-image: linear-gradient(to right bottom, #7ed56f, #28b485), url(../img/nat-6.jpg); }
.card__picture--3 {
background-image: linear-gradient(to right bottom, #2998ff, #5643fa), url(../img/nat-7.jpg); }
.card__heading {
font-size: 2.8rem;
font-weight: 300;
text-transform: uppercase;
color: #fff;
position: absolute;
top: 12rem;
right: 2rem;
text-align: right;
width: 75%; }
.card__heading--span {
padding: 1rem 1.5rem;
-webkit-box-decoration-break: clone;
box-decoration-break: clone; }
.card__heading--span--1 {
background-image: linear-gradient(to right bottom, rgba(255, 185, 0, 0.85), #ff7730); }
.card__heading--span--2 {
background-image: linear-gradient(to right bottom, rgba(126, 213, 111, 0.85), #28b485); }
.card__heading--span--3 {
background-image: linear-gradient(to right bottom, rgba(41, 152, 255, 0.85), #5643fa); }
.card__details {
padding: 3rem; }
.card__details ul {
list-style: none;
width: 80%;
margin: 0 auto; }
.card__details ul li {
text-align: center;
font-size: 1.5rem;
padding: 1rem; }
.card__details ul li:not(:last-child) {
border-bottom: 1px solid #eee; }
.card__cta {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 90%;
text-align: center; }
.card__price-box {
color: #fff;
margin-bottom: 8rem; }
.card__price-only {
font-size: 1.4rem;
text-transform: uppercase; }
.card__price-value {
font-size: 6rem;
font-weight: 100; }
.header {
height: 95vh;
@@ -310,5 +391,5 @@ body {
.section-tours {
background-color: #f7f7f7;
padding: 25rem 0 50rem 0;
padding: 25rem 0 15rem 0;
margin-top: -10rem; }