-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles1.css
116 lines (97 loc) · 1.82 KB
/
styles1.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
*, *::before, *::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--p1Blue: rgba(30, 56, 136, 1);
--p2Red: rgba(165, 28, 48, 1);
--night: #111;
--linen: rgba(243, 233, 220, 1);
}
body {
display: block;
background-color: var(--night);
}
.main {
display: flex;
margin: 2rem 0 2rem 0;
}
.p1Space, .p2Space, .boardspace {
margin: 0 4rem 0 4rem;
}
.p1Space, .p2Space {
display: block;
width: 25%;
height: 600px;
}
/* .p1Space {
background-color: var(--p1Blue);
} */
.p1Name, .p2Name {
width: 100%;
height: 20%;
border-radius: 0.15rem;
padding-top: 2.5rem;
font-family: 'Times New Roman', Times, serif;
font-size: 2.5rem;
text-align: center;
color: var(--linen);
}
.p1Name {
background-color: var(--p1Blue);
}
.p2Name {
background-color: var(--p2Red);
}
.boardspace {
display: block;
height: 600px;
width: 600px;
}
.row {
display: flex;
height: 200px;
width: 600px;
}
.sqr {
transition: 1000ms;
height: 200px;
width: 200px;
background-color: var(--night);
border: 1px solid var(--linen);
}
.p1Sqr, .p2Sqr {
text-align: center;
font-family: 'Times New Roman', Times, serif;
font-size: 10rem;
color: var(--linen);
}
.p1Sqr {
transform: rotateY(180deg);
background-color: var(--p1Blue);
}
.p2Sqr {
transform: rotateY(180deg);
background-color: var(--p2Red);
}
.refSpace {
margin: 4rem 0 0 0;
width: 100%;
height: 1fr;
background-color: var(--night);
}
.refTitle, .refMessage {
font-family: 'Times New Roman', Times, serif;
text-align: center;
color: var(--linen);
}
.refTitle {
margin: 2rem 3.7rem 0 0;
font-size: 3.5rem;
font-style: italic;
}
.refMessage {
margin: 2rem 3.7rem 0 0;
font-size: 2rem;
}