generated from CodeYourFuture/Module-Template
-
-
Notifications
You must be signed in to change notification settings - Fork 430
Expand file tree
/
Copy pathstyle.css
More file actions
56 lines (47 loc) · 779 Bytes
/
style.css
File metadata and controls
56 lines (47 loc) · 779 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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: Arial, Helvetica, sans-serif;
line-height: 1.5;
min-height: 100vh;
padding-bottom: 10px;
}
header {
background-color: #d3d3d3;
padding: 1.5rem;
text-align: center;
}
main {
padding: 2rem;
}
.articles {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1.5rem;
}
article {
border: 1px solid #ddd;
padding: 1rem;
border-radius: 40px;
}
article h2 {
margin-bottom: 0.5rem;
}
article p {
margin-bottom: 1rem;
}
article a {
text-decoration: none;
font-weight: bold;
}
footer {
position: fixed;
bottom: 0;
width: 100%;
background-color: lightyellow;
text-align: center;
padding: 0.01rem;
border-top: 2px solid #aaa;