-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
109 lines (104 loc) · 1.95 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
@import url('https://fonts.googleapis.com/css2?family=Baloo+Bhaina+2:wght@400;500&family=Roboto&display=swap');
*{
margin: 0;
padding: 0;
}
body{
height: 100vh;
width: 100vw;
border-right:7px solid skyblue;
border-left:7px solid skyblue;
border-bottom:7px solid skyblue;
}
nav{
border:7px solid skyblue;
background-color: blueviolet;
color:white;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
}
nav ul li{
font-size: 27px;
font-family:'Roboto', sans-serif;
list-style: none;
}
.gamecontainer{
display: flex;
justify-content: center;
margin-top: 50px;
position: relative;
}
.line{
background-color: rgb(0, 140, 255);
width:20vw;
height: 3px;
position: absolute;
display: none;
}
.imgbox{
display: flex;
justify-content: center;
}
.imgbox img{
height: 30vh;
display: none;
margin-top: 20px;
}
.container{
display: grid;
grid-template-columns:repeat(3,10vw);
grid-template-rows:repeat(3,10vw);
font-family: 'Roboto', sans-serif;
position: relative;
}
.box{
border: 2px solid blueviolet;
font-size: 8vw;
}
.box:hover{
background-color: rgb(234, 221, 246);
cursor: pointer;
}
.boxtext{
display: flex;
justify-content: center;
}
.gameinfo{
padding:0 34px;
font-family:'Baloo Bhaina 2', cursive;
}
.info{
text-align: center;
font-size: 2vh;
}
#reset{
background-color:rgb(156, 96, 212);
font-weight: bold;
color: white;
width: auto;
padding:1vh;
border-radius: 10px;
cursor: pointer;
margin-left: 10px;
}
#turn{
color: gray;
font-size: 2.5vh;
}
@media screen and (max-width:800px) {
.gamecontainer{
flex-wrap: wrap;
}
.gameinfo{
margin-top: 34px;
}
.gameinfo h1{
font-size: 1.5rem;
}
.container{
grid-template-columns:repeat(3,20vw);
grid-template-rows:repeat(3,20vw);
}
}