-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
142 lines (125 loc) · 2.9 KB
/
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
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
134
135
136
137
138
139
140
141
142
html {
box-sizing: border-box;
}
/* The Universal Selector */
*, /* All elements*/
*::before, /* All ::before pseudo-elements */
*::after { /* All ::after pseudo-elements */
/* height & width will now include border & padding by default but can be over-ridden as needed */
box-sizing: inherit;
}
/* Pseudo-classes for hyperlink colors */
a:link {color: #a3a3a3;} /* custom color for un-clicked links */
a:visited {color: #a3a3a3;} /* custom color for clicked links */
a:hover {color: #e6e6e6;} /* custom color for links when hovered over */
a:active {color: #e6e6e6;} /* custom color for links being actively clicked */
body {
display: flex;
flex-direction: column;
align-items: center;
height: 100vh;
margin: 0;
background-color: #343a40;
font-family: sans-serif;
overflow: auto;
}
header {
height: 100px;
width: 100%;
font-size: 18px;
text-align: center;
letter-spacing: 8px;
color: #C0C0C0;
}
h1 {
font-size: 60px;
font-family: 'RocknRoll One', sans-serif;
margin: 5px auto 0 auto;
}
main {
display: flex;
flex-direction: column;
text-align: center;
width: 500px;
margin-bottom: 15px;
}
#game-board {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(3, 1fr);
grid-template-areas:
'grid-box-1 | grid-box-2 | grid-box-3'
'grid-box-4 | grid-box-5 | grid-box-6'
'grid-box-7 | grid-box-8 | grid-box-9';
gap: 5px;
min-height: 500px;
}
#outcome {
margin: 15px 0 20px 0;
border-radius: 10px;
background-color: #ced4da;
height: 100px;
font-family: 'RocknRoll One', sans-serif;
font-size: 30px;
display: flex;
justify-content: center;
align-items: center;
}
#restart-box {
display: flex;
align-self: center;
align-items: center;
justify-content: center;
color: #C0C0C0;
border: 3px solid #C0C0C0;
border-radius: 14px;
height: 60px;
width: 225px;
}
h2 {
font-family: 'RocknRoll One', sans-serif;
font-size: 22px;
}
.outcome-text {
font-size: 35px;
}
.game-box {
align-self: center;
justify-self: center;
display: flex;
justify-content: center;
align-items: center;
font-family: 'Comic Neue', cursive;
font-size: 125px;
width: 150px;
height: 150px;
border-radius: 10%;
background-color: #CED4DA;
}
.unclaimed-box:hover {
background-color: orange;
}
.win-background {
background-color: #ccff33 !important;
}
footer {
bottom: 0;
margin-top: auto;
padding-top: 5px;
height: 60px;
width: 100%;
font-size: 18px;
text-align: center;
letter-spacing: 2px;
color: #C0C0C0;
}
/* breakpoint to resize footer for smaller screens */
@media only screen and (max-width: 500px) {
footer {
height: 55px;
font-size: 14px;
}
.footer-link {
font-size: 12px;
}
}