-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
144 lines (125 loc) · 2.46 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
@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhaina+2&family=Roboto&display=swap');
*{
margin: 0;
padding: 0;
}
@keyframes neel{
from{
font-size: 5px;
color: rgb(98, 255, 0);
}to{
font-size: 40px;
color: beige;
}
}
nav{
animation-name: neel;
animation-iteration-count: 50;
animation-duration: 5s;
background-color: black;
color: rgb(225, 215, 215);
height: 65px;
font-size: 40px;
display: flex;
align-items: center;
padding: 0 12px;
font-family: 'Roboto', sans-serif;
}
nav ul{
list-style-type: none;
margin-left: 45vw;
background-color: black;
}
.gameContainer{
display: flex;
justify-content: center;
align-items: center;
background-color: rgb(240, 232, 232);
height: 725px;
}
.container{
display: grid;
grid-template-rows: repeat(3, 10vw);
grid-template-columns: repeat(3, 10vw);
font-family: 'Roboto', sans-serif;
position: relative;
}
.box{
border: 2px solid rgb(53, 13, 232);
font-size: 8vw;
counter-reset: red;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
}
.box:hover{
background-color: rgb(47, 152, 190);
}
.info {
font-size: 22px;
}
.gameInfo{
padding: 0 34px;
font-family: 'Baloo Bhaina 2', cursive;
}
.gameInfo h1{
font-size: 2.5rem;
}
.imgbox img{
width: 0;
transition: width 1s ease-in-out;
}
.br-0{
border-right: 0;
}
.bl-0{
border-left: 0;
}
.bt-0{
border-top: 0;
}
.bb-0{
border-bottom: 0;
}
#reset {
margin: 0 23px;
padding: 1px 18px;
background: #a106ef;
border-radius: 6px;
cursor: pointer;
font-family: 'Baloo Bhaina 2';
font-size: 15px;
font-weight: bolder;
}
.button:hover{
background-color: rgb(83, 19, 187);
}
.line{
background-color: rgb(206, 183, 183);
height: 5px;
width: 10px;
position: absolute;
background-color:rgb(15, 233, 11);
transition-property: unset;
transition: width 0.5s ease-in-out;
}
.back{
background-color: azure;
}
@media screen and (max-width: 950px)
{
.gameContainer{
flex-wrap: wrap;
}
.gameInfo{
margin-top: 34px;
}
.gameInfo h1{
font-size: 1.5rem;
}
.container {
grid-template-rows: repeat(3, 20vw);
grid-template-columns: repeat(3, 20vw);
}
}