summaryrefslogtreecommitdiff
path: root/skins/common/common.css
diff options
context:
space:
mode:
Diffstat (limited to 'skins/common/common.css')
-rw-r--r--skins/common/common.css99
1 files changed, 67 insertions, 32 deletions
diff --git a/skins/common/common.css b/skins/common/common.css
index e630b77e..f3e5b574 100644
--- a/skins/common/common.css
+++ b/skins/common/common.css
@@ -2,11 +2,36 @@
* common.css
* This file contains CSS settings common to Wikistandard, Nostalgia and CologneBlue
*/
+
+/* For clarity, explicitly state some recommendations from <http://www.w3.org/
+ TR/CSS21/sample.html> to make sure the editsection links scale right */
+
+h1 { font-size: 2em; }
+h2 { font-size: 1.5em; }
+h3 { font-size: 1.17em; }
+h5 { font-size: .83em; }
+h6 { font-size: .75em; }
+h1, h2, h3, h4, h5, h6 { font-weight: bolder }
+
+/* Now the custom parts */
+
+/* Make edit sections (which are inside h# tags) normal-sized */
+.editsection {
+ font-weight: normal;
+ float: right;
+ margin-left: 5px;
+}
+h1 .editsection { font-size: 50% }
+h2 .editsection { font-size: 66.7% }
+h3 .editsection { font-size: 85.5% }
+h5 .editsection { font-size: 120% }
+h6 .editsection { font-size: 133% }
+
#footer { clear: both }
/* images */
-div.floatright { float: right; margin: 0 0 1em 1em; }
+div.floatright { float: right; clear: right; margin: 0 0 1em 1em; }
div.floatright p { font-style: italic; }
-div.floatleft { float: left; margin: 0.3em 0.5em 0.5em 0; }
+div.floatleft { float: left; clear: left; margin: 0.3em 0.5em 0.5em 0; }
div.floatleft p { font-style: italic; }
@@ -26,43 +51,49 @@ table.rimage {
/* thumbnails */
div.thumb {
- margin: 10px;
- text-align: center;
- width: auto;
-}
-div.thumb div {
- border: 1px solid #8888aa;
- background-color: #f7f8ff;
- padding: 2px;
- font-size: 94%;
- text-align: center;
- overflow: hidden;
+ margin-bottom: .5em;
+ border-style: solid;
+ border-color: white;
+ width: auto;
+}
+div.thumbinner {
+ border: 1px solid #ccc;
+ padding: 3px !important;
+ background-color: #f9f9f9;
+ font-size: 94%;
+ text-align: center;
+ overflow: hidden;
}
-div.thumb div * {
- border: none;
- background: none;
+html .thumbimage {
+ border: 1px solid #ccc;
}
-div.thumb img {
- border:1px solid #8888AA;
- margin-bottom:3px;
- background:#FFFFFF;
+html .thumbcaption {
+ border: none;
+ text-align: left;
+ line-height: 1.4em;
+ padding: 3px !important;
+ font-size: 94%;
}
-div.thumbcaption,
-div.thumbcaption * {
- border: none !important;
- background: none !important;
+div.magnify {
+ float: right;
+ border: none !important;
+ background: none !important;
}
-div.thumbcaption {
- padding: 0.2em 0 0.2em 0 !important;
- text-align: left !important;
+div.magnify a, div.magnify img {
+ display: block;
+ border: none !important;
+ background: none !important;
}
div.tright {
- float: right;
- margin-left:0.5em;
+ clear: right;
+ float: right;
+ border-width: .5em 0 .8em 1.4em;
}
div.tleft {
- float: left;
- margin-right:0.5em;
+ float: left;
+ clear: left;
+ margin-right: .5em;
+ border-width: .5em 1.4em .8em 0;
}
/* Page history styling */
@@ -314,7 +345,6 @@ li span.deleted {
font-style: italic;
}
-
/* Classes for EXIF data display */
table.mw_metadata {
margin-left: 0.5em;
@@ -430,3 +460,8 @@ table.multipageimage td {
.imagelist .TablePager_col_img_description { white-space: normal }
.imagelist th.TablePager_sort { background-color: #ccccff }
+.templatesUsed { margin-top: 1em; }
+
+#toolbar { clear: both; }
+
+.mw-plusminus-null { color: #aaa; } \ No newline at end of file