-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmain.css
More file actions
118 lines (105 loc) · 2.24 KB
/
main.css
File metadata and controls
118 lines (105 loc) · 2.24 KB
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
116
117
118
@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&display=swap");
* {
margin: 0;
padding: 0;
}
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-heading{
font-family: "Merriweather", serif;
text-align: center;
width: 60%;
position: absolute;
top: 20%;
left: 50%;
transform: translate(-50%, -50%);
}
.xcuse-heading h1{
padding: 20px;
}
.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%);
-webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.xcuse-main-box-centered {
text-align: center;
position: absolute;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
width: 80%;
}
.xcuse-main-box-centered h2 {
font-family: "Merriweather", serif;
font-weight: 700;
line-height: 1.6;
color: #292929;
padding: 15px;
}
.xcuse-main-box-button {
position: absolute;
bottom: -100px;
left: 50%;
-webkit-transform: translate(-50%, -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;
}
.btn:hover {
color: yellow;
}
footer {
position: absolute;
bottom: 0;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
}
.footer-icon{
padding: 20px;
}
@media (max-width: 500px){
.xcuse-heading{
width: 90%;
top: 25%;
}
}
@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%);
-webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
}
/*# sourceMappingURL=main.css.map */