-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
61 lines (52 loc) · 874 Bytes
/
styles.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
* {
margin: 0;
padding: 0;
}
body {
height: 100vh;
}
body,body>section {
display: flex;
flex-direction: column;
flex-wrap: nowrap;
justify-content: space-between;
align-items: stretch;
align-content: stretch;
}
#controls {
display: flex;
flex-direction: column;
}
body>section {
margin-top: 10px;
margin-bottom: 10px;
flex-grow: 1;
}
body>section>button {
font-size: 5vh;
width: 100%;
margin-top: 2px;
margin-bottom: 2px;
flex-grow: 1;
}
button.hover {
background-color: rgba(255,255,0,0.5);
}
#info {
display: none;
}
button[data-active="1"] {
background-color: rgba(255,0,0,0.5);
color: white;
}
/*
#clicks button[data-button="1"] {
background: repeating-linear-gradient(
90deg,
red,
red 30%,
green 60%,
green 60%
);
}
*/