-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
120 lines (120 loc) · 2.13 KB
/
main.css
File metadata and controls
120 lines (120 loc) · 2.13 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
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
118
119
120
@font-face {
font-family: Alice;
src: url("fonts/Beyond Wonderland.ttf");
}
html {
min-height: 100%;
}
body {
background: #0F0F0F url(images/octowl.svg) no-repeat center center fixed;
background-size: cover;
transition: background-color 0.2s ease-in-out;
}
h1 {
font: 4.5em Alice, "Palatino Linotype", "Book Antiqua", Palatino, serif;
line-height: 1.2em;
padding: 35px;
}
h1::first-line {
color: #460702;
font-size: 2em;
}
h1, h2 {
color: #F6E6CE;
text-align: center;
}
h2, button {
font: 2em "Palatino Linotype", "Book Antiqua", Palatino, serif;
}
input, button {
text-align: center;
margin: 10px 0;
}
li{
display: inline-block;
text-align: center;
background: linear-gradient(#460702, #78040D);
border-color: #300702;
border-radius: 5%;
color: #EDE8E2;
padding: 10px;
width: 60px;
font: 2em "Palatino Linotype", "Book Antiqua", Palatino, serif;
margin: auto 10px;
}
.content {
opacity: 1.0;
transition: opacity 0.2s ease-in-out;
}
.level-1 {
background-color: #1F0F0F;
}
.level-1 .content {
opacity: 0.75;
}
.level-2 {
background-color: #2F0F0F;
}
.level-2 .content {
opacity: 0.5;
}
.level-3 {
background-color: #3F0F0F;
}
.level-3 .content {
opacity: 0.25;
}
.level-4 {
background-color: #4F0F0F;
}
.level-4 .content {
opacity: 0.1;
}
.level-5, .end-game {
background-color: #5F0F0F;
}
.level-5 .content {
opacity: 0.0;
}
.guess-controls {
width: 30%;
margin: 0 auto;
}
.button-controls {
text-align: center;
width: 40%;
margin: 20px auto;
}
.button-controls button {
width: 40%;
margin: 0 auto;
}
#victim-guess {
background-color: #EDE8E2;
border-color: #C3B3A6;
}
#victim-guess:focus {
box-shadow: 0 0 20px #78040D;
border-color: #460702;
}
#oracle {
display: none;
text-align: center;
list-style: none;
margin: auto;
}
#guess {
background: linear-gradient(#460702, #78040D);
border-color: #300702;
color: #EDE8E2;
}
#guess:hover, li:hover {
background: linear-gradient(#300702, #460702);
}
#reset, #hint {
background: linear-gradient(#C3B3A6, #EDE8E2);
border-color: #A39376;
}
#reset:hover, #hint:hover {
background: linear-gradient(#A39376, #C3B3A6);
}