-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
86 lines (75 loc) · 1.57 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
/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Lato&display=swap");
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
font-family: 'Lato', sans-serif;
}
header {
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
transition: 0.2s all;
padding: 10px;
}
.box {
width: 300px;
height: 250px;
border-radius: 12px;
box-shadow: 3px 3px 8px rgba(0,0,0,0.1);
background: #ddd;
color: #111;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 2rem;
text-align: center;
transition: all 0.2s;
opacity: 0.95;
}
.box:hover {
transform: scale(1.025);
opacity: 1;
box-shadow: 6px 6px 18px rgba(0,0,0,0.1);
}
.box span {
cursor: pointer;
transition: 0.1s ease-in;
}
.box span:active {
transform: scale(0.94);
}
.box p {
margin-top: 10px;
transition: 0.01s all 0.09s;
font-weight: bold;
text-align: center;
display: none;
}
.box .ccode {
border: 0.25rem dotted #111;
padding: 1.35rem;
border-radius: 5px;
text-transform: uppercase;
}
.box .btn {
cursor: pointer;
border-radius: 5px;
padding: 0.75rem;
color: #ddd;
font-size: 1.4rem;
background: #333;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.box .btn:active {
transform: scale(0.975);
background: rgba(0,0,0,0.9);
}