Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
103 lines (83 loc) · 1.64 KB
/
Copy pathstyle.css
File metadata and controls
103 lines (83 loc) · 1.64 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
* {
padding: 0;
margin: 0;
}
body {
display: flex;
height: 100vh;
width: 100%;
min-width: 500px;
min-height: 500px;
background-color: #eee;
}
/* Menu */
.fifty {
display: flex;
width: 50%;
height: 80%;
text-align: center;
flex-direction: column;
}
#submit {
position: absolute;
top: 80%;
left: 50%;
transform: translate(-50%, -50%) scale(2.5);
}
/* End Menu */
/* Snake game css */
#firstGrid {
display: grid;
}
#snakeBox {
display: grid;
background-color: #222;
}
.snake {
}
.snakeHead {
background-color: green;
border-radius: 45%;
}
.snakePart {
background-color: chartreuse;
border-radius: 35%;
}
.apple {
background-color: red;
border-radius: 50%;
}
/* End Snake game css */
/* Osu game css */
.round { border-radius: 50%;
aspect-ratio: 1/1;
background-image: url('https://www.logiciels.pro/wp-content/uploads/2021/05/golang-avis-prix-alternatives-logiciel.webp');
background-size: contain;
background-position: center;
max-width: 100px;
min-width: 50px;
position: absolute;
z-index: 1;
transform: translate(-50%, -50%);
border: 5px #222 solid;
}
.overround {
border-radius: 50%;
aspect-ratio: 1/1;
background: none;
max-width: 250px;
min-width: 125px;
position: absolute;
transform: translate(-50%, -50%);
border: 5px #222 solid;
}
@keyframes mini {
from {
transform: translate(-50%, -50%) scale(1);
border: 5px #222 solid;
} to {
transform: translate(-50%, -50%) scale(0.40);
border: 10px #222 solid;
}
}
/* End Osu game css */