1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133
|
@import url(https://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic);
/* Base styles */
body {
color: #f0f0f0;
background: #500;
font-family: PT Sans, DejaVu Sans, Arial, sans;
margin: 0;
padding: 0;
}
a {
color: #f0f0f0;
}
h1 {
font-size: 150%;
margin: 0;
padding: 1em 0 0.5em;
}
h2 {
font-size: 120%;
margin: 1.5em 0 0.5em 0;
}
pre {
margin: 0;
}
code {
display: block;
font-family: Consolas, Monaco, monospace;
font-size: 10pt;
overflow-x: auto;
padding: 0.5em;
scrollbar-width: thin;
-moz-tab-size: 4;
tab-size: 4;
}
pre code.hljs {
/* compatible with school-book */
padding: 16px 30px 20px;
}
aside {
background: #600;
bottom: 0;
box-shadow: 0 0 1em #000000;
display: flex;
flex-direction: column;
left: 0;
padding: 0 1.5em 1em;
position: fixed;
top: 0;
width: 16em;
}
.categories {
flex: 0 4 25%;
}
.styles {
flex: 1 1 50%;
}
aside ul,
aside li {
list-style: none;
margin: 0;
padding: 0;
}
aside ul {
position: relative;
overflow-y: auto;
scrollbar-width: thin;
}
aside ul::-webkit-scrollbar {
width: 8px;
}
aside ul::-webkit-scrollbar-track {
background: #4d0607;
border-radius: 5px;
}
aside ul::-webkit-scrollbar-thumb {
background: #926868;
border-right: 1px solid #4d0607;
border-left: 1px solid #4d0607;
border-radius: 5px;
}
aside ul::-webkit-scrollbar-thumb:hover {
background: #7f5555;
}
aside ul::-webkit-scrollbar-thumb:active {
background: #5d3333;
}
aside li {
padding: 1px 1em;
cursor: pointer;
}
aside li:hover {
background: #500;
}
aside li.current:before {
content: "▶";
font-size: smaller;
position: absolute;
left: 0;
}
main {
margin-left: 18em;
min-width: 36em;
padding: 1px 4em;
}
main > div {
margin: 2.5em 0 3em;
}
.hidden {
display: none;
}
|