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 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250
|
body {
font-family: "roboto", "source sans pro", "clear sans", "liberation sans",
"arial", "sans-serif";
background: white;
}
div.title {
text-align: center;
font-weight: bold;
}
h1 {
font-size: 250%;
font-weight: bold;
}
h2 {
font-size: 200%;
font-weight: bold;
}
div.contents h2 {
text-decoration: underline;
}
.title h1 {
margin-bottom: 0;
}
.title h2 {
font-size: 128%;
font-style: italic;
margin-top: 0;
}
h3 {
font-size: 160%;
font-weight: bold;
}
h4 {
font-size: 128%;
font-weight: bold;
}
h5 {
font-size: 100%;
font-weight: bold;
}
h6 {
font-size: 100%;
text-decoration: underline;
}
span.subtitle {
font-size: 1.25em;
font-style: italic;
}
code, pre {
font-family: "roboto mono", "source code pro", "liberation mono", "monospace";
font-size: 90%;
}
pre {
background: #f0f0f0;
}
#appendix-F ~ pre {
font-size: 75%;
background: white;
}
code {
font-weight: bolder;
}
pre, blockquote {
margin-left: 4em;
margin-right: 4em;
padding: 0.25em 0.4em;
}
code {
display: inline;
white-space: nowrap;
/* Extra padding due to monospaced font */
padding-left: 0.2em;
padding-right: 0.2em;
}
a {
text-decoration: none;
}
div.toc ol {
padding-left: 2em;
font-size: 80%;
list-style-type: none;
}
div.toc ol.toc1 {
/* Compensate for the size reduction for each level */
font-size: 150%;
}
/* -- TOC numbering using data-name attribute -- */
ol li[data-name]::marker {
content: attr(data-name) '.';
}
ol.toc1 > li {
padding-left: 1em;
padding-top: 0.7em;
font-weight: bold;
}
ol.toc2 > li {
padding-top: 0.3em;
}
ol.toc2 li {
padding-left: 0.4em;
font-weight: normal;
}
div.toc span.node {
display: none;
}
div.index li {
list-style-type: none;
display: flex;
flex-direction: row;
justify-content: space-between;
}
div.index .term {
display: inline-block;
text-align: left;
vertical-align: top;
flex: 3 3 0;
}
div.index .ref {
width: 30%;
display: inline-block;
text-align: right;
vertical-align: top;
flex: 1 1 0;
}
div.toc, div.chapter, div.appendix {
column-width: 42em;
}
div.index {
column-width: 20em;
margin-right: 3em;
}
div.index li {
padding-left: 1em;
padding-right: 1em;
}
div.index > ul {
padding-left: 0;
}
/* This is overridden for @media screen */
nav {
display: none;
}
@media print {
a {
color: inherit;
}
nav {
display: none !important;
}
div.index {
column-gap: 2em;
column-count: 2;
}
}
@media screen {
div.contents {
-webkit-column-rule: 1px dotted black;
-moz-column-rule: 1px dotted black;
column-rule: 1px dotted black;
}
div.toc, div.chapter, div.appendix {
-webkit-column-gap: 4em;
-moz-column-gap: 4em;
column-gap: 4em;
}
div.index {
-webkit-column-gap: 1em;
-moz-column-gap: 1em;
column-gap: 1em;
}
/* Setting an explicit margin to keep the navbar from moving */
body {
padding: 0;
margin: 8px;
}
/* Link styles */
a:link {
color: #33c;
}
a:visited {
color: #338;
}
a:hover {
background: #ccc;
}
a:active {
color: #f33;
background: #ccc;
}
/* Trick to avoid the navbar hiding the the target of an # link */
:target {
margin-top: -10vh;
padding-top: 10vh;
background: #ffa; /* Highlight the jump target */
background-clip: content-box;
}
nav {
display: block;
position: sticky;
top: 8px;
width: 100%;
margin: 0;
overflow: hidden;
background: #336 url("nasmlogw.png") no-repeat right center;
background-size: contain;
float: left;
white-space: collapse;
}
nav ul {
margin: 0;
padding: 0;
display: inline-block;
list-style-type: none;
}
nav li {
margin: 0;
padding: 0;
display: inline-block;
}
nav li a {
margin: 0;
border-right: 1px solid #bbb;
display: block;
text-align: center;
padding: 0.75em 0.75em;
text-decoration: none;
color: white;
white-space: nowrap;
background-color: #336;
}
nav li.navthis a {
background-color: #55c;
}
nav li a:hover {
background-color: #448;
}
nav li.navthis a:hover {
background-color: #55c;
}
nav li a:link, nav li a:visited, nav li a:hover {
color: white;
}
div.index li:hover {
background: #eef;
}
}
|