File tree Expand file tree Collapse file tree 2 files changed +15
-49
lines changed Expand file tree Collapse file tree 2 files changed +15
-49
lines changed Original file line number Diff line number Diff line change @@ -15,48 +15,6 @@ html { font-size: 100%; }
15
15
16
16
/* Grid */
17
17
18
- * , * : before , * : after {
19
- -moz-box-sizing : border-box;
20
- -webkit-box-sizing : border-box;
21
- box-sizing : border-box;
22
- }
23
-
24
- .container {
25
- margin : 0 auto;
26
- max-width : 60rem ;
27
- width : 90% ;
28
- }
29
-
30
- @media (min-width : 40rem ) {
31
- .column {
32
- float : left;
33
- padding-left : 1rem ;
34
- padding-right : 1rem ;
35
- }
36
-
37
- .column .full { width : 100% ; }
38
- .column .two-thirds { width : 66.7% ; }
39
- .column .half { width : 50% ; }
40
- .column .third { width : 33.3% ; }
41
- .column .fourth { width : 25% ; }
42
- .column .three-fourths { width : 75% ; }
43
- .column .flow-opposite { float : right; }
44
- }
45
-
46
- .clearfix : before ,
47
- .clearfix : after {
48
- content : " " ;
49
- display : table;
50
- }
51
-
52
- .clearfix : after {
53
- clear : both;
54
- }
55
-
56
- .clearfix {
57
- * zoom : 1 ;
58
- }
59
-
60
18
/* Ditto */
61
19
62
20
body {
@@ -68,13 +26,18 @@ body {
68
26
font-size : 0.8em ;
69
27
}
70
28
71
- # sidebar {
29
+ @media (min-width : 40rem ) {
30
+ # sidebar {
31
+ width : 300px ;
72
32
position : fixed;
73
33
height : 100% ;
74
34
75
35
overflow-y : scroll;
76
36
overflow : -moz-scrollbars-vertical;
37
+ }
38
+ }
77
39
40
+ # sidebar {
78
41
margin-right : 20px ;
79
42
margin-top : 0 ;
80
43
padding-left : 25px ;
@@ -133,6 +96,13 @@ body {
133
96
font-size : 12px ;
134
97
}
135
98
99
+ @media (min-width : 40rem ) {
100
+ # content {
101
+ width : 580px ;
102
+ padding-left : 350px ;
103
+ }
104
+ }
105
+
136
106
# content {
137
107
padding-top : 10px ;
138
108
padding-bottom : 150px ;
Original file line number Diff line number Diff line change 16
16
</ head >
17
17
< body >
18
18
<!-- essential -->
19
- < div class ="container ">
20
- < div class ="row clearfix ">
21
- < div id ="sidebar column fourth "> </ div >
22
- < div id ="content column three-fourths "> </ div >
23
- </ div >
24
- </ div >
19
+ < div id ="sidebar "> </ div >
20
+ < div id ="content "> </ div >
25
21
<!-- optional -->
26
22
< div id ="back_to_top "> back to top</ div >
27
23
< div id ="edit "> edit</ div >
You can’t perform that action at this time.
0 commit comments