@@ -5,7 +5,7 @@ header section {position:absolute;width:250px;}
5
5
nav a {border-left : 1px solid # ddd ;padding : 0 10px ;}
6
6
nav a : first-child {border : 0 ;padding-left : 0 ;}
7
7
main {margin-bottom : 100px ;}
8
- main section {margin-left : 270px ;}
8
+ . body {margin-left : 270px ;}
9
9
p {margin : 0 0 15px ;}
10
10
pre , code {background : # eee ;font-family : monospace;font-size : 14px ;}
11
11
pre {border-left : 3px solid # 1e5799 ;overflow : auto;padding : 10px 20px ;margin : 20px 0 ;}
@@ -45,6 +45,10 @@ h1 + ul li:last-child {border-bottom:0;}
45
45
h1 + ul ul {margin : 0 0 2px ;padding : 0 0 0 15px ;}
46
46
h1 + ul ul li {border : 0 ;}
47
47
h1 + ul strong + ul {border-left : 3px solid # 1e5799 ;}
48
+ .footer {position : relative;border-top : 1px solid # ddd ;padding : 15px 0 ;margin : 15px 0 ;}
49
+ .footer > * {position : absolute;font-size : 80% ;}
50
+ .footer > : first-child {left : 0 ;}
51
+ .footer > : last-child {right : 0 ;}
48
52
49
53
.hamburger {display : none;}
50
54
@@ -65,7 +69,7 @@ h1 + ul strong + ul {border-left:3px solid #1e5799;}
65
69
@media (max-width : 767px ) {
66
70
.hamburger {display : block;font-size : 30px ;padding : 0 10px ;position : fixed;right : 0 ;top : 0 ;z-index : 2 ;}
67
71
.hamburger : hover {text-decoration : none;}
68
- main section {margin : 0 ;}
72
+ . body {margin : 0 ;}
69
73
header section {margin : 0 0 20px ;position : static;width : auto;}
70
74
h1 + ul {background : # eee ;border : 1px solid # ccc ;box-sizing : border-box;display : none;height : 100% ;margin : 0 ;overflow : auto;padding : 20px ;position : fixed;right : 0 ;top : 0 ;width : 100% ;z-index : 1 }
71
75
h1 + ul + hr {display : block;}
@@ -96,7 +100,7 @@ h1 + ul strong + ul {border-left:3px solid #1e5799;}
96
100
}
97
101
@media print {
98
102
nav , h1 + ul {display : none;}
99
- main section {margin : 0 ;}
103
+ . body {margin : 0 ;}
100
104
}
101
105
102
106
/* prism theming */
0 commit comments