-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
61 lines (51 loc) · 989 Bytes
/
style.css
File metadata and controls
61 lines (51 loc) · 989 Bytes
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
body {
margin: 0;
}
nav>ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
nav>ul>li {
float: left;
}
nav>ul>li>a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
nav>ul>li a:hover {
background-color: #111;
}
.card {
/* Add shadows to create the "card" effect */
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
transition: 0.3s;
}
/* On mouse-over, add a deeper shadow */
.card:hover {
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}
/* Add some padding inside the card container */
.container {
padding: 2px 16px;
}
.grid-container {
display: grid;
grid-column-gap: 0.5rem;
grid-row-gap: 0.5rem;
}
@media (min-width: 576px) {
.grid-container {
grid-template-columns: repeat(1, 1fr);
}
}
@media (min-width: 992px) {
.grid-container {
grid-template-columns: repeat(3, 1fr);
}
}