-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
83 lines (78 loc) · 1.3 KB
/
style.css
File metadata and controls
83 lines (78 loc) · 1.3 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
/* a minimalist set of CSS resets */
/* default to border-box */
html {
box-sizing: border-box;
font-size: 16px;
}
*, *:before, *:after {
box-sizing: inherit;
}
/* adjust typography defaults */
body {
margin: 1rem;
font-family: sans-serif;
line-height: 1.5;
background-color: slategrey;
color: white;
}
h1 {
font-family: verdana, arial, sans-serif;
}
button {
cursor: pointer;
background: hsl(340deg 100% 32%);
border-radius: 50%;
border: none;
padding: 0;
cursor: pointer;
outline-offset: 4px;
padding: 12px 42px;
font-size: 1.25rem;
background: hsl(345deg 100% 47%);
color: white;
transform: translateY(-6px);
}
button:active{
transform: translateY(-2px);
}
#gameButtonArea > button {
width: 200px;
height: 200px;
margin: 2px;
border: 3px solid grey;
color: black;
font-size: 50px;
}
.hidden {
display: none;
}
#button1{
background: lightgreen;
}
#button1:active, #button1.lit {
background: green;
}
#button2{
background: lightblue;
}
#button2:active, #button2.lit{
background: blue;
}
#button3{
background: pink;
}
#button3:active, #button3.lit{
background: red;
}
#button4{
background: lightyellow;
}
#button4:active, #button4.lit{
background: yellow;
}
/* images and videos max out at full width */
img,
video {
height: auto;
max-width: 100%;
}