]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Portland/portland.css
Remove $Id$
[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 { font-family: monospace; }
31 .strike { text-decoration:line-through; }
32
33 .align-left {text-align: left;}
34 .align-right {text-align: right;}
35 .align-center {text-align: center;}
36   
37 .top {vertical-align: top;}
38
39 .nowrap {white-space: nowrap;}
40
41 .fullwidth { width: 100%; }
42
43 /* --------------------------------------------------------------- */
44
45 /*
46  * "DL tables"
47  */
48 .wiki-dl-table {
49   border-collapse: collapse;
50   border: 2px #444 solid;
51 }
52 .wiki-dl-table tr {
53   border-top: 2px #444 solid;
54   border-bottom: 2px #444 solid;
55   border-left: none;
56   border-right: none;
57 }
58 .wiki-dl-table th,
59 .wiki-dl-table td {
60   padding: 0.25em 0.5em;
61 }
62 .wiki-dl-table th {
63   vertical-align: top;
64   text-align: right;
65   border-right: 1px #444 solid;
66   border-left: none;
67   border-top: none;
68   border-bottom: none;
69 }
70 .wiki-dl-table td {
71   border: none;
72 }
73
74 /* Mozilla RecentChanges Sidebar */
75 body.sidebar {
76   font-size: smaller;
77   margin: 0.5em;
78 }
79 body.sidebar div.wikitext ul { padding-left: 1em; }
80 body.sidebar h2 { margin-top: 0; }
81
82 /* IncludePage plugin ================================================= */
83
84 .transclusion-title {
85    font-style: oblique;
86    font-size: 0.75em;
87    text-decoration: underline;
88    text-align: right;
89 }
90
91 .transclusion {
92    background: lightgreen;
93    border: thin;
94    border-style: solid;
95    padding-left: 0.8em;
96    padding-right: 0.8em;
97    padding-top: 0;
98    padding-bottom: 0;
99    margin: 0.5ex 0;
100 }
101
102 /* WikicreoleTable, MediawikiTable and RichTable plugins ============== */
103
104 /*
105  * table class="boxed"
106  * will put a border around the table (but not around the cells)
107  *
108  * table class="bordered"
109  * will put a border around the table and the cells
110  *
111  * In both cases, the caption will be bold and centered under the table
112  *
113  * In both cases, the headers (th) will have a "#d8d8d8" background
114  */
115
116 table.boxed, table.bordered, table.bordered th, table.bordered td {
117     border-width: 1px;
118     border-style: solid;
119     border-collapse: collapse;
120     vertical-align: top;
121 }
122
123 table.boxed td, table.bordered td,
124 table.boxed th, table.bordered th {
125     padding-left: 5px;
126     padding-right: 5px;
127     padding-top: 0;
128     padding-bottom: 0;
129 }
130
131 table.boxed caption, table.bordered caption {
132     text-align: center;
133     font-weight: bold;
134     caption-side: bottom;
135     padding-top: 0.8em;
136 }
137
138 table.boxed th, table.bordered th {
139     font-weight: bold;
140     background-color: #d8d8d8;
141 }
142