This repository was archived by the owner on Jan 14, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 477
Expand file tree
/
Copy pathstyle.css
More file actions
117 lines (98 loc) · 1.61 KB
/
style.css
File metadata and controls
117 lines (98 loc) · 1.61 KB
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
117
/**
* Add your custom styles below
*
* Remember:
* - Be organised, use comments and separate your styles into meaningful chunks
* for example: General styles, Navigation styles, Hero styles, Footer etc.
*
*/
body{
max-width: 1200px;
margin: 0 auto;
}
/* header element */
header {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
background-color: #333;
color: #fff;
padding: 10px;
position: relative;
top: 0;
left: 0;
right: 0;
/* padding: 0 1.5rem;
max-width: 1200px;
margin: 0 auto; */
}
header h1,
header p {
margin: 5px;
}
header nav ul {
list-style: none; /* */
margin: 0;
padding: 0;
display: flex;
}
header nav ul li {
margin-right: 10px;
}
header nav ul li a {
color: #fff;
text-decoration: none;
}
/* main element */
.articles {
display: flex;
flex-wrap: wrap;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.articles:first-child {
border: 31px solid black;
}
article {
width: 30%;
margin-bottom: 20px;
padding: 10px;
border: 1px solid #ccc;
}
article:first-child {
border: 4px solid black;
}
h2 {
align-items: center;
}
article h3 {
margin-top: 0;
}
article a {
color: blue;
text-decoration: none;
font-weight: bold;
}
/* footer element */
footer {
background-color: #333;
color: #fff;
padding: 10px;
text-align: center;
}
footer nav ul {
list-style: none;
margin: 0;
padding: 0;
display: inline-block;
}
footer nav ul li {
display: inline-block;
margin-right: 10px;
}
footer nav ul li a {
color: #fff;
text-decoration: none;
}