-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.css
135 lines (110 loc) · 2.23 KB
/
app.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
/* Here goes the common css for all the pages */
@font-face {
font-family: Neonblitz;
font-style: normal;
font-weight: 400;
src: local('Neonblitz'), url(https://fonts.cdnfonts.com/s/54108/Neonblitz-Yzg8O.woff) format('woff')
}
* {
--slide-animation-time: 500ms;
}
body {
font-size: 18px;
background-color: #010a01;
margin: 0;
}
.header {
font-family: Neonblitz, sans-serif;
display: flex;
gap: 20px;
background-color: rgb(33, 37, 41);
padding: 15px;
position: sticky;
z-index: 1;
}
.header a {
text-decoration: none;
color: #ccc;
}
.nav-options {
display: flex;
gap: 20px;
}
.header a:hover {
color: #fff;
}
#three-bars {
display: none;
color: #888;
transform: scale(2);
right: 0;
position: absolute;
margin-right: 30px;
border-radius: 2px;
padding: 1px 3px;
border: 1px solid #88888870;
}
#three-bars:hover {
border: 1px solid #888888;
outline: 0;
cursor: pointer;
}
@media only screen and (max-width: 990px) {
#three-bars {
display: block;
}
.nav-options {
top: 50px;
position: absolute;
background-color: inherit;
width: 100%;
left: 0;
transition: height var(--slide-animation-time);
height: 0;
flex-direction: column;
overflow: hidden;
}
.nav-options a{
margin-left: 15px;
}
}
#cards-grid{
display: flex;
gap: 10px;
flex-wrap: wrap;
max-width: 1050px;
justify-content: center;
}
.card{
width: 200px;
height: 200px;
background-color: #ddd;
transition: transform 500ms;
font-family: Verdana, Geneva, Tahoma, sans-serif;
text-align: center;
}
.card_signal{
transition: transform 500ms;
transform-style: preserve-3d;
width: 100%;
height: 100%;
}
.card:hover .card_signal{
transform: rotateY(180deg);
}
.card_front, .card_back{
position: absolute;
backface-visibility: hidden;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
width: 100%;
height: 100%;
}
.card_back{
transform: rotateY(180deg);
}
.card_front span, .card_front img, .card_back span, .card_back img{
display: block;
}