-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.scss
112 lines (97 loc) · 2.47 KB
/
style.scss
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
:root {
--color-dark-cyan: hsl(185, 75%, 39%) ;
--color-very-dark-desaturated-blue: hsl(229, 23%, 23%);
--color-dark-greyish-blue: hsl(227, 10%, 46%);
--color-dark-grey: hsl(0, 0%, 59%);
}
html {
box-sizing: border-box;
font-size: 50%;
}
*,
*::before,
*::after {
box-sizing: inherit;
margin: 0;
padding: 0;
}
body {
perspective: 1000px;
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
padding: 3rem;
background: url('../img/bg-pattern-top.svg'), url('../img/bg-pattern-bottom.svg'), var(--color-dark-cyan);
background-repeat: no-repeat;
background-position: right calc(47vw + 15%) bottom calc(65vh - 15vw), left calc(40vw + 25%) top calc(72vh - 10vw);
font-family: 'Kumbh Sans', sans-serif;
font-size: 2.25rem;
}
.container {
transform-style: preserve-3d;
display: flex;
align-items: center;
justify-content: center;
width: 120rem;
height: 80rem;
}
.card {
transform-style: preserve-3d;
border-radius: 2rem;
background-color: white;
box-shadow: 0 2rem 8rem rgba(0, 0, 0, .2);
overflow: hidden;
&__middle {
display: flex;
flex-direction: column;
align-items: center;
border-bottom: 1px solid #ededed;
&__img {
margin-top: -7.5rem;
margin-bottom: 3rem;
border: 5px solid white;
border-radius: 50%;
transition: all .5s ease;
}
&__title {
display: flex;
align-items: center;
margin-bottom: 1.25rem;
transition: all .5s ease;
h1 {
margin-right: 1rem;
color: var(--color-very-dark-desaturated-blue);
font-size: inherit;
}
span {
color: var(--color-dark-grey);
}
}
&__location {
margin-bottom: 3rem;
color: var(--color-dark-grey);
font-size: 1.75rem;
}
}
&__bottom {
display: flex;
justify-content: space-between;
padding: 3rem 6rem;
padding-top: 3.5rem;
padding-right: 7rem;
}
}
.figure {
text-align: center;
&__title {
margin-bottom: 1rem;
color: var(--color-very-dark-desaturated-blue);
font-weight: 700;
}
&__description {
color: var(--color-dark-grey);
font-size: 1.25rem;
letter-spacing: 1px;
}
}