-
Notifications
You must be signed in to change notification settings - Fork 199
/
Copy pathgame.css
133 lines (114 loc) · 2.69 KB
/
game.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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
@keyframes flickerAnimation {
0% { opacity:1; }
50% { opacity:0; }
100% { opacity:1; }
}
@font-face {
font-family: 'sabofilled';
src: url('/Users/nuramirahsham/Desktop/GENERAL_ASSEMBLY/git-practice/choose_your_own_adventure_js/webfontkit-20200614-015843/sabo-filled-webfont.woff2') format('woff2'),
url('/Users/nuramirahsham/Desktop/GENERAL_ASSEMBLY/git-practice/choose_your_own_adventure_js/webfontkit-20200614-015843/sabo-filled-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'saboregular';
src: url('/Users/nuramirahsham/Desktop/GENERAL_ASSEMBLY/git-practice/choose_your_own_adventure_js/webfontkit-20200614-015843/sabo-regular-webfont.woff2') format('woff2'),
url('/Users/nuramirahsham/Desktop/GENERAL_ASSEMBLY/git-practice/choose_your_own_adventure_js/webfontkit-20200614-015843/sabo-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
html {
background-image: url('/Users/nuramirahsham/Desktop/GENERAL_ASSEMBLY/git-practice/choose_your_own_adventure_js/bg.png');
background-size: 100%;
background-color: black;
text-transform: uppercase;
}
body {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
font-family: 'sabofilled', monospace;
text-align: center;
font-size: 20px;
}
h1 {
font-size: 20px;
letter-spacing: 1px;
margin: 3px;
}
h2 {
font-family: 'saboregular', monospace;
font-size: 40px;
margin: 5px;
text-overflow: clip;
letter-spacing: 3px;
text-shadow: -2px -2px 1px rgba(30,242,241, 0.9) , 2px 2px 1px rgba(246,5,10,0.9);
}
#intro {
font-size: 24px;
line-height: 32px;
color: rgb(30,242,241);
margin-top: 40px;
}
.bracket {
display: inline;
font-size: 30px;
}
#start-button {
background-color: black;
border: none;
color: white;
font-family: 'sabofilled', monospace;
font-size: 24px;
}
#start-button:hover {
color: rgb(246,5,10);
}
#gameIntro {
display: block;
}
div {
display: none;
font-size: 26px;
line-height: 32px;
color: rgb(30,242,241);
margin-top: 40px;
}
button {
background-color: black;
border: 2px solid white;
border-radius: 12px;
color: white;
font-family: 'sabofilled', monospace;
font-size: 24px;
padding: 15px;
margin: 10px;
}
button:hover {
color: black;
background-color: white;
}
#ditch p {
font-size: 30px;
color: rgb(246,5,10);
margin-bottom: 50px;
}
.restart {
background-color: black;
border: 2px solid white;
border-radius: 12px;
color: white;
font-family: 'sabofilled', monospace;
font-size: 24px;
padding: 10px;
text-decoration: none;
}
.restart:hover {
color: black;
background-color: white;
}
#takebus button {
padding: 10px 30px;
}