Spaces:
Running
Running
Commit
•
3599291
1
Parent(s):
3181725
Update style.css
Browse files
style.css
CHANGED
@@ -1,28 +1,71 @@
|
|
1 |
body {
|
2 |
-
|
3 |
-
|
4 |
}
|
5 |
|
6 |
-
|
7 |
-
|
8 |
-
|
|
|
|
|
9 |
}
|
10 |
|
11 |
-
|
12 |
-
|
13 |
-
font-size: 15px;
|
14 |
-
margin-bottom: 10px;
|
15 |
-
margin-top: 5px;
|
16 |
}
|
17 |
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
padding: 16px;
|
22 |
-
border: 1px solid lightgray;
|
23 |
-
border-radius: 16px;
|
24 |
}
|
25 |
|
26 |
-
|
27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
}
|
|
|
1 |
body {
|
2 |
+
font-family: Arial, sans-serif;
|
3 |
+
margin: 0;
|
4 |
}
|
5 |
|
6 |
+
header {
|
7 |
+
background-color: #333;
|
8 |
+
color: #fff;
|
9 |
+
padding: 20px;
|
10 |
+
text-align: center;
|
11 |
}
|
12 |
|
13 |
+
header h1 {
|
14 |
+
margin: 0;
|
|
|
|
|
|
|
15 |
}
|
16 |
|
17 |
+
nav {
|
18 |
+
background-color: #f1f1f1;
|
19 |
+
overflow: hidden;
|
|
|
|
|
|
|
20 |
}
|
21 |
|
22 |
+
nav ul {
|
23 |
+
list-style-type: none;
|
24 |
+
margin: 0;
|
25 |
+
padding: 0;
|
26 |
+
overflow: hidden;
|
27 |
+
background-color: #f1f1f1;
|
28 |
+
}
|
29 |
+
|
30 |
+
nav li {
|
31 |
+
float: left;
|
32 |
+
}
|
33 |
+
|
34 |
+
nav a {
|
35 |
+
display: block;
|
36 |
+
color: black;
|
37 |
+
text-align: center;
|
38 |
+
padding: 14px 16px;
|
39 |
+
text-decoration: none;
|
40 |
+
}
|
41 |
+
|
42 |
+
nav a:hover {
|
43 |
+
background-color: #ddd;
|
44 |
+
color: black;
|
45 |
+
}
|
46 |
+
|
47 |
+
#main-content {
|
48 |
+
padding: 20px;
|
49 |
+
}
|
50 |
+
|
51 |
+
#main-content article {
|
52 |
+
margin-bottom: 20px;
|
53 |
+
}
|
54 |
+
|
55 |
+
#main-content article img {
|
56 |
+
max-width: 100%;
|
57 |
+
}
|
58 |
+
|
59 |
+
aside {
|
60 |
+
float: right;
|
61 |
+
width: 25%;
|
62 |
+
padding: 20px;
|
63 |
+
background-color: #f1f1f1;
|
64 |
+
}
|
65 |
+
|
66 |
+
footer {
|
67 |
+
background-color: #333;
|
68 |
+
color: #fff;
|
69 |
+
text-align: center;
|
70 |
+
padding: 20px;
|
71 |
}
|