-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
87 lines (79 loc) · 1.58 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
*{
margin:0;
padding:0;
}
.line{
background-color: blueviolet;
height: 3px;
width: 0;
position: absolute;
left: 0;
transition:width 1s ease-in-out;
}
nav{
height: 60px;
background-color: purple;
color: plum;
font-size: 30px;
display: flex;
align-items: center;
padding: 0 15px;
font-family: 'Lora',serif;
}
nav ul{
list-style-type: none;
}
.game{
position: relative;
background-color: pink;
display: flex;
justify-content: center;
margin-top: 50px;
}
.container{
position: relative;
display: grid;
grid-template-rows: repeat(3,10vw); /*viewport width - 10% of visible screen*/
grid-template-columns: repeat(3,10vw);
font-family: 'Times New Roman', Times, serif;
}
.box{
border: 3px solid rgb(92, 1, 92);
border-radius: 20%;
font-size: 8vw;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
}
.box:hover{
background-color: rgb(227, 137, 167);
}
.info{
padding: 20px;
color: rgb(183, 42, 183);
}
.img img{
width: 0;
transition: 1s ease-in-out;
margin: 0px 20px;
}
.btn{
background-color: rgb(92, 5, 92);
color: rgb(246, 205, 246);
padding: 1px 18px;
border-radius: 6px;
cursor: pointer;
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
margin: 10px 30px;
}
@media screen and (max-width: 800px)
{
.game{
flex-wrap: wrap;
}
.gameInfo{
margin-top: 10px;
}
}