summaryrefslogtreecommitdiff
path: root/doc/nasmdoc.css
blob: af095273df122b8a3bb8a84d035759759751f0b0 (plain)
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
body {
    font-family: "source sans pro", "clear sans", "liberation sans",
    "arial", "sans-serif";
    background: white;
}
div.title {
    text-align: center;
    font-weight: bold;
    margin: 0.67em 0;
}
h1 {
    font-size: 2em;
    margin: 0;
}
span.subtitle {
    font-size: 1.25em;
    font-style: italic;
}
code, pre {
    font-family: "source code pro", "liberation mono", "monospace";
}
pre, blockquote {
    margin-left: 4em;
    margin-right: 4em;
}
code {
    display: inline;
    white-space: nowrap;
}
a {
    text-decoration: none;
}
div.toc {
    padding-left: 0;
    font-size: 195%;
}
div.toc li {
    list-style-type: none;
    padding-left: 0;
}
div.toc ol {
    padding-left: 2em;
    font-size: 80%;
}
li.toc1 {
    padding-top: 0.7em;
}
li.toc2 {
    padding-top: 0.3em;
}
ul.index {
    list-style-type: none;
}
@media not screen {
    ul.navbar {
	display: none;
    }
}
@media print {
    a {
	color: inherit;
    }
}
@media screen {
    /* Setting an explicit margin to keep the navbar from moving */
    body {
	padding: 0;
	margin: 10px;
    }

    /* 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;
    }

    ul.navbar {
	display: block;
	position: sticky;
	top: 10px;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	white-space: nowrap;
	list-style-type: none;
	background: #336 url("nasmlogw.png") no-repeat right center;
	background-size: contain;
    }

    ul.navbar li {
	float: left;
    }
    ul.navbar li.last {
	border-right: none;
    }
    ul.navbar a {
	border-right: 1px solid #bbb;
	display: block;
	color: white;
	text-align: center;
	padding: 1em 1.5em;
	text-decoration: none;
    }
    ul.navbar a:hover {
	background-color: #448;
    }
}