-
Notifications
You must be signed in to change notification settings - Fork 0
/
finalProject.css
126 lines (124 loc) · 2.85 KB
/
finalProject.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
/* Sets the entire background of the page black, and sets default styling for color and font-family. */
body {
background-color: black;
font-family: monospace;
color: #55ff55;
}
/* Sets default font-size for all paragraph tags. */
p {
font-size: 16px;
}
/* Gets rid of ugly blue outline when input boxes are hovered over. */
input:focus{
outline: none;
}
/* Sets various functional and visual aspects of the canvas element. */
canvas {
width: 100%;
height: 550px;
padding: 0;
margin: auto;
display: inline;
background-color: black;
border: 1px solid #08cb08;
/* Makes the border only exist on the top and bottom sides. */
border-left-style: none;
border-right-style: none;
}
hr {
border-color: #08cb08;
}
/* Styles the input boxes that the user types in. */
.response {
background-color: black;
border-color: black;
font-family: monospace;
font-size: 16px;
color: #55ff55;
}
#classSelector {
text-align: center;
font-family: monospace;
color: #08cb08;
font-size: 32px;
display: none;
}
#classes {
text-align: center;
}
#classes p {
width: 241;
}
/* Adds padding between each character image. */
.classImages {
padding: 70px;
}
/* Gives visual feedback "bump" when character images are hovered over. */
.classImages:hover{
position: relative;
top: -10px;
}
#descriptions {
text-align: left;
position: relative;
top: -70px;
}
/* The div (with id "game") is set to intially have a display of none so it does not show until the canvas and statistics should be displayed. */
#instructions {
display: none;
}
/* The game div (with id "game") is set to intially have a display of none so it does not show until the canvas and statistics should be displayed. */
#game {
display: none;
color: #08cb08;
font-size: 20px;
}
/* Styles the screen where the user chooses a game. */
#gameSelector {
text-align: center;
font-family: monospace;
color: #08cb08;
font-size: 45px;
display: none;
}
/* Styles the buttons found on the choose game page. */
.gameButtons {
margin-top: 75px;
background-color: black;
border: 2px solid #08cb08;
color: #08cb08;
text-decoration: none;
cursor: pointer;
font-family: monospace;
font-size: 75px;
}
/* Styles the text of the reaction game screen. */
#reactionGame {
display: none;
color: #08cb08;
font-size: 20px;
}
/* Styles the big red button, as well as the text shown inside the button. */
#reactionButton {
width: 500px;
height: 500px;
border: 0;
border-radius: 50%;
background-color: red;
text-align: center;
text-decoration: none;
cursor: pointer;
font-family: monospace;
font-size: 48px;
}
/* Gets rid of ugly default outline/border when the button is clicked on. */
#reactionButton:focus {
outline: 0;
border: 0;
}
#loseScreen {
display: none;
}
#winScreen {
display: none;
}