Skip to content

Commit 5548ac1

Browse files
committed
Types of Boxes
1 parent 06d6456 commit 5548ac1

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

starter/03-CSS-Fundamentals/style.css

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
margin: 0;
44
padding: 0;
55
}
6+
7+
/* PAGE SECTIONS */
68
body {
79
color: #444;
810
font-family: sans-serif;
@@ -20,7 +22,7 @@ body {
2022
padding-right: 40px; */
2123
padding: 20px 40px;
2224
margin-bottom: 60px;
23-
height: 80px;
25+
/* height: 80px; */
2426
}
2527

2628
nav {
@@ -43,6 +45,7 @@ aside {
4345
width: 500px;
4446
}
4547

48+
/* SMALLER ELEMENTS */
4649
h1,
4750
h2,
4851
h3 {
@@ -86,6 +89,7 @@ ol {
8689
li {
8790
font-size: 20px;
8891
margin-bottom: 10px;
92+
/* display: inline; */
8993
}
9094

9195
li:last-child {
@@ -166,6 +170,22 @@ a:active {
166170
width: 100%;
167171
height: auto;
168172
}
173+
174+
nav a:link {
175+
/*
176+
background-color: orangered;
177+
margin: 20px
178+
padding: 20px;
179+
display: block
180+
*/
181+
margin-right: 30px;
182+
margin-top: 10px;
183+
display: inline-block;
184+
}
185+
186+
nav a:link:last-child {
187+
margin-right: 0;
188+
}
169189
/* Resolving conflicts */
170190

171191
/* #copyright {

0 commit comments

Comments
 (0)