Skip to content

Commit 35e40e4

Browse files
committed
inline-box
1 parent 4421c37 commit 35e40e4

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

starter/03-CSS-Fundamentals/style.css

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
margin: 0;
44
}
55

6+
/* PAGE SECTIONS */
67
body {
78
color: #444;
89
font-family: sans-serif;
@@ -28,7 +29,7 @@ article {
2829
padding-right: 40px; */
2930
padding: 20px 40px;
3031
margin-bottom: 60px;
31-
height: 80px;
32+
/* height: 80px; */
3233
}
3334
.post-header {
3435
margin-bottom: 40px;
@@ -41,6 +42,7 @@ aside {
4142
width: 500px;
4243
}
4344

45+
/* SMALLER ELEMENTS */
4446
h1,
4547
h2,
4648
h3 {
@@ -69,6 +71,7 @@ p {
6971
font-size: 22px;
7072
line-height: 1.5;
7173
margin-bottom: 15px;
74+
/* display: inline; */
7275
}
7376
ol,
7477
ul {
@@ -78,6 +81,7 @@ ul {
7881
li {
7982
font-size: 20px;
8083
margin-bottom: 10px;
84+
/* display: inline; */
8185
}
8286
li:last-child {
8387
margin-bottom: 0;
@@ -159,4 +163,18 @@ footer p {
159163
.post-image {
160164
width: 100%;
161165
height: auto;
166+
/* margin: 100px; */
167+
}
168+
169+
nav a:link {
170+
/* background-color: orangered;
171+
margin: 20px;
172+
padding: 20px;
173+
display: block; */
174+
margin-right: 30px;
175+
margin-top: 10px;
176+
display: inline-block;
177+
}
178+
nav a:link:last-child {
179+
margin-right: 0;
162180
}

0 commit comments

Comments
 (0)