-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.scss
115 lines (94 loc) · 2.64 KB
/
main.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
113
114
115
$color-border: rgb(202, 205, 214);
.popup-container {
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.253);
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
.popup {
//position
display: flex;
flex-wrap: wrap;
margin: 100px;
border-radius: 20px;
overflow: hidden;
.popup-image-container {
width: 350px;
flex-grow: 1;
}
.image-in-container {
display: block;
height: 450px;
}
.content {
padding: 40px;
flex-grow: 1;
width: 350px;
text-align: center;
background-color: white;
.popup-headline {
//font
font-family: Roboto, sans-serif;
font-weight: 900;
font-size: 5rem;
letter-spacing: -0.035em;
margin-bottom: 30px;
}
.popup-paragraph {
font-size: 1.6rem;
color: #646369;
line-height: 1.4em;
margin-bottom: 40px;
}
.social-headline {
// position
text-align: center;
//style
text-transform: uppercase;
font-size: 1.8rem;
margin-bottom: 20px;
}
.social-container {
//position
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
gap: 15px;
.icon-container {
// position
display: grid;
place-items: center;
padding: 15px;
// style
border: 1px $color-border solid;
border-radius: 10px;
.icon {
//position
width: 20px;
}
}
}
}
}
}
/* ================================= Reset */
*::before,
*::after,
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
@font-face {
font-family: text-font;
src: url(/src/fonts/Open_Sans/OpenSans-Light.ttf);
}
:root {
font-size: 62.5%;
font-family: text-font, Verdana, Geneva, Tahoma, sans-serif;
}
/* ================================= Reset End */