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