Debian Codegraph @

html/css/style.css

raw
1 /* main stylesheet */
2
3 @import url(http://fonts.googleapis.com/css?family=Signika);
4
5 html {
6 overflow-y: scroll;
7 }
8
9 body {
10 font-size: 15px;
11 font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, sans-serif;
12 color: #332;
13 }
14
15 h1, h2, h3, h4, h5 {
16 color: #332;
17 font-family: "Signika";
18 font-weight: 400;
19 font-size: 1.4em;
20 line-height: 1.1;
21 margin-top: 30px;
22 }
23
24 pre code {
25 font: 14px/19px Inconsolata, Monaco,"Lucida Console",Terminal,"Courier New",Courier;
26 }
27
28 .figure {
29 text-align: center;
30 }
31
32 .small .figure img {
33 height: 200px;
34 }
35
36 .pagetitle .figure {
37 text-align: left !important;
38 }
39
40 .pagetitle .figure img {
41 height: 36px;
42 }
43
44 table{
45 background:#fff;
46 border:1px solid #ccc;
47 border-width:2px;
48 border-collapse:collapse;
49 margin:5px 0 10px;
50
51 margin-top: 20px;
52 margin-bottom: 20px;
53 }
54
55 th, td{
56 border:1px solid #ccc;
57 padding:3px 10px;
58 text-align:left;
59 vertical-align:top;
60 }
61
62 tr.even td{
63 background:#f7f7f7;
64 }
65
66 th{
67 background:#edeff0;
68 }
69
70 td code {
71 border: 0px;
72 }
73
74 img {
75 max-width: 100%;
76 height: auto;
77 }
78
79 hr {
80 border: 0px;
81 height: 0;
82 border-bottom: 1px solid #ccc;
83 margin-bottom: 100px;
84 }
85
86 /* Logo */
87
88 .logo {
89 text-align: center;
90 }
91
92 .tagline {
93 font-family: Georgia;
94 font-size: 18px;
95 font-style: italic;
96 line-height: 1.45;
97 color: #383838;
98 }
99
100 .author {
101 }
102
103 .halfbreak {
104 padding-bottom: 100px;
105 }
106
107 .break {
108 padding-bottom: 200px;
109 }
110
111 /* TOC Links */
112
113 a {
114 color: #111111;
115 text-decoration: none;
116 }
117
118 .body li a {
119 text-decoration: underline;
120 }
121
122 /* Math */
123
124 .MathJax_Display {
125 padding-top: 20px;
126 padding-bottom: 20px;
127 }
128
129 /* Body Links */
130
131 p a {
132 text-decoration: underline;
133 }
134
135 li code, p code {
136 font-size: 12px;
137 border: 1px solid #ccc;
138 margin-left: 3px;
139 margin-right: 3px;
140 padding-left: 2px;
141 padding-right: 2px;
142 }
143
144 /* */
145
146 .center {
147 text-align: center;
148 }
149
150 .bigger img {
151 width: 120%;
152 height: 120%;
153 }
154
155 pre {
156 font-size: 0.9em;
157
158 margin-bottom: 18px;
159 margin-top: 18px;
160
161 border-left: 1px solid #ccc;
162
163 }
164
165 h1 {
166 margin-top: 0px;
167 }
168
169 .annotation {
170 font-size: 10pt;
171 }
172
173 .annotation pre {
174 display: block;
175 margin: 0;
176 padding: 7px 10px;
177 overflow-x: auto;
178 }
179
180 .annotation.span2 {
181 /* Override bootstrap */
182 margin-left: 0px !important;
183 margin-top: 18px !important;
184 }
185
186 .annotation pre code {
187 border: 0;
188 padding: 0;
189 background: transparent;
190 }
191
192 blockquote {
193 border-left: 1px solid #ccc;
194 font-family: Georgia, serif;
195 font-size: 14px;
196 font-style: italic;
197 margin: 0.25em 0;
198 padding-left: 10px;
199 line-height: 1.45;
200 color: #383838;
201 left: 20px;
202 }
203
204
205 blockquote cite {
206 color: #999999;
207 font-size: 14px;
208 display: block;
209 margin-top: 5px;
210 }
211
212 ul.sections {
213 list-style: none;
214 padding:0 0 5px 0;
215 margin:0;
216 }
217
218 code.sourceCode {
219 padding: 0;
220 background: inherit;
221 }
222
223 pre.sourceCode {
224 padding: 10px;
225 }
226
227 ul.sections > li > div {
228 -moz-box-sizing: border-box; /* firefox */
229 -ms-box-sizing: border-box; /* ie */
230 -webkit-box-sizing: border-box; /* webkit */
231 -khtml-box-sizing: border-box; /* konqueror */
232 box-sizing: border-box; /* css3 */
233 }
234
235
236 /* Make the naviation centered and larger on small screens */
237 /*---------------------- (> 481px) ---------------------*/
238
239 @media only screen and (max-width: 481px) {
240
241 }
242
243 @media only screen and (min-width: 1025px) {
244 body {
245 padding: 10px;
246 }
247
248 .side {
249 position: fixed;
250 width: 120px !important;
251 margin-left: 0px;
252 z-index: 1000;
253 }
254
255 .side ul ul {
256 display: none;
257 }
258
259 .side ul ul.active {
260 display: block;
261 }
262
263 .side .active {
264 font-weight: bold;
265 }
266
267 .body {
268 margin-left: 120px !important;
269 }
270
271 }