-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
111 lines (104 loc) · 1.74 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
107
108
109
110
111
@import url("https://fonts.googleapis.com/css?family=Montserrat:400,400i,700");
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: Montserrat, sans-serif;
}
.wrapper {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
min-height: 100vh;
}
h1,
#restart,
#match {
text-align: center;
padding: 20px;
}
#match {
font-size: 2rem;
}
span {
text-transform: uppercase;
font-style: italic;
border-bottom: medium dashed;
}
.boxes {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-evenly;
}
#first,
#second,
#third {
height: 200px;
width: 200px;
border-radius: 20px 5px;
margin: 10px;
cursor: pointer;
box-shadow: 3px 8px 8px 1px #bfc9ca;
}
.myButton {
background-color: #1c2833;
border-radius: 5px 20px;
display: inline-block;
cursor: pointer;
color: #ffffff;
font-family: Arial;
font-size: 20px;
border: none;
padding: 16px 42px;
text-decoration: none;
box-shadow: 2px 5px 8px 1px #888888;
}
.myButton:active {
position: relative;
top: 1px;
}
.myButton:focus {
outline: none;
}
#result {
visibility: hidden;
min-width: 250px;
margin-left: -125px;
background-color: #333;
color: #fff;
text-align: center;
border-radius: 2px;
padding: 16px;
position: fixed;
z-index: 1;
left: 45%;
bottom: 30px;
}
/* Show the snackbar when clicking on a button (class added with JavaScript) */
#result.show {
visibility: visible;
transform: all 0.5s;
animation: fadein 0.5s, fadeout 0.5s 2.8s;
}
@keyframes fadein {
from {
bottom: 0;
opacity: 0;
}
to {
bottom: 30px;
opacity: 1;
}
}
@keyframes fadeout {
from {
bottom: 30px;
opacity: 1;
}
to {
bottom: 0;
opacity: 0;
}
}