-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
115 lines (101 loc) · 2.06 KB
/
styles.css
File metadata and controls
115 lines (101 loc) · 2.06 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
:root {
--base: #537899;
--dark: #304659;
--dark80: rgba(34, 51, 66, 0.8);
--light: #f5f9fc;
}
* {
margin: 0;
padding: 0;
}
body {
background-color: var(--dark);
font-family: Consolas;
color: white;
text-align: center;
height: 100vh;
}
header,
footer {
height: 90px;
display: flex;
justify-content: center;
align-items: center;
}
footer {
bottom: 0;
position: fixed;
width: 100vw;
flex-direction: column;
}
main {
margin: auto;
max-width: 1200px;
height: calc(100vh - 2 * 90px);
}
.description {
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-webkit-transform-origin: 50% 50%;
-moz-transform: translate(-50%, -50%);
-moz-transform-origin: 50% 50%;
-ms-transform: translate(-50%, -50%);
-ms-transform-origin: 50% 50%;
transform: translate(-50%, -50%);
transform-origin: 50% 50%;
text-transform: uppercase;
}
.content-holder {
position: relative;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-webkit-transform-origin: 50% 50%;
-moz-transform: translate(-50%, -50%);
-moz-transform-origin: 50% 50%;
-ms-transform: translate(-50%, -50%);
-ms-transform-origin: 50% 50%;
transform: translate(-50%, -50%);
transform-origin: 50% 50%;
}
.hide {
display: none;
}
.cards {
display: grid;
justify-content: center;
align-items: center;
grid-template-columns: repeat(auto-fill, 240px);
grid-gap: 50px;
}
.card {
width: 240px;
height: 90px;
border-radius: 25px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: var(--light);
box-shadow: 5px 5px 18px var(--dark80);
transition: transform 0.2s;
color: var(--dark);
border-top: 5px solid var(--base);
cursor: pointer !important;
}
h2.code {
font-size: 10rem;
padding-bottom: 3rem;
}
.event-description {
font-size: 2rem;
}
.copy {
font-size: 0.8rem;
color: var(--base);
}
a {
color: var(--light);
}