-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
116 lines (94 loc) · 1.66 KB
/
styles.css
File metadata and controls
116 lines (94 loc) · 1.66 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
/*** GENERAL STYLES ***/
body {
margin: 0;
font-family: "DotGothic16", sans-serif;
background-color: #242c44;
}
.wrapper {
display: flex;
flex-direction: column;
height: 100%;
}
.columns {
display: flex;
flex: 1;
height: 100%;
}
/*** COLUMNS ***/
aside {
text-align: center;
width: 23%;
color: #FF1493;
background-image: linear-gradient(#090943, #2323ac, #5b5b8e);
}
.left-column {
order: 1;
}
.right-column {
order: 3;
}
.center-column {
display: flex;
order: 2;
flex-direction: column;
align-items: center;
width: 54%;
height: 100vh;
font-size: 1em;
color: #00ff00;
background-image: linear-gradient(#1c2337, #745399, #008B8B);
border-left: 5px solid rgba(0, 255, 0, 0.9);
border-right: 5px solid rgba(0, 255, 0, 0.9);
box-shadow: 0 2px 0 2px rgba(0, 150, 0, 0.2);
}
/*** GAME BOARD ***/
.game-text {
margin-top: 5%;
font-size: 4vw;
}
.game-grid {
display: grid;
grid-template: repeat(3, 1fr) / repeat(3, 1fr);
place-self: center;
width: 60%;
height: 60%;
margin: 11% auto 1% auto;
padding: 0;
}
/** GAME BOXES **/
.box {
display: flex;
justify-content: center;
align-items: center;
margin: 3px;
font-size: 5vw;
color: #1F1F3D;
border: 2px rgba(0, 255, 255, 0.9) solid;
}
.box:hover:not(.occupied) {
cursor: pointer;
background-color: #ce3bb6;
border: 2px rgba(0, 255, 255, 0.9) solid;
}
.box:nth-child(-n+3) {
border-top: 0;
}
.box:nth-child(3n) {
border-right: 0;
}
.box:nth-child(n+7) {
border-bottom: 0;
}
.box:nth-child(3n+1) {
border-left: 0;
}
/** SIDE COLUMN ELEMENTS **/
.win-box {
margin-top: 7%;
}
.token {
font-size: 5vw;
}
.win-counter {
font-size: 3vw;
}