blob: 95d2944d1985230a4773d5ae0a7281ce10ac1f5a (
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
33
|
@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%;
// 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
@media screen and (max-width: 1380px) {
.text-container {
transform: skewX(0);
width: auto;
}
.text-about {
animation: moveInRightMobile 2s ease-out;
margin-top: 5rem;
}
}
|