blob: 6cd1457f30891f43f2f1d2f56a92ad98a5bdaff6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
@use "../abstracts" as *;
.text-container {
background-color: $bg-text-container;
border-radius: $radius-text-container;
box-shadow: 0 2rem 3.5rem rgba(#000, 0.6);
padding: 3.5rem;
transform: skewX(-12deg);
width: 50%;
// mobile to smaller laptop screen sizes
@include responsive(laptop) {
transform: skewX(0);
width: auto;
}
// margin between paragraphs but not below the last paragraph
& p:not(:last-child) {
margin-bottom: 1.5rem;
}
}
.text-about {
animation: moveInRight 2s ease-out;
backface-visibility: hidden;
// mobile to smaller laptop screen sizes
@include responsive(laptop) {
animation: moveInRightMobile 2s ease-out;
margin-top: 5rem;
}
}
|