File: ns3_stylesheet.css

package info (click to toggle)
ns3 3.46-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 105,864 kB
  • sloc: cpp: 624,863; python: 14,863; ansic: 6,772; makefile: 1,950; sh: 987; javascript: 167; perl: 102
file content (501 lines) | stat: -rw-r--r-- 9,750 bytes parent folder | download
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
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
/* ns-3 changes to the default CSS from Doxygen and Sphinx */

/* This size should match the height of the div.related (Navigation menu)
   + titlearea.
   Because these areas are "fixed" (sticky), addint this property
   solves a scroll offset issue (Links in the sidebar point to the
   correct position of the section anchors in the body.
*/
html {
    scroll-padding-top: 96px;
}

body,
table,
div,
p,
dl {
    color: black;
    font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif;
    font-size: 12px;
}

a {
    color: #91A501;
    font-weight: bold;
}

/* Sphinx body headings (All Section level headings in the body) */

div.body {
    margin-left: 20px; /*Controls the body area initial position after the default*/
}

div.body h1 {
    font-weight: normal;
    font-size: 39px;
    color: #91A501;
}

div.body h2 {
    color: #91A501;
    font-weight: normal;
    font-size: 28px;
}

div.body h3 {
    color: #41531C;
    font-weight: 700;
    font-size: 18px;
}

div.body h4,
div.body h5,
div.body h6 {
    font-weight: normal;
    font-style: italic;
    font-size: 14px;
}

div.body h3,
div.body h4,
div.body h5,
div.body h6 {
    border-bottom: none;/* Remove horizontal line for subsections */
    padding-bottom: 0;
    margin-bottom: 0.5em;
    margin-left: 0;
    border-left: none;
    padding-left: 0;
    background: none;
}

/* Sphinx figure captions */
p.caption {
    font-weight: bold;
}

/* Doxygen side bar */
#nav-tree {
    font-size: 12px;
}

#nav-tree a {
    font-weight: normal;
}

/* Sphinx navigation links bar (relbar) */
div.related {
    position: sticky;
    top: 56px; /* or 96px if your #titlearea + #ns3-menu is ~96px total */
    z-index: 9999;
    background-color: #E3E3E3;/*#f8f8f8; /* Prevent transparency when stuck */
}

div.related h3 {
    display: none;
}

div.related a {
    color: #91A501;
    font-size: 14px;
    font-weight: bold;
}

div.related li {
    background-image: url('bc_s.png');
    background-position: 100% 40%;
    background-repeat: no-repeat;
    padding-left: 10px;
    padding-right: 15px;
}

div.related li.right {
    background-image: none;
    padding-left: 0px;
    padding-right: 0px;
}


div.sphinxsidebar {
    width: 330px;
}

div.bodywrapper {
    margin-left: 330px;
}

/* Enable independent vertical scrolling in sidebar */
div.sphinxsidebar {
    font-size: 12px;
    position: sticky;        /* keep sidebar visible on scroll */
    top: 90px;               /* align with top of viewport (title area + div.related) */
    max-height: 100vh;       /* full viewport height */
    overflow-y: auto;        /* only vertical scrolling */
    overflow-x: hidden;      /* no horizontal scroll */
    z-index: 10;             /* ensure it stays above main content */

    /* Hide scrollbar cross-browser */
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* IE/Edge */
}

div.sphinxsidebar::-webkit-scrollbar {
    display: none;                  /* Chrome/Safari */
}

div.sphinxsidebar a {
    font-weight: normal;
}

/* Top-level (Module Title) */
.sphinxsidebar .sphinxsidebarwrapper > div > ul > li > a {
    color: #91A501 !important;
    font-weight: bold;
}

/* Second-level (Sections) */
.sphinxsidebar .sphinxsidebarwrapper > div > ul > li > ul > li > a {
    color: #91A501 !important;
}

/* 3rd level (SubsubSections and deeper) */
.sphinxsidebar .sphinxsidebarwrapper ul ul ul a {
    color: #41531C !important;
}


/* Hide any subsection after the 3rd level*/
.sphinxsidebar .sphinxsidebarwrapper ul ul ul ul {
    display: none;
}

/* Title bar elements */

#titlearea {
    background-image: url('bar-top.png');
    background-repeat: repeat;
    border-bottom: 1px solid #5B5B5B;
    color: white;
    position: sticky;
    top: 0;
    z-index: 10000;
}

#projectrow
{
    height: 56px;
}

#projectlogo {
    color: white;
    margin: 10px;
    text-align: center;
    vertical-align: middle;
    width: 220px;
}

#projecttext {
    text-align: left;
    color: white;
    padding-left: 2em;
    width: 250px;
}

#projectbrief {
    color: white;
    font: 120% Tahoma, Arial, sans-serif;
    margin: 0px;
    padding: 0px;
}

#projectnumber {
    color: white;
    font: 100% Tahoma, Arial, sans-serif;
    margin: 0px;
    padding: 0px;
}

#projectsection {
    color: white;
    font: 24pt Aldo, Tahoma, Arial, sans-serif;
    margin-right: 10px;
    margin: 10px;
    text-align: right;
    vertical-align: middle;
}

/*
   ns-3 Main-menu, based on WordPress site

   Drop down menu based on Simple Javascript Drop-Down Menu v2.0
   http://javascript-array.com/scripts/simple_drop_down_menu/
   */

