-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
126 lines (99 loc) · 2.62 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
126
*{
padding: 0;
margin: 0;
}
body{
background-color: rgb(145, 156, 156)
}
.navigation-bar{
background-color: black;
color: white;
padding: 2vh 2vh;
height: 4vh;
display: flex;
align-items: center;
}
.navigation-bar ul{
list-style-type: none;
font-weight: bolder;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 18px;
}
.gameContainer{
display: flex;
justify-content: center;
margin-top: 50px;
}
.container{
display: grid;
grid-template-columns: repeat(3, 10vw);
grid-template-rows: repeat(3, 10vw);
}
.box{
border: solid 2px black;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 8vw;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
.box:hover{
background-color: rgb(169, 198, 198);
}
/* SIDE PANEL FOR GAME INFORMATION */
.gameInfo{
margin-left: 5vw;
}
.welcome-msg{
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 3vw;
}
.userTurn{
margin-top: 3vh;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 1.5vw;
}
#winner{
margin-top: 3vh;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 2vw;
}
#reset{
margin-top: 3vh;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 4vh;
border: solid black 2px;
background-color: rgb(210, 207, 207);
padding: 2px 8px;
border-radius: 12px;
}
#reset:hover{
background-color: rgb(235, 231, 231);
cursor: pointer;
}
#reset:active{
font-size: 3.9vh;
margin-bottom: 0.2vh;
}
#gif{
margin-top: 4vh;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 2vw;
width: 20vw;
opacity: 0;
transition: opacity 0.1s ease-in;
}
/* 4 bt, bl, br, bb to remove border from top left right and bottom */
.b-t{
border-top: 0;
}
.b-l{
border-left: 0;
}
.b-r{
border-right: 0;
}
.b-b{
border-bottom: 0;
}