]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - skins/simple/main.css
MediaWiki 1.16.0
[autoinstallsdev/mediawiki.git] / skins / simple / main.css
index ff076034bc97a2d7961cb875de52b39b5f4cdbb1..525c14731538cf006b0f58d8b0733e3c3778b57e 100644 (file)
@@ -1,3 +1,26 @@
+/* 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;
+}
+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% }
+
+
 #toolbar {
   display: none;
 }
@@ -94,26 +117,6 @@ table.rimage {
     text-align:center;
 }
 
-div.townBox {
-    position:relative;
-    float:right;
-    margin-left:1em;
-    padding:0.3em;
-    width: 200px;
-    overflow: hidden;
-    clear: right;
-}
-div.townBox dl {
-    padding: 0;
-    margin: 0 0 0.3em 0;
-}
-div.townBox dl dt {
-    background: none;
-    margin: 0.4em 0 0 0;
-}
-div.townBox dl dd {
-    margin: 0.1em 0 0 1.1em;
-}
 .portlet {
     border: none;
     float: none;
@@ -172,21 +175,19 @@ input.searchButton {
     padding: 0.5em 0.4em 0.4em 0.4em;
 }
 
-textarea {
-  width: 100%;
+/* feed links */
+a.feedlink {
+       background: url("../common/images/feed-icon.png") center left no-repeat;
+       padding-left: 16px;
 }
 
-#p-personal li, #p-personal ul,
-#p-tb li, #p-tb ul,
-#p-navigation li, #p-navigation ul,
-#p-cactions li, #p-cactions ul,
-#p-newlinks li, #p-newlinks ul {
-  padding-left: 0em;
-  margin-left: 0.5em;
+textarea {
+  width: 100%;
 }
 
-#p-cactions li, #p-cactions ul {
-  margin-left: 0.7em;
+.pBody li, .pBody ul {
+       padding-left: 0em;
+       margin-left: 0.5em;
 }
 
 pre {
@@ -222,6 +223,7 @@ h1.firstHeading, h2 {
     padding-right: 18px;
 }
 #bodyContent a[href ^="irc://"],
+#bodyContent a.extiw[href ^="irc://"],
 .link-irc {
     background: url("discussionitem_icon.gif")  center right no-repeat;
     padding-right: 18px;
@@ -242,17 +244,9 @@ td.diff-deletedline {
     background-color: #f8ffaa;
 }
 
-span.diffchange { background-color: #FFCDF3; }
-.autocomment { color:  grey; }
-#pagehistory span.user {
-    margin-left: 1.4em;
-    margin-right: 0.4em;
-}
-#pagehistory span.minor { font-weight: bold; }
-#pagehistory li.selected {
-    background-color:#f9f9f9;
-    border:1px dashed #aaaaaa;
-}
+.diffchange { background-color: #FFCDF3; text-decoration: none; }
+#pagehistory li { border: none; }
+
 span.urlexpansion {
   display: none;
 }
@@ -276,6 +270,7 @@ div.floatright, table.floatright {
 div.floatright p { font-style: italic; }
 div.floatleft, table.floatleft {
     float: left;
+    clear: left;
     margin: 0.3em 0.5em 0.5em 0;
     position: relative;
     border-width: 0.5em 1.4em 0.8em 0;
@@ -286,13 +281,13 @@ div.thumb {
     margin-bottom: 0.5em;
     width: auto;
 }
-div.thumb div {
+div.thumbinner {
     padding: 3px !important;
     text-align: center;
     overflow: hidden;
 }
 
-div.thumb div div.thumbcaption {
+html .thumbcaption {
     border: none;
     text-align: left;
     line-height: 1.4;
@@ -315,9 +310,13 @@ div.tright {
 }
 div.tleft {
     float: left;
+    clear: left;
     margin-right:0.5em;
     border-width: 0.5em 1.4em 0.8em 0;
 }
+img.thumbborder {
+       border: 1px solid #dddddd;
+}
 
 a.stub { color: #772233; }
 a.new,
@@ -327,7 +326,7 @@ a.new,
 li.new {
        text-decoration: line-through;
 }
-p.catlinks {
+.catlinks {
   text-align: center;
   width: 80%;
   margin-left: auto;
@@ -345,16 +344,6 @@ div.printfooter {
   display: none;
 }
 
-
-#ca-addsection a:before {
-  content: "Add section";
-  font-size: 10pt;
-}
-
-#ca-addsection a {
-  font-size: 0px;
-}
-
 #n-portal,
 #n-currentevents,
 #n-help,
@@ -362,10 +351,6 @@ div.printfooter {
   display: none;
 }
 
-span.searchmatch {
-  font-weight: bold;
-}
-
 #preftoc {
     float: left;
     margin: 1em;
@@ -380,12 +365,7 @@ span.searchmatch {
 #preftoc a:active {
     display: block;
 }
-#prefcontrol {
-    clear: both;
-    float: left;
-    margin-top: 1em;
-}
-div.prefsectiontip {
+div.htmlform-tip {
     font-size: 95%;
     margin-top: 1em;
 }
@@ -395,3 +375,18 @@ div.prefsectiontip {
        padding: 0.2em;
 }
 
+#jump-to-nav {
+  display: none;
+}
+
+table.collapsed tr.collapsable {
+       display: none;
+}
+
+.editsection {
+       float: right;
+       margin-left: 5px;
+}
+
+.templatesUsed { margin-top: 1.5em; }
+