]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Portland/portland.css
Use CSS
[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 .bottom {
55     vertical-align: bottom;
56 }
57
58 .middle {
59     vertical-align: middle;
60 }
61
62 .baseline {
63     vertical-align: baseline;
64 }
65
66 .nowrap {
67     white-space: nowrap;
68 }
69
70 .fullwidth {
71     width: 100%;
72 }
73
74 /* --------------------------------------------------------------- */
75
76 /*
77  * "DL tables"
78  */
79 .wiki-dl-table {
80     border-collapse: collapse;
81     border: 2px #444 solid;
82 }
83
84 .wiki-dl-table tr {
85     border-top: 2px #444 solid;
86     border-bottom: 2px #444 solid;
87     border-left: none;
88     border-right: none;
89 }
90
91 .wiki-dl-table th,
92 .wiki-dl-table td {
93     padding: 0.25em 0.5em;
94 }
95
96 .wiki-dl-table th {
97     vertical-align: top;
98     text-align: right;
99     border-right: 1px #444 solid;
100     border-left: none;
101     border-top: none;
102     border-bottom: none;
103 }
104
105 .wiki-dl-table td {
106     border: none;
107 }
108
109 /* Mozilla RecentChanges Sidebar */
110 body.sidebar {
111     font-size: smaller;
112     margin: 0.5em;
113 }
114
115 body.sidebar div.wikitext ul {
116     padding-left: 1em;
117 }
118
119 body.sidebar h2 {
120     margin-top: 0;
121 }
122
123 /* IncludePage plugin ================================================= */
124
125 .transclusion-title {
126     font-style: oblique;
127     font-size: 0.75em;
128     text-decoration: underline;
129     text-align: right;
130 }
131
132 .transclusion {
133     background: lightgreen;
134     border: thin;
135     border-style: solid;
136     padding-left: 0.8em;
137     padding-right: 0.8em;
138     padding-top: 0;
139     padding-bottom: 0;
140     margin: 0.5ex 0;
141 }
142
143 /* WikicreoleTable, MediawikiTable and RichTable plugins ============== */
144
145 /*
146  * table class="boxed"
147  * will put a border around the table (but not around the cells)
148  *
149  * table class="bordered"
150  * will put a border around the table and the cells
151  *
152  * In both cases, the caption will be bold and centered under the table
153  *
154  * In both cases, the headers (th) will have a "#d8d8d8" background
155  */
156
157 table.boxed, table.bordered, table.bordered th, table.bordered td {
158     border-width: 1px;
159     border-style: solid;
160     border-collapse: collapse;
161     vertical-align: top;
162 }
163
164 table.boxed td, table.bordered td,
165 table.boxed th, table.bordered th {
166     padding-left: 5px;
167     padding-right: 5px;
168     padding-top: 0;
169     padding-bottom: 0;
170 }
171
172 table.boxed caption, table.bordered caption {
173     text-align: center;
174     font-weight: bold;
175     caption-side: bottom;
176     padding-top: 0.8em;
177 }
178
179 table.boxed th, table.bordered th {
180     font-weight: bold;
181     background-color: #d8d8d8;
182 }
183