fix overflow
This commit is contained in:
parent
fb97a53b49
commit
95a9e5e1d6
2 changed files with 14 additions and 7 deletions
|
|
@ -122,18 +122,19 @@ a:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar {
|
#sidebar {
|
||||||
position: absolute;
|
float: left;
|
||||||
|
margin-top: 40px;
|
||||||
top: 40px;
|
margin-left: 0px;
|
||||||
left: 20px;
|
|
||||||
width: 211px;
|
width: 211px;
|
||||||
|
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
|
padding-left: 30px;
|
||||||
|
|
||||||
border-right: 1px solid #ccc;
|
border-right: 1px solid #ccc;
|
||||||
|
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar h2 {
|
#sidebar h2 {
|
||||||
|
|
@ -146,15 +147,20 @@ a:hover {
|
||||||
|
|
||||||
#sidebar ul {
|
#sidebar ul {
|
||||||
position: relative;
|
position: relative;
|
||||||
left: 30px;
|
left: 20px;
|
||||||
list-style: decimal-leading-zero;
|
list-style: decimal-leading-zero;
|
||||||
|
list-style-position: inside;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar #toc-list {
|
||||||
|
left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar a.visited:after { /* selected with JS */
|
#sidebar a.visited:after { /* selected with JS */
|
||||||
content: "";
|
content: "";
|
||||||
font-family: "fontello";
|
font-family: "fontello";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -3em;
|
left: -20px;
|
||||||
color: #EEE;
|
color: #EEE;
|
||||||
text-shadow: -1px 0 #2B2B2B, 0 1px #2B2B2B, 1px 0 #2B2B2B, 0 -1px #2B2B2B
|
text-shadow: -1px 0 #2B2B2B, 0 1px #2B2B2B, 1px 0 #2B2B2B, 0 -1px #2B2B2B
|
||||||
}
|
}
|
||||||
|
|
@ -15,3 +15,4 @@
|
||||||
* [Exceptions](/exceptions/)
|
* [Exceptions](/exceptions/)
|
||||||
* [Varargs](/varargs/)
|
* [Varargs](/varargs/)
|
||||||
* [OOP Macro](/oop_macro/)
|
* [OOP Macro](/oop_macro/)
|
||||||
|
{: #toc-list}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue