-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
66 lines (55 loc) · 1.07 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
body {
background-color: #008080;
font-size: large;
}
img {
margin: 10px;
image-rendering: pixelated;
}
img:hover {
transform: scale(4);
background: #008080;
}
header {margin: auto; text-align: center; color: #ddd; margin-bottom: 10px;}
header a {
background: white;
padding: 3px;
border-radius: 5px;
}
main {
max-width: 500px;
margin: auto;
display: grid;
justify-content: center;
grid-template-columns: repeat(9, auto);
gap: 15px;
}
#links {
max-width: 500px;
background-color: white;
padding: 3px 5px;
display: block;
}
main > a {display: block;}
details {
margin-bottom: 10px;
}
summary {
cursor: pointer;
}
section {
max-width: 500px;
margin: 10px auto;
color: black;
color: #ddd;
}
@media screen and (max-width:400px) {
main {
grid-template-columns: repeat(5, auto);
}
}
@media screen and (min-width:401px) and (max-width:600px) {
main {
grid-template-columns: repeat(6, auto);
}
}