-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
54 lines (46 loc) · 905 Bytes
/
main.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
@import url('https://fonts.googleapis.com/css?family=Raleway');
html {
font-family: 'Raleway', sans-serif;
text-align: center;
}
a {
text-decoration: none;
}
.item {
border: 1px solid lightblue;
font-weight: bold;
text-align: center;
padding: 15px;
}
.item a {
color: lightseagreen;
}
.item:hover {
background-color: gainsboro;
}
.grid-container {
display: grid;
grid-template-columns: repeat(3, auto);
grid-template-rows: repeat(6, auto);
grid-auto-rows: 50px;
grid-auto-columns: 45px;
grid-gap: 5px;
}
.container {
top: 5%;
position: absolute;
left: 25%;
right: 0;
bottom: 0;
max-width: 50%;
}
@media (max-width: 500px) and (orientation : portrait) {
.grid-container {
grid-template-columns: repeat(2, auto);
}
.container {
top: 1%;
left: 20%;
max-width: 60%;
}
}