Skip to content

Commit a15445b

Browse files
committed
css file
1 parent cdfb9c4 commit a15445b

File tree

1 file changed

+147
-0
lines changed

1 file changed

+147
-0
lines changed

gameStyle.css

Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
@import url('https://fonts.googleapis.com/css2?family=Biryani:wght@800&display=swap');
2+
* {
3+
font-family: 'Biryani', sans-serif;
4+
}
5+
html {
6+
width:100vw;
7+
height:100%;
8+
}
9+
body {
10+
margin:0px;
11+
background-image: -webkit-gradient(linear, left top, left bottom, from(#4481eb), to(#04bedd));
12+
background-image: -o-linear-gradient(top, #4481eb 0%, #04bedd 100%);
13+
background-image: linear-gradient(to bottom, #4481eb 0%, #04bedd 100%);
14+
}
15+
16+
p {
17+
font-size: 40px;
18+
margin-top:5px;
19+
}
20+
td {
21+
background-color: transparent;
22+
height:70px;
23+
width:70px;
24+
}
25+
td, .inner, .front, .back {
26+
border-radius: 4px;
27+
}
28+
table {
29+
margin-top: 80px;
30+
}
31+
32+
#inst {
33+
width: 85vw;
34+
background-color: rgba(255,255,255,0.1);
35+
text-align: center;
36+
margin-top:16vh;
37+
-webkit-backdrop-filter: blur(10px);
38+
backdrop-filter: blur(10px);
39+
border: 0.2px solid #ffff;
40+
border-radius: 10px;
41+
padding: 5px;
42+
}
43+
#inst li {
44+
text-align: left;
45+
padding: 5px;
46+
}
47+
48+
button {
49+
background-color: rgba(255,255,255,0.2);
50+
-webkit-backdrop-filter: (20px);
51+
backdrop-filter: (20px);
52+
color: white;
53+
margin: 5px;
54+
border: 0.1px solid #ffff;
55+
border-radius: 10px;
56+
font-weight: smaller;
57+
width:100px;
58+
font-size:18px;
59+
padding:5px;
60+
}
61+
62+
#ol {
63+
position: absolute;
64+
height:100vh;
65+
width:100vw;
66+
background-color: rgba(0,0,200,0.1);
67+
color: white;
68+
-webkit-backdrop-filter: blur(8px);
69+
backdrop-filter: blur(8px);
70+
z-index:2;
71+
72+
}
73+
#iol {
74+
text-align: center;
75+
position: absolute;
76+
width: 100vw;
77+
top: 35vw;
78+
}
79+
80+
#title {
81+
background-color: rgba(255,255,255,0.25);
82+
-webkit-backdrop-filter: blur(15px);
83+
backdrop-filter: blur(15px);
84+
border-radius:10px;
85+
margin: 8px;
86+
margin-top:0px;
87+
color: white;
88+
height:56px;
89+
text-align: center;
90+
}
91+
92+
#time {
93+
position: absolute;
94+
right: 20px;
95+
font-size: 16px;
96+
top: 8.5px;
97+
}
98+
99+
#moves {
100+
position: absolute;
101+
left: 20px;
102+
font-size: 16px;
103+
top:8.5px;
104+
}
105+
106+
#logo {
107+
font-size: 22px;
108+
padding-top: 10px;
109+
display: block;
110+
}
111+
112+
.inner {
113+
position: relative;
114+
width: 100%;
115+
height: 100%;
116+
text-align: center;
117+
-webkit-transition: -webkit-transform 0.8s;
118+
transition: -webkit-transform 0.8s;
119+
-o-transition: transform 0.8s;
120+
transition: transform 0.8s;
121+
transition: transform 0.8s, -webkit-transform 0.8s;
122+
-webkit-transform-style: preserve-3d;
123+
transform-style: preserve-3d;
124+
-webkit-transform: rotateY(0deg);
125+
transform: rotateY(0deg);
126+
}
127+
128+
.front {
129+
background-color: rgba(255,255,255,0.3);
130+
}
131+
132+
.back {
133+
background-color: rgba(255,255,255,0.5);
134+
-webkit-transform: rotateY(180deg);
135+
transform: rotateY(180deg);
136+
}
137+
138+
.front, .back {
139+
position: absolute;
140+
width: 100%;
141+
height: 100%;
142+
-webkit-backface-visibility: hidden;
143+
backface-visibility: hidden;
144+
}
145+
button:hover, button:active {
146+
outline:0;
147+
}

0 commit comments

Comments
 (0)