-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchristmasstyle.css
146 lines (139 loc) · 2.67 KB
/
christmasstyle.css
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&family=Rammetto+One&display=swap');
:root{
--smallFont: 'Manrope', sans-serif;
--largeFont: 'Rammetto One', cursive;
}
*{
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: var(--smallFont);
}
body{
line-height: 1.6;
}
.container{
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
position: relative;
padding: 0 1.2rem;
}
.container::after{
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background:rgba(0, 0, 0, 0.3);
}
#bg-video{
position: absolute;
z-index: -1;
width: 100%;
height: 100%;
object-fit: cover;
}
.content{
z-index: 1;
color: #fff;
margin: 3rem 0;
}
.content h1{
font-size: 2rem;
text-transform: uppercase;
font-family: var(--largeFont);
letter-spacing: 6px;
word-spacing: 5px;
position: relative;
padding-bottom: 0.8rem;
}
.content h1::after{
position: absolute;
content: "";
bottom: 0;
left: 50%;
transform: translateX(-50%);
height: 1px;
border-radius: 5px;
width: 60%;
background: #ffbf00;
}
.content h2{
font-size: 1.15rem;
font-weight: 400;
text-transform: uppercase;
letter-spacing: 7px;
padding-top: 1.2rem;
}
.time-show{
margin: 3.5rem 0;
display: flex;
flex-direction: column;
align-items: center;
}
.time-show div{
background: #fff;
margin: 0.5rem;
width: 150px;
height: 140px;
color: #000;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.time-show div span{
display: block;
font-size: 3rem;
font-weight: 400;
opacity: 0.9;
}
.time-show div p{
color: #B11809;
text-transform: uppercase;
font-size: 1.2rem;
letter-spacing: 2px;
font-weight: 600;
}
.container blockquote{
font-size: 1.2rem;
font-weight: 400;
text-transform: uppercase;
letter-spacing: 2px;
}
.container blockquote span{
font-size: 0.6rem;
display: inline-block;
}
@media screen and (min-width: 480px){
.content h1{
font-size: 3rem;
}
.time-show{
flex-direction: row;
flex-wrap: wrap;
}
.time-show div{
flex: 0 0 calc(50% - 1rem);
width: 190px;
height: 180px;
}
}
@media screen and (min-width: 768px){
.content h1{
font-size: 3.4rem;
}
}
@media screen and (min-width: 992px){
.container{
padding: 0 3rem;
}
.time-show div{
flex: 0 0 calc(25% - 1rem);
}
}