]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Portland/portland.css
No underscore for private function
[SourceForge/phpwiki.git] / themes / Portland / portland.css
1 /**
2  * PhpWiki's Portland style sheet based on the original Wiki
3  *
4  * Styles are kept to a minimum, so the page will mostly appear
5  * according to the browser's default font settings.
6  */
7 body {
8     color: black;
9     background: white;
10 }
11
12 img {
13     border: 0;
14 }
15
16 .wiki-edithelp {
17     font-size: smaller;
18 }
19
20 input.numeric {
21     text-align: right;
22 }
23
24 .clear-floats {
25     clear: both;
26 }
27
28 /* generic classes ----------------------------------------------- */
29
30 .tt {
31     font-family: monospace;
32 }
33
34 .strike {
35     text-decoration: line-through;
36 }
37
38 .align-left {
39     text-align: left;
40 }
41
42 .align-right {
43     text-align: right;
44 }
45
46 .align-center {
47     text-align: center;
48 }
49
50 .top {
51     vertical-align: top;
52 }
53
54 .nowrap {
55     white-space: nowrap;
56 }
57
58 .fullwidth {
59     width: 100%;
60 }
61
62 /* --------------------------------------------------------------- */
63
64 /*
65  * "DL tables"
66  */
67 .wiki-dl-table {
68     border-collapse: collapse;
69     border: 2px #444 solid;
70 }
71
72 .wiki-dl-table tr {
73     border-top: 2px #444 solid;
74     border-bottom: 2px #444 solid;
75     border-left: none;
76     border-right: none;
77 }
78
79 .wiki-dl-table th,
80 .wiki-dl-table td {
81     padding: 0.25em 0.5em;
82 }
83
84 .wiki-dl-table th {
85     vertical-align: top;
86     text-align: right;
87     border-right: 1px #444 solid;
88     border-left: none;
89     border-top: none;
90     border-bottom: none;
91 }
92
93 .wiki-dl-table td {
94     border: none;
95 }
96
97 /* Mozilla RecentChanges Sidebar */
98 body.sidebar {
99     font-size: smaller;
100     margin: 0.5em;
101 }
102
103 body.sidebar div.wikitext ul {
104     padding-left: 1em;
105 }
106
107 body.sidebar h2 {
108     margin-top: 0;
109 }
110
111 /* IncludePage plugin ================================================= */
112
113 .transclusion-title {
114     font-style: oblique;
115     font-size: 0.75em;
116     text-decoration: underline;
117     text-align: right;
118 }
119
120 .transclusion {
121     background: lightgreen;
122     border: thin;
123     border-style: solid;
124     padding-left: 0.8em;
125     padding-right: 0.8em;
126     padding-top: 0;
127     padding-bottom: 0;
128     margin: 0.5ex 0;
129 }
130
131 /* WikicreoleTable, MediawikiTable and RichTable plugins ============== */
132
133 /*
134  * table class="boxed"
135  * will put a border around the table (but not around the cells)
136  *
137  * table class="bordered"
138  * will put a border around the table and the cells
139  *
140  * In both cases, the caption will be bold and centered under the table
141  *
142  * In both cases, the headers (th) will have a "#d8d8d8" background
143  */
144
145 table.boxed, table.bordered, table.bordered th, table.bordered td {
146     border-width: 1px;
147     border-style: solid;
148     border-collapse: collapse;
149     vertical-align: top;
150 }
151
152 table.boxed td, table.bordered td,
153 table.boxed th, table.bordered th {
154     padding-left: 5px;
155     padding-right: 5px;
156     padding-top: 0;
157     padding-bottom: 0;
158 }
159
160 table.boxed caption, table.bordered caption {
161     text-align: center;
162     font-weight: bold;
163     caption-side: bottom;
164     padding-top: 0.8em;
165 }
166
167 table.boxed th, table.bordered th {
168     font-weight: bold;
169     background-color: #d8d8d8;
170 }
171