2
IMPORTANT: If you're editing this file in the output directory of one of
3
your projects, your changes will be overwritten the next time you run
4
Natural Docs. Instead, copy this file to your project directory, make your
5
changes, and you can use it with -s. Even better would be to make a CSS
6
file in your project directory with only your changes, which you can then
7
use with -s [original style] [your changes].
9
On the other hand, if you're editing this file in the Natural Docs styles
10
directory, the changes will automatically be applied to all your projects
11
that use this style the next time Natural Docs is run on them.
13
This file is part of Natural Docs, which is Copyright (C) 2003-2008 Greg Valure
14
Natural Docs is licensed under the GPL
18
font: 10pt Verdana, Arial, sans-serif;
20
margin: 0; padding: 0;
26
background-color: #E8E8E8;
30
.FramedSearchResultsPage,
31
.PopupSearchResultsPage {
32
background-color: #FFFFFF;
37
a:visited { color: #900000; text-decoration: none }
38
a:hover { color: #900000; text-decoration: underline }
39
a:active { color: #FF0000; text-decoration: underline }
48
Comment out this line to use web-style paragraphs (blank line between
49
paragraphs, no indent) instead of print-style paragraphs (no blank line,
53
text-indent: 5ex; margin: 0 }
56
/* Opera doesn't break with just wbr, but will if you add this. */
62
/* Blockquotes are used as containers for things that may need to scroll. */
70
.Firefox1 blockquote {
74
/* Turn off scrolling when printing. */
98
.ContentPage .Firefox #Menu,
99
.IndexPage .Firefox #Menu {
105
font-size: 16pt; font-weight: bold; font-variant: small-caps;
107
padding: 5px 10px 15px 10px;
108
border-bottom: 1px dotted #000000;
109
margin-bottom: 15px }
112
font-size: 9pt; font-weight: normal; font-variant: normal;
113
margin-top: 1ex; margin-bottom: 5px }
118
.MEntry a:visited { color: #606060; margin-right: 0 }
119
.MEntry a:active { color: #A00000; margin-right: 0 }
123
font-variant: small-caps; font-weight: bold;
124
margin: 1em 0 1em 10px;
128
font-variant: normal; font-weight: normal }
132
.MGroup a:visited { color: #545454; margin-right: 10px }
133
.MGroup a:active { color: #A00000; margin-right: 10px }
140
padding: 1px 17px 2px 10px;
141
margin: .25em 0 .25em 0;
145
font-size: 8pt; font-style: italic }
151
color: #000000; background-color: #FFFFFF;
152
/* Replace padding with border. */
153
padding: 0 10px 0 10px;
154
border-width: 1px 2px 2px 0; border-style: solid; border-color: #000000;
158
/* Close off the left side when its in a group. */
160
padding-left: 9px; border-left-width: 1px }
162
/* A treat for Mozilla users. Blatantly non-standard. Will be replaced with CSS 3 attributes when finalized/supported. */
163
.Firefox #MSelected {
164
-moz-border-radius-topright: 10px;
165
-moz-border-radius-bottomright: 10px }
166
.Firefox .MGroup #MSelected {
167
-moz-border-radius-topleft: 10px;
168
-moz-border-radius-bottomleft: 10px }
178
font: italic 9pt Verdana, sans-serif;
180
background-color: #E8E8E8;
185
/* Only Opera gets it right. */
186
.Firefox #MSearchField,
188
.Safari #MSearchField {
191
.Opera9 #MSearchField,
192
.Konqueror #MSearchField {
195
.FramedMenuPage .Firefox #MSearchField,
196
.FramedMenuPage .Safari #MSearchField,
197
.FramedMenuPage .Konqueror #MSearchField {
201
/* Firefox doesn't do this right in frames without #MSearchPanel added on.
202
It's presence doesn't hurt anything other browsers. */
203
#MSearchPanel.MSearchPanelInactive:hover #MSearchField {
204
background-color: #FFFFFF;
205
border: 1px solid #C0C0C0;
208
.MSearchPanelActive #MSearchField {
209
background-color: #FFFFFF;
210
border: 1px solid #C0C0C0;
217
font: 8pt Verdana, sans-serif;
220
border: 1px solid #C0C0C0;
222
.MSearchPanelActive #MSearchType,
223
/* As mentioned above, Firefox doesn't do this right in frames without #MSearchPanel added on. */
224
#MSearchPanel.MSearchPanelInactive:hover #MSearchType,
229
#MSearchType option#MSearchEverything {
233
.Opera8 .MSearchPanelInactive:hover,
234
.Opera8 .MSearchPanelActive {
239
iframe#MSearchResults {
243
#MSearchResultsWindow {
247
border: 1px solid #000000;
248
background-color: #E8E8E8;
250
#MSearchResultsWindowClose {
256
#MSearchResultsWindowClose:link,
257
#MSearchResultsWindowClose:visited {
259
text-decoration: none;
261
#MSearchResultsWindowClose:active,
262
#MSearchResultsWindowClose:hover {
264
text-decoration: none;
265
background-color: #F4F4F4;
272
padding-bottom: 15px;
275
.ContentPage #Content {
276
border-width: 0 0 1px 1px;
278
border-color: #000000;
279
background-color: #FFFFFF;
280
font-size: 9pt; /* To make 31ex match the menu's 31ex. */
283
.ContentPage .Firefox #Content {
296
font-size: 12pt; font-weight: bold;
297
border-width: 0 0 1px 0; border-style: solid; border-color: #A0A0A0;
298
margin: 0 15px .5em 15px }
301
font-size: 16pt; font-variant: small-caps;
302
padding-left: 15px; padding-right: 15px;
303
border-width: 0 0 2px 0; border-color: #000000;
304
margin-left: 0; margin-right: 0 }
309
.CDatabaseTable .CTitle,
312
color: #FFFFFF; background-color: #A0A0A0;
313
padding: 10px 15px 10px 15px;
314
border-width: 2px 0; border-color: #000000;
315
margin-left: 0; margin-right: 0 }
319
color: #FFFFFF; background-color: #7070C0;
320
padding: 10px 15px 10px 15px;
321
border-width: 0 0 3px 0; border-color: #000000;
322
margin-left: 0; margin-right: 0 }
325
margin-left: 15px; margin-right: 15px }
329
position: absolute; visibility: hidden;
331
background-color: #FFFFE0;
333
border-width: 1px 2px 2px 1px; border-style: solid; border-color: #000000;
341
/* Scrollbars would be useless. */
342
.CToolTip blockquote {
345
.IE6 .CToolTip blockquote {
350
font-weight: bold; font-size: 10pt;
351
margin: 1.5em 0 .5em 0;
355
font: 10pt "Courier New", Courier, monospace;
360
/* I don't know why CBody's margin doesn't apply, but it's consistent across browsers so whatever.
361
Reapply it here as padding. */
362
padding-left: 15px; padding-right: 15px;
363
margin: .5em 5ex .5em 5ex;
367
margin: .5em 5ex 0 5ex }
370
font: 10pt "Courier New", Courier, monospace; color: #808080;
371
padding-bottom: .25em;
372
white-space: nowrap }
375
font-size: 10pt; /* For browsers that don't inherit correctly, like Opera 5. */
376
padding-bottom: .5em; padding-left: 5ex }
385
font-variant: small-caps;
398
a.CImageLink:visited,
399
a.CImageLink:hover { color: #808080 }
406
font: 10pt "Courier New", Courier, monospace;
408
border-width: 1px; border-style: solid;
409
margin: 0 5ex 1.5em 5ex;
417
.PDefaultValuePrefix,
425
vertical-align: bottom;
428
.IE .Prototype table {
432
.CFunction .Prototype {
433
background-color: #F4F4F4; border-color: #D0D0D0 }
434
.CProperty .Prototype {
435
background-color: #F4F4FF; border-color: #C0C0E8 }
436
.CVariable .Prototype {
437
background-color: #FFFFF0; border-color: #E0E0A0 }
440
border-width: 1px 2px 2px 1px; border-style: solid; border-color: #A0A0A0;
441
background-color: #F4F4F4;
443
.CInterface .Prototype {
444
border-width: 1px 2px 2px 1px; border-style: solid; border-color: #A0A0D0;
445
background-color: #F4F4FF;
448
.CDatabaseIndex .Prototype,
449
.CConstant .Prototype {
450
background-color: #D0D0D0; border-color: #000000 }
452
.CEnumeration .Prototype {
453
background-color: #FAF0F0; border-color: #E0B0B0;
455
.CDatabaseTrigger .Prototype,
457
.CDelegate .Prototype {
458
background-color: #F0FCF0; border-color: #B8E4B8 }
460
.CToolTip .Prototype {
470
margin: 1.5em 5ex 0 5ex }
473
font-size: 12pt; font-weight: bold;
474
margin-bottom: .5em }
478
background-color: #FFFFF0;
480
border: 1px solid #C0C060 }
482
/* In a frame IE 6 will make them too long unless you set the width to 100%. Without frames it will be correct without a width
483
or slightly too long (but not enough to scroll) with a width. This arbitrary weirdness simply astounds me. IE 7 has the same
484
problem with frames, haven't tested it without. */
485
.FramedContentPage .IE .SBorder {
488
/* A treat for Mozilla users. Blatantly non-standard. Will be replaced with CSS 3 attributes when finalized/supported. */
490
-moz-border-radius: 20px }
494
font-size: 9pt; width: 100% }
503
background-color: #F8F8D8 }
505
.SDescription { padding-left: 2ex }
506
.SIndent1 .SEntry { padding-left: 1.5ex } .SIndent1 .SDescription { padding-left: 3.5ex }
507
.SIndent2 .SEntry { padding-left: 3.0ex } .SIndent2 .SDescription { padding-left: 5.0ex }
508
.SIndent3 .SEntry { padding-left: 4.5ex } .SIndent3 .SDescription { padding-left: 6.5ex }
509
.SIndent4 .SEntry { padding-left: 6.0ex } .SIndent4 .SDescription { padding-left: 8.0ex }
510
.SIndent5 .SEntry { padding-left: 7.5ex } .SIndent5 .SDescription { padding-left: 9.5ex }
512
.SDescription a { color: #800000}
513
.SDescription a:active { color: #A00000 }
516
padding-top: .5em; padding-bottom: .25em }
519
font-weight: bold; font-variant: small-caps }
521
.SGroup .SEntry a { color: #800000 }
522
.SGroup .SEntry a:active { color: #F00000 }
531
padding-bottom: .25em }
542
.SDatabaseTable .SEntry,
549
.SDatabase .SEntry a,
550
.SDatabaseTable .SEntry a,
551
.SSection .SEntry a { color: #000000 }
553
.SMain .SEntry a:active,
554
.SClass .SEntry a:active,
555
.SDatabase .SEntry a:active,
556
.SDatabaseTable .SEntry a:active,
557
.SSection .SEntry a:active { color: #A00000 }
564
margin: 0 15px 1em 15px }
567
border-width: 1px 2px 2px 1px; border-style: solid; border-color: #A0A0A0;
571
background-color: #F4F4F4; color: #606060;
575
-moz-border-radius: 4px;
578
.CHCurrent .CHEntry {
580
border-color: #000000;
584
.CHChildNote .CHEntry {
607
background-color: #FFFFFF;
610
/* As opposed to .PopupSearchResultsPage #Index */
612
.FramedIndexPage #Index,
613
.FramedSearchResultsPage #Index {
618
border-width: 0 0 1px 1px;
620
border-color: #000000;
621
font-size: 9pt; /* To make 27ex match the menu's 27ex. */
627
font-size: 20pt; font-weight: bold;
628
color: #FFFFFF; background-color: #7070C0;
629
padding: 10px 15px 10px 15px;
630
border-width: 0 0 3px 0; border-color: #000000; border-style: solid;
631
margin: -15px -15px 0 -15px }
633
.FramedSearchResultsPage .IPageTitle {
640
background-color: #FFFFF0;
642
border-bottom: solid 1px black;
643
margin: 0 -15px 15px -15px;
650
font-size: 16pt; font-weight: bold;
651
padding: 2.5em 0 .5em 0;
663
.PopupSearchResultsPage .IEntry {
667
.PopupSearchResultsPage .Opera9 .IEntry,
668
.FramedSearchResultsPage .Opera9 .IEntry {
671
.FramedSearchResultsPage .IEntry {
676
padding-left: 3ex; padding-bottom: .5em }
677
.PopupSearchResultsPage .ISubIndex {
681
/* While it may cause some entries to look like links when they aren't, I found it's much easier to read the
682
index if everything's the same color. */
684
font-weight: bold; color: #900000 }
686
.IndexPage .ISymbolPrefix,
687
.FramedIndexPage .ISymbolPrefix {
691
background-color: #F8F8F8;
692
border-right: 3px solid #E0E0E0;
693
border-left: 1px solid #E0E0E0;
694
padding: 0 1px 0 2px;
696
.PopupSearchResultsPage .ISymbolPrefix,
697
.FramedSearchResultsPage .ISymbolPrefix {
700
.PopupSearchResultsPage .ISymbolPrefix {
704
.IndexPage #IFirstSymbolPrefix,
705
.FramedIndexPage #IFirstSymbolPrefix {
706
border-top: 1px solid #E0E0E0;
708
.IndexPage #ILastSymbolPrefix,
709
.FramedIndexPage #ILastSymbolPrefix {
710
border-bottom: 1px solid #E0E0E0;
712
.IndexPage #IOnlySymbolPrefix,
713
.FramedIndexPage #IOnlySymbolPrefix {
714
border-top: 1px solid #E0E0E0;
715
border-bottom: 1px solid #E0E0E0;
723
.PopupSearchResultsPage .SRStatus {
728
.FramedSearchResultsPage .SRStatus {
750
.ContentPage #Footer,
756
.FramedMenuPage #Footer {
758
margin: 5em 10px 10px 10px;
760
border-top: 1px solid #C8C8C8;
765
#Footer a:visited { color: #989898 }
766
#Footer a:active { color: #A00000 }