-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.scss
92 lines (80 loc) · 1.79 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
* {
margin: 0;
padding: 0;
}
@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&display=swap");
body{
background: url("https://products.ls.graphics/mesh-gradients/images/61.-Lavender.jpg");
background-position: center;
background-size: cover;
height: 100vh;
background-repeat: no-repeat;
}
.xcuse-main {
&-box {
width: 60%;
min-height: 250px;
background-color: #fff;
border-radius: 24px;
position: absolute;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
// border: 6px solid #ffc915;
&-centered {
text-align: center;
position: absolute;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
width: 80%;
h2 {
font-family: "Merriweather", serif;
font-weight: 700;
line-height: 1.6;
color: #292929;
padding: 15px;
}
}
&-button {
position: absolute;
bottom: -100px;
left: 50%;
transform: translate(-50%, -50%);
font-family: "Merriweather", serif;
font-weight: 700;
border-radius: 12px;
overflow: hidden;
white-space: nowrap;
}
}
}
.btn {
background: #142cd6;
color: #fff;
font-weight: 600;
&:hover{
color: rgba(255, 255, 0, 1);
}
}
footer{
position: absolute;
bottom: 0;
}
@media (max-width: 768px) {
.xcuse-main-box {
width: 90%;
min-height: 200px;
background-color: #fff;
border-radius: 24px;
position: absolute;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
}