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