-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.css
116 lines (95 loc) · 1.8 KB
/
index.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
body {
font-size: 16px;
font-family: verdana, arial, sans-serif;
background-image: url('images/bgr.jpg');
background-repeat: repeat;
}
ul.games {
width: 80%;
max-width: 600px;
margin: auto;
list-style-type: none;
padding: 0;
}
li.game {
margin: 0;
}
a {
text-decoration: none;
}
.tile {
height: 10em;
border: 1px solid #555;
background-color: rgba(24, 23, 51, 0.56);
margin: 1em 0;
position: relative;
}
.game .title {
box-sizing: border-box;
position: absolute;
left: 0;
top: 0;
padding-top: 1.4em;
padding-left: 20%;
width: 100%;
height: 100%;
text-align: center;
font-size: 2em;
color: #f5e8e1;
font-weight: bold;
}
.tile:hover {
left: -2px ;
top: -2px;
}
.game .title:hover,
.game .scores:hover
{
background-color: rgba(10, 9, 33, 0.77);
}
.game .scores {
box-sizing: border-box;
position: absolute;
right: 0;
bottom: 0;
padding: 0 2em;
height: 3em;
line-height: 3em;
text-align: center;
color: #f5e8e1;
}
#arcade .title {
background-image: url('images/arcade.png');
background-repeat: no-repeat;
background-size: 27%;
}
#sport .title {
background-image: url('images/sport.png');
background-repeat: no-repeat;
background-size: contain;
}
#killers .title {
background-image: url('images/killer.png');
background-repeat: no-repeat;
background-size: contain;
}
#tictactoe .title {
background-image: url('images/tictactoe.png');
background-repeat: no-repeat;
background-size: contain;
}
#shanghai .title {
background-image: url('images/shanghai.png');
background-repeat: no-repeat;
background-size: contain;
}
@media screen and (max-width: 620px) {
body {
font-size: 10px;
}
}
@media screen and (max-width: 420px) {
ul.games {
width: 100%;
}
}