-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
106 lines (92 loc) · 1.9 KB
/
style.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
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;300;400&display=swap");
body {
background: url(./bg.jpg) no-repeat center/cover;
height: 100vh;
background-attachment: fixed;
font-family: "Source Sans Pro", sans-serif;
content: "";
position: absolute;
width: 100%;
height: 100%;
}
.container {
color: #333;
margin: 0 auto;
text-align: center;
}
h1 {
font-weight: normal;
letter-spacing: 0.125rem;
text-transform: uppercase;
}
li {
font-size: 1.5em;
list-style-type: none;
text-transform: uppercase;
}
#countdown li {
display: inline-block;
padding: 1em;
}
#countdown li span {
display: block;
font-size: 4.5rem;
}
#randomCard {
position: relative;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wraps;
z-index: 1;
}
#randomCard .card {
position: relative;
width: 280px;
height: 300px;
margin: 30px;
box-shadow: 20px 20px;
box-shadow: 20px 20px 50px rgba(0, 0, 9, 0.5);
border-radius: 15px;
background: rgba(255, 255, 255, 0.1);
overflow: hidden;
display: flex;
justify-content: center;
border-top: 1px solid rgba(255, 255, 255, 0.5);
border-left: 1px solid rgba(255, 255, 255, 0.5);
backdrop-filter: blur(5px);
}
#randomCard .card .content {
padding: 20px;
text-align: center;
/*transform: translateY(100px);
opacity: 0;
transition: 0.5s;*/
}
#randomCard .card:hover .content {
transform: translateY(0px);
opacity: 1;
}
#randomCard .card .content h1 {
font-size: 1.8em;
color: #fff;
font-weight: 800;
z-index: 1;
}
#randomCard .card .content h2 {
font-size: 1em;
color: #fff;
font-weight: 800;
}
#randomCard .card .content a {
position: relative;
display: inline-block;
padding: 8px 20px;
margin-top: 15px;
background: #fff;
color: #000;
border-radius: 20px;
text-decoration: none;
font-weight: 500;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}