-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.scss
94 lines (94 loc) · 1.72 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
* {
-webkit-tap-highlight-color: transparent;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: Kumbh Sans;
}
.attribution {
font-size: 11px;
text-align: center;
position: fixed;
bottom: 5px;
a {
color: hsl(228, 45%, 44%);
}
}
.container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #19a1ad;
background-image: url(images/bg-pattern-top.svg), url(images/bg-pattern-bottom.svg);
background-position: top -526px left -328px, bottom -644px right -253px;
background-repeat: no-repeat, no-repeat;
@media (max-width: 375px) {
background-position: top -642px left -728px, bottom -502px right -799px;
}
}
.card {
&_bg {
height: 140px;
}
width: 350px;
height: 373px;
position: relative;
background-color: white;
overflow: hidden;
border-radius: 5%;
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
&_profil_photo {
position: absolute;
width: 110px;
height: 110px;
right: 120px;
top: 85px;
img {
border-radius: 50%;
border: white solid 5px;
width: 110px;
height: 110px;
}
}
&_title {
text-align: center;
margin-top: 75px;
line-height: 1.7;
h3 {
display: inline;
font-size: 18px;
}
}
footer {
display: flex;
justify-content: space-evenly;
border-top: solid 1px #e7e7e7;
padding-top: 20px;
margin-top: 19px;
}
}
.age {
display: inline-block;
margin-left: 7px;
color: hsl(227, 10%, 46%);
font-size: 18px;
}
.from {
display: block;
text-align: center;
color: hsl(0, 0%, 59%);
}
.center {
text-align: center;
line-height: 1.5;
}
.desc {
color: hsl(0, 0%, 59%);
font-size: 10px;
letter-spacing: 2px;
}