-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
121 lines (107 loc) · 2.12 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Lucida Console", Monaco, monospace;
}
form {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 4% auto;
width: 50%;
padding: 20px;
border: 2px solid #ccc;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
form label::after{
content: "\a";
white-space: pre;
}
form input[type="text"],
form input[type="number"],
form select,
form textarea {
white-space: pre-line;
width: 30vw;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 16px;
}
form input[type="submit"] {
background-color: #4CAF50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
}
form input[type="submit"]:hover {
background-color: #45a049;
}
/* Styling for the player name */
#turn-announcement {
font-size: 24px;
margin-bottom: 10px;
margin-left: 50%;
margin-right: auto;
}
button {
background-color: #4cafa5;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
margin-top: 10px;
margin-left: 47%;
}
a {
display: inline-block;
width: 94px;
text-decoration: none;
background-color: #8bb8b4;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
margin-top: 10px;
}
table { margin: 20px 30% auto auto; }
.cell {
width: 10dvw;
height: 10dvw;
border: 1px solid black;
font-size: 72px;
text-align: center;
line-height: 100px;
cursor: pointer;
background-image: url('img/vide.png');
background-size: contain;
}
/* Styling for the "X" and "O" symbols */
.X {
background-image: url('img/croix.png');
cursor: default;
}
.O {
background-image: url('img/cercle.png');
cursor: default;
}
footer {
position: absolute;
bottom: 0;
width: 100%;
}
footer p {
padding-left: 20px;
text-align: center;
}