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