-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathstyle.css
More file actions
137 lines (128 loc) · 2.17 KB
/
style.css
File metadata and controls
137 lines (128 loc) · 2.17 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
.board button{
width: 100px;
height: 100px;
background-color: gray;
margin: 1px;
border: 4px solid black;
border-radius: 50%;
}
.navbar, .footer{
height: 80px;
background-color: magenta;
align-self: center;
}
.footer{
height: 80px;
background-color: magenta;
align-self: center;
margin-top: 30px;
}
#nameOfGame, p{
align-self: center;
font-size: 50px;
color: white;
}
body{
background-color: pink;
}
#gamepage{
display: none;
}
#start>button{
margin:200px 0px;
font-size: 32px;
padding: 10px 20px;
background-color: green;
color: white;
border: 1px solid blue;
border-radius: 30px;
}
.footer{
width: 100%;
position: fixed;
bottom:0;
}
#nameInput{
height: 100%;
width: 100%;
background-color: rgb(0, 0, 0,0.4);
font-size: 20px;
position:fixed;
left: 0px;
top:0px;
display: none;
z-index: 1;
}
#modal{
border:1px solid black;
border-radius: 10px;
width: fit-content;
padding: 20px 40px;
background-color: rgb(173, 249, 252);
z-index: 2;
margin: 15% auto;
box-shadow: 0 10px 20px 0 rgba(0, 0, 0), 0 12px 30px 0 rgba(0, 0, 0);
}
#modal>button{
padding:5px 20px;
background-color: green;
color: white;
border: 1px solid blue;
border-radius: 30px;
}
input{
color:white;
border-radius: 2px solid blue;
background-color: rgb(48, 53, 53);
}
.activePlayer{
padding: 5px 10px;
background-color: chartreuse;
color:white;
border: 2px solid rgb(255, 0, 0);
border-radius: 25px;
position:fixed;
left: 5%;
}
.inactivePlayer{
padding: 5px 10px;
background-color: gray;
color: white;
border: 2px solid blue;
border-radius: 25px;
position:fixed;
right:5%;
}
.close {
color: rgb(248, 3, 3);
float: right;
font-size: 32px;
font-weight: bold;
}
.close:active, .close:hover{
cursor:pointer;
}
#timer-wrap{
background-color: red;
border: none;
border-radius: 3px;
color: white;
padding: 6px;
text-align: center;
text-decoration: none;
font-size: 12px;
}
.centered {
position: absolute;
top: 30%;
left: 45%;
}
/* to remove the arrow signs in the input type number field */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type=number] {
-moz-appearance: textfield;
}