File tree Expand file tree Collapse file tree 3 files changed +36
-2
lines changed
Expand file tree Collapse file tree 3 files changed +36
-2
lines changed Original file line number Diff line number Diff line change 11
22< header >
3+ < div class ="logo ">
4+ < h3 > Your App</ h3 >
5+ </ div >
36 < nav >
47 < ul >
58 < li > < a href ="/ "> Home</ a > </ li >
Original file line number Diff line number Diff line change 1- $content-width : 1140 px ;
1+ $content-width : 1170 px ;
22$accent-color : #00ff33 ;
33
44$font : ' Helvetica Neue' , sans-serif ;
Original file line number Diff line number Diff line change 77
88.container {
99 display : grid ;
10+ margin : auto ;
1011 max-width : $content-width ;
1112 padding-left : 15px ;
1213 padding-right : 15px ;
@@ -21,9 +22,39 @@ body {
2122}
2223
2324header {
24- display : grid ;
2525 grid-area : h;
2626 background-color :rgb (0 , 255 , 13 );
27+
28+ display : grid ;
29+ grid-template-columns : repeat (2 , 1fr );
30+ grid-template-areas : " logo nav" ;
31+ }
32+
33+ .logo {
34+ grid-area : logo;
35+ display : flex ;
36+ justify-content : flex-start ;
37+ align-items : center ;
38+ height : 60px ;
39+ background-color : rgb (56 , 56 , 56 );
40+ }
41+
42+ nav {
43+ grid-area : nav ;
44+ display : flex ;
45+ justify-content : flex-end ;
46+ align-items : center ;
47+ height : 60px ;
48+ background-color : #000 ;
49+ }
50+
51+ nav > ul {
52+ display : flex ;
53+ list-style-type : none ;
54+ }
55+
56+ nav > ul li :nth-last-child (1 n -1 ) {
57+ padding-left : 30px ;
2758}
2859
2960.features {
You can’t perform that action at this time.
0 commit comments