File tree Expand file tree Collapse file tree 2 files changed +25
-2
lines changed
starter/03-CSS-Fundamentals Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ <h4>The Basic Language of the Web: HTML</h4>
1616 <h5>The Basic Language of the Web: HTML</h5>
1717 <h6>The Basic Language of the Web: HTML</h6>
1818 -->
19-
19+ < header class =" main-header " >
2020 < h1 > 📘 The Code Magazine</ h1 >
2121
2222 < nav >
@@ -28,7 +28,7 @@ <h1>📘 The Code Magazine</h1>
2828 </ header >
2929
3030 < article >
31- < header >
31+ < header class =" post-header " >
3232 < h2 > The Basic Language of the Web: HTML</ h2 >
3333
3434 < img
Original file line number Diff line number Diff line change 11/* Universal selector. No inheritance. */
22* {
33 /* border-top: 10px solid *1098ad; */
4+ padding : 0 ;
5+ margin : 0 ;
46}
57
68/*
@@ -13,6 +15,10 @@ body {
1315 font-family : sans-serif;
1416}
1517
18+ article {
19+ margin-bottom : 60px ;
20+ }
21+
1622h1 , h2 , h3 {
1723 color : # 1098ad ;
1824}
2531
2632h2 {
2733 font-size : 40px ;
34+ margin-bottom : 30px ;
2835}
2936
3037h3 {
3138 font-size : 30px ;
39+ margin-bottom : 20px ;
3240}
3341
3442h4 {
4048p {
4149 font-size : 22px ;
4250 line-height : 1.5 ;
51+ margin-bottom : 50px ;
52+ }
53+
54+ ul , ol {
55+ margin-left : 50px ;
56+ margin-bottom : 20px ;
4357}
4458
4559li {
4660 font-size : 20px ;
61+ margin-bottom : 10px ;
4762}
4863
4964li : first-child {
@@ -52,6 +67,7 @@ li:first-child {
5267
5368li : last-child {
5469 font-weight : italic;
70+ margin-bottom : 0px ;
5571}
5672
5773li : nth-child (even) {
@@ -62,6 +78,7 @@ aside {
6278 background-color : # f7f7f7 ;
6379 border-bottom : 5px solid # 1098ad ;
6480 border-top : 5px solid # 1098ad ;
81+ padding : 50px 0 ;
6582}
6683
6784/* LVHA */
@@ -125,6 +142,12 @@ nav {
125142
126143.main-header {
127144 background-color : # f7f7f7 ;
145+ padding : 20px 40px ;
146+ margin-bottom : 60px ;
147+ }
148+
149+ .post-header {
150+ margin-bottom : 40px ;
128151}
129152
130153/* Resolving conflicts. */
You can’t perform that action at this time.
0 commit comments