-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
117 lines (100 loc) · 1.71 KB
/
main.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
112
113
114
115
116
117
/* general */
html, body {
font-family: 'Press Start 2P', cursive;
height: 100%;
background-color: black;
user-select: none;
}
body {
margin: 6vh 12vw;
}
body,
a {
color: white;
}
/* div we write into */
#output {
padding: 0;
margin: 0 0 10rem 0;
display: flex;
align-items: center;
flex-direction: column;
word-spacing: .2rem;
line-height: 3rem;
}
/* container for the slide */
.slide {
padding: 2rem 1rem;
margin-bottom: 1rem;
width: 100%;
font-size: large;
}
/* intro scene */
.intro {
font-size: xx-large;
background-color: red;
text-align: center;
vertical-align: middle;
height: 15rem;
line-height: 15rem;
}
.slide-0 .option {
text-align: center;
animation: blinker 2s linear infinite;
}
.slide-0 .option:hover,
.slide-0 .option:active {
font-weight: bolder;
animation: none;
}
/* slide containers by type */
.match {
background-color: blue;
}
.scene {
background-color: white;
color: black;
}
.decision {
background-color: #673ab7;
}
.win {
background-color: green;
}
.loss {
background-color: darkorchid;
}
/* option blocks */
.option {
color: #00BCD4;
border: 2px solid #000;
outline: .2rem dashed #fff;
outline-offset: 10px;
margin: 1rem 1rem 2rem;
width: 100%;
cursor: pointer;
letter-spacing: .2rem;
}
.option:focus,
.option:hover {
font-weight: bolder;
color:yellow;
}
footer {
text-align: center;
line-height: 2rem;
}
/* responsive */
@media only screen and (max-width: 900px) {
.slide,
.option {
font-size: small;
line-height: 2rem;
}
}
/* animation */
@keyframes blinker {
50% {
opacity: 0;
}
}