-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
160 lines (143 loc) · 3.05 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
canvas {
position: absolute;
z-index: -1;
background: url(background.jpg);
background-size: cover;
background-repeat: no-repeat;
}
*{
box-sizing: border-box;
}
body{
position: relative;
/*background: url(background.jpg);
background-size: cover;*/
margin: 0;
padding: 0;
display: flex;
flex-flow: row;
}
.info{
padding: 2rem;
position: relative;
height: 80vh;
width: 40vw;
margin: 10vh;
margin-right: 10vw;
background: radial-gradient(circle at 125px 125px, rgba(43, 17, 85, 0.288), rgba(202, 202, 202, 0.274));
color: rgb(216, 209, 192);
border: 2px solid gray;
box-shadow: 2px 2px 10px rgb(0, 0, 0);
border-radius: 5px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}
.name{
position: relative;
padding: 1rem;
color: rgb(29, 28, 28);
background-color: rgb(255, 255, 255);
border-radius: 5px;
}
.status{
position: relative;
background-color: rgb(236, 236, 236);
padding: 1rem;
margin: 2rem 0;
border-radius: 5px;
display: flex;
}
.player1{
text-align: center;
width: 50%;
background: radial-gradient(circle at 25px 25px, rgb(78, 255, 8), #000);
box-sizing: border-box;
padding: 0 15px 20px;
border-top-left-radius: 5px;
color: #ffffff;
margin-right: 1vw;
transition: 0.2s ease-in;
}
.player2{
text-align: center;
width: 50%;
background: radial-gradient(circle at 25px 25px, rgb(255, 86, 8), #000);
box-sizing: border-box;
padding: 0 15px 20px;
border-top-right-radius: 5px;
color: #ffffff;
}
.board{
position: relative;
margin: 6vh 10vh;
margin-left: 0;
height: 88vh;
width: 40vw;
border: 2px solid black;
box-shadow: 2px 2px 10px rgb(0, 0, 0);
border-radius: 5px;
background: url(board.jpg);
background-size: cover;
}
.points{
position: absolute;
display: inline-block;
height: 18px;
width: 18px;
border-radius: 50%;
filter: drop-shadow(5px 10px 10px rgb(0, 0, 0));
z-index: 1;
overflow: hidden;
transition: all 0.1s ease-in;
}
.line,.lines,.linec{
position: absolute;
height:1vh;
border-radius: 10px;
filter: drop-shadow(5px 10px 10px rgb(0, 0, 0));
background: rgba(48, 46, 46, 0.644);
}
.lines{
width: 16vw;
}
.linec{
width: 41vh;
transform: rotate(90deg);
}
#l221,#l222,#l621,#l622,#l421,#l422{
width: 54vh;
transform: rotate(50deg);
}
#l222,#l622,#l422{
transform: rotate(130deg);
}
#l321,#l322,#l521,#l522{
width: 41vh;
transform: rotate(50deg);
}
#l322,#l522{
transform: rotate(130deg);
}
#center{
width: 84vh;
transform: rotate(90deg);
}
#ls1,#ls7{
width: 9vw;
}
p{
margin-top: -2vh;
}
button{
position: absolute;
left: 16%;
bottom: 12%;
padding: 2vh 5vw;
font-size: 20px;
background: radial-gradient(circle at 125px 125px, rgb(8, 255, 255), rgb(7, 126, 238));
border-radius: 5px;
border: none;
color: white;
text-align: center;
text-decoration: none;
display: inline-block;
}