#ns3-menu .menu {
    background-image: url('menu-bgr-400.png');
    /*   background-origin: padding-box; */
    /*   background-position: -10px 0; */
    background-repeat: no-repeat;
    background-size: 100% 39px;
    display: table-cell;
    float: left;
    height: 40px;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    vertical-align: middle;
}


#ns3-menu .menu ul {
    /*   float:left; */
    height: 40;
    list-style: none;
    margin: 0px 0px 0px -2px;
    /*   overflow:hidden; */
    padding: 0px 0px 0px 0px;
    z-index: 30;
}

#ns3-menu .menu ul li {
    background-image: url('ver.png');
    background-origin: padding-box;
    background-position: 0 11px;
    background-repeat: no-repeat;
    color: #ffffff;
    float: left;
    font-family: Aldo, Tahoma, Arial, sans-serif;
    font-size: 14px;
    /*   height:40px; */
    margin: 0px 0px 0px 0px;
    /*   overflow:hidden; */
    padding: 11px 13px 0px 12px;
    text-transform: uppercase;
}

#ns3-menu .menu ul li a {
    color: #ffffff;
    /* cursor: pointer; */
    display: block;
    float: left;
    font-weight: normal;
    /* default anchors are bold */
    text-decoration: none;
    /* default anchors are underlined */
}

#ns3-menu .menu ul li a:hover {
    color: #cadc48;
    text-decoration: none;
    /* don't add underline on hover */
}

#ns3-menu .menu div {
    background: #94A901;
    background-size: 100%;
    color: #ffffff;
    position: absolute;
    visibility: hidden;
}

#ns3-menu .menu div a {
    position: relative;
    display: block;
    float: left;
    font-family: Aldo, Tahoma, Arial, sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 5px 10px;
    text-align: left;
    width: auto;
    white-space: nowrap;
}

#ns3-menu .menu div a:hover {
    color: #cadc48;
    text-decoration: none;
    /* don't add underline on hover */
}

/* Highlight small code blocks in the documentation */
code.literal, span.literal {
    background-color: #f0f0f0;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 90%;
}

/* Dark mode is not supported in Doxygen versions earlier than 1.9.6 */
@media (prefers-color-scheme: dark) {
    a {
        color: #cfde63;
    }

    a:visited {
        color: #91A501;
    }

    body,
    table,
    div,
    p,
    dl,
    div.body,
    div.sphinxsidebar h3,
    div.sphinxsidebar h4,
    div.sphinxsidebar h3 a {
        color: #b2beb5;
        background: #2f2f2f;
    }

    div.body h3 {
        color: #DFF9BA; /* #C5C7C0; */
        font-weight: 700;
        font-size: 18px;
   }

    /* 3rd level (SubsubSections and deeper) */
    .sphinxsidebar .sphinxsidebarwrapper ul ul ul a {
        color: #DFF9BA !important;
   }

    div.sphinxsidebar input {
        background: #2c2d24;
    }

    /* Notes in the dark theme*/
    div.note,
    div.note p {
        background-color: #404040;
    }

    /*div.related a,
    div.sphinxsidebar a {
        color: #cfde63;
    }*/

    /* Sphinx navigation links bar (relbar) */
    div.related {
        position: sticky;
        top: 56px; /* or 96px if your #titlearea + #ns3-menu is ~96px total */
        z-index: 9999;
        background-color: #404040;/*#f8f8f8; /* Prevent transparency when stuck */
        background-image: linear-gradient(to bottom, #404040 0%, transparent 80%);
    }

    th {
        background-color: #483448;
    }

    th p {
        background-color: transparent;
    }

    /* Code blocks (highlight), ns-3 dark theme starts here */

    .highlight {
        background-color: #424e20;
    }

    .highlight .c,
    .highlight .c1,
    .highlight .ch,
    .highlight .cm,
    .highlight .cpf {
        color: #79a6b2;
    }

    .highlight .fm,
    .highlight .nf {
        color: #82abdb;
    }

    .highlight .gi {
        color: #65df65;
    }

    .highlight .go {
        color: #b6b2ad;
    }

    .highlight .m,
    .highlight .mf,
    .highlight .mh,
    .highlight .mi {
        color: #7ec6a2;
    }

    .highlight .cp,
    .highlight .k,
    .highlight .kn,
    .highlight .nb {
        color: #7edf9a;
    }

    .highlight .kt {
        color: #df876d;
    }

    .highlight .nn {
        color: unset;
    }

    .highlight .nt {
        color: #87afdb;
    }

    .highlight .s,
    .highlight .s1,
    .highlight .s2 {
        color: #7c9cb7;
    }

    .highlight .ss {
        color: #adcc80;
    }

    .highlight .nc {
        color: #5db1d5;
    }

    .highlight .nv {
        color: #ae6dc1;
    }

    .highlight .o {
        color: #9e9890;
    }

    pre {
        color: #ceccca;
    }

    img {
        background-color: white;
        padding: 3px;
    }

    #ns3_home1 img {
        background-color: transparent;
    }

    img.footer {
        background-color: transparent;
    }

    #nav-sync img {
        background-color: transparent;
    }

    code.literal, span.literal {
        color:#E3E3E3;
        background-color: /*#6B5A39;*/ #424E20;
        padding: 2px 4px;
        border-radius: 3px;
        font-family: monospace;
        font-size: 90%;
    }
}