-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
executable file
·125 lines (102 loc) · 1.9 KB
/
style.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
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 1em;
line-height: 1.5;
}
/* Section for main container */
#main-container {
border: 5px solid dodgerblue;
padding: 5px;
}
.wrapper {
max-width: 1024px;
margin: 0 auto;
}
h1, h2 {
text-align: center;
cursor: default;
}
/* Section for guess history container */
#guess-history-container {
background-color: dodgerblue;
height: 49px;
padding: 2px 0;
}
#guess-history-container ul {
margin: 0px;
}
h3 {
margin: 0 auto;
max-width: 220px;
height: 49px;
background-color: rgb(211 211 211 / 25%);
}
.list-item {
display: inline-block;
padding: 4px;
border: 1px solid black;
color: white;
margin-top: 6px;
margin-left: 5px;
min-width: 20.813px;
text-align: center;
cursor: default;
}
#list-item-green {
background-color: green;
}
#list-item-red {
background-color: red;
}
/* Section for alert message container */
#alert-message-container {
background-color: #03a9f4;
border-top: 2px solid white;
height: 49px;
}
#alert-message-container h4 {
text-align: center;
color: white;
margin: 13px;
cursor: default;
}
.close-button {
color: white;
float: right;
}
.close-button:hover {
color: black;
cursor: pointer;
}
/* Section for grid container */
#grid-container {
display: grid;
grid-template-columns: repeat(5, 1fr);
background-color: dodgerblue;
padding: 10px;
grid-gap: 10px;
border-top: 2px solid white;
border-bottom: 2px solid white;
}
.grid-item {
background-color: lightgrey;
border: 1px solid black;
padding: 20px;
text-align: center;
cursor: pointer;
}
.grid-item:hover, #restart-button:hover {
background-color: gainsboro;
}
/* Section for button container */
#button-container {
text-align: center;
background-color: dodgerblue;
padding: 10px;
}
#restart-button {
margin: 5px;
padding: 15px;
background-color: lightgrey;
cursor: pointer;
}