File tree Expand file tree Collapse file tree 3 files changed +27
-6
lines changed Expand file tree Collapse file tree 3 files changed +27
-6
lines changed Original file line number Diff line number Diff line change 40
40
margin : 40px ;
41
41
42
42
/* FLEXBOX */
43
+ display : flex;
44
+ align-items : center;
45
+ justify-content : flex-start;
46
+ }
47
+
48
+ .el {
49
+ /*
50
+ DEFAULTS;
51
+ flex-grow= 0;
52
+ flex-shrink= 1;
53
+ flex-basis = auto;
54
+ */
55
+ flex-basis : 100px ;
56
+ /*flex-grow: 1;*/
57
+ }
58
+
59
+ .el--1 {
60
+ align-self : flex-start;
61
+ flex-grow : 1 ;
43
62
}
44
63
</ style >
64
+
65
+ <!-- -->
45
66
</ head >
46
67
< body >
47
68
< div class ="container ">
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ <h1>📘 The Code Magazine</h1>
25
25
<!-- <strong>This is the navigation</strong> -->
26
26
< a href ="blog.html "> Blog</ a >
27
27
< a href ="# "> Challenges</ a >
28
- < a href ="# "> Flexbox</ a >
29
- < a href ="# "> CSS Grid</ a >
28
+ < a href ="./flexbox.html "> Flexbox</ a >
29
+ < a href ="./css-grid.html "> CSS Grid</ a >
30
30
</ nav >
31
31
32
32
<!-- <div class="clear"></div> -->
Original file line number Diff line number Diff line change 2
2
/* border-top: 10px solid #1098ad; */
3
3
margin : 0 ;
4
4
padding : 0 ;
5
+ box-sizing : border-box;
5
6
}
6
7
7
8
/* PAGE SECTIONS */
@@ -48,10 +49,7 @@ aside {
48
49
background-color : # f7f7f7 ;
49
50
border-top : 5px solid # 1098ad ;
50
51
border-bottom : 5px solid # 1098ad ;
51
- /* padding-top: 50px;
52
- padding-bottom: 50px; */
53
- padding : 50px 0 ;
54
- width : 500px ;
52
+ padding : 50px 40px ;
55
53
}
56
54
57
55
/* SMALLER ELEMENTS */
82
80
font-size : 20px ;
83
81
text-transform : uppercase;
84
82
text-align : center;
83
+ margin-bottom : 40px ;
85
84
}
86
85
87
86
p {
@@ -134,6 +133,7 @@ li:last-child {
134
133
135
134
.related {
136
135
list-style : none;
136
+ margin : 0 0 ;
137
137
}
138
138
139
139
body {
You can’t perform that action at this time.
0 commit comments