-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
60 lines (59 loc) · 1.2 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
@import url('https://fonts.googleapis.com/css?family=Oswald');
html, body {
min-height: 90vh;
width: 100%;
height: auto;
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
font-family: "Oswald", sans-serif;
background: linear-gradient(to left, #3ab0ba, #68ff7d);
}
h1 {
color: #fff;
font-size: 5vw;
letter-spacing: 6px;
}
.pad {
width: 500px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.box {
width: 100px;
display: flex;
height: 100px;
margin: 10px 0;
font-size: 20px;
user-select: none;
align-items: center;
-ms-user-select: none;
background-color: #444;
-moz-user-select: none;
justify-content: center;
-webkit-user-select: none;
color: rgba(255, 255, 255, 0.4);
box-shadow: 0 8px 6px -6px black;
border: 2px solid #2ecc71;
}
.box:hover {
cursor: pointer;
background-color: #5e5e5e;
}
.box:active {
transition: all 0.2s;
transform: scale(1.1);
background-color: #2b2b2b;
}
.box.active {
transition: all 0.2s;
transform: scale(1.1);
background-color: #2b2b2b;
}
@media screen and (max-width: 600px) {
.pad {
width: 88%;
}
}