aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets
diff options
context:
space:
mode:
authornobody <nobody@localhost>2004-06-27 00:05:32 +0000
committernobody <nobody@localhost>2004-06-27 00:05:32 +0000
commit0c1d741ff4792d486258b390cf50cf3f9e229511 (patch)
tree55961c46b433ade0739763bee2ba3c4843d13751 /stylesheets
parentd5c8171a3157337557bc54ecb730d7dd35778ca3 (diff)
parent1aaed5fd7c7f4d7ea7abbfc7915bab5954d60a30 (diff)
downloadmediawikicore-1.3.0beta4a.tar.gz
mediawikicore-1.3.0beta4a.zip
This commit was manufactured by cvs2svn to create tag1.3.0beta4a
'REL1_3_0beta4a'.
Diffstat (limited to 'stylesheets')
-rw-r--r--stylesheets/cologneblue.css4
-rw-r--r--stylesheets/common.css81
-rw-r--r--stylesheets/commonPrint.css53
-rw-r--r--stylesheets/monobook/IE55Fixes.css27
-rw-r--r--stylesheets/monobook/IE60Fixes.css22
-rw-r--r--stylesheets/monobook/main.css189
-rw-r--r--stylesheets/monobook/null0
-rw-r--r--stylesheets/monobook/rtl.css35
-rw-r--r--stylesheets/wikibits.js48
-rw-r--r--stylesheets/wikiprintable.css2
-rw-r--r--stylesheets/wikistandard.css15
11 files changed, 353 insertions, 123 deletions
diff --git a/stylesheets/cologneblue.css b/stylesheets/cologneblue.css
index 1bcba666c125..a138309084b1 100644
--- a/stylesheets/cologneblue.css
+++ b/stylesheets/cologneblue.css
@@ -93,3 +93,7 @@ a.stub { color:#772233; text-decoration:none; }
h2, h3, h4, h5, h6 { margin-bottom: 0; }
small { font-size: 75%; }
+#siteNotice {
+ border: 1px solid red;
+}
+
diff --git a/stylesheets/common.css b/stylesheets/common.css
index 712e4fe78ae0..b32503f42fb4 100644
--- a/stylesheets/common.css
+++ b/stylesheets/common.css
@@ -18,7 +18,6 @@ div.floatleft p { font-style: italic; }
/* table standards */
table.rimage {
float:right;
- width:1pt;
margin-left:1em;
margin-bottom:1em;
text-align:center;
@@ -30,6 +29,7 @@ div.thumb {
margin: 10px;
text-align: center;
width: auto;
+ overflow: hidden;
}
div.thumb div {
border: 1px solid #8888aa;
@@ -66,7 +66,7 @@ div.tleft {
/* Page history styling */
/* the auto-generated edit comments */
-.autocomment { color: gray; }
+.autocomment { color: #4b4b4b; }
#pagehistory span.user {
margin-left: 1.4em;
margin-right: 0.4em;
@@ -78,27 +78,26 @@ div.tleft {
border:1px dashed #aaaaaa;
}
-table.diff {
- background:white;
+table.diff { background:white; }
+td.diff-otitle { background:#cccccc; }
+td.diff-ntitle { background:#cccccc; }
+td.diff-addedline {
+ background:#ccffcc;
+ font-size: smaller;
}
-td.diff-otitle {
- background:#cccccc;
-}
-td.diff-ntitle {
- background:#cccccc;
-}
-td.diff-addedline {
- background:#ccffcc;
-}
-td.diff-deletedline {
- background:#ffffaa;
+td.diff-deletedline {
+ background:#ffffaa;
+ font-size: smaller;
}
td.diff-context {
- background:#eeeeee;
+ background:#eeeeee;
+ font-size: smaller;
}
+span.diffchange { color: red; }
img { border: none; }
img.tex { vertical-align: middle; }
+span.texhtml { font-family: serif; }
#toc {
@@ -107,6 +106,14 @@ img.tex { vertical-align: middle; }
padding: 5px;
font-size: 95%;
}
+#toc .tocindent { margin-left: 2em; }
+#toc .tocline { margin-bottom: 0px; }
+#toc p { margin: 0 }
+#toc .toctoggle { font-size: 94%; }
+#toc .editsection {
+ margin-top: 0.7em;
+ font-size: 94%;
+}
.error {
color: red;
@@ -140,3 +147,45 @@ div.prefsectiontip {
}
fieldset.prefsection { margin-top: 1em }
fieldset.operaprefsection { margin-left: 15em }
+
+/* emulate center */
+.center {
+ width: 100%;
+ text-align: center;
+}
+*.center * {
+ margin-left: auto;
+ margin-right: auto;
+}
+
+div.townBox {
+ position:relative;
+ float:right;
+ background:White;
+ margin-left:1em;
+ border: 1px solid Grey;
+ padding:0.3em;
+ width: 200px;
+ overflow: hidden;
+ clear: right;
+}
+div.townBox dl {
+ padding: 0;
+ margin: 0 0 0.3em 0;
+ font-size: 96%;
+}
+div.townBox dl dt {
+ background: none;
+ margin: 0.4em 0 0 0;
+}
+div.townBox dl dd {
+ margin: 0.1em 0 0 1.1em;
+ background-color: #f3f3f3;
+}
+/* use this instead of #toc for page content */
+.toccolours {
+ border:1px solid #aaaaaa;
+ background-color:#f9f9f9;
+ padding:5px;
+ font-size: 95%;
+}
diff --git a/stylesheets/commonPrint.css b/stylesheets/commonPrint.css
index 872e4d0984cd..a348b73f20ac 100644
--- a/stylesheets/commonPrint.css
+++ b/stylesheets/commonPrint.css
@@ -25,6 +25,7 @@ a.new{ color:#ba0000; text-decoration:none; }
.toctoggle, .editsection {
font-size: smaller;
}
+
/* images */
div.floatright {
float: right;
@@ -47,31 +48,34 @@ div.thumb {
margin-bottom: 0.5em;
border-style: solid; border-color: White;
width: auto;
+ overflow: hidden;
}
div.thumb div {
border:1px solid #cccccc;
padding: 3px !important;
background-color:#f9f9f9;
font-size: 94%;
+ text-align: center;
}
div.thumb div a img {
border:1px solid #cccccc;
}
-div div.thumbcaption {
+div.thumb div div.thumbcaption {
border: none;
text-align: left;
- padding: 0.3em 0 0.1em 0 !important;
+ padding: 0.3em 0 0.1em 0;
}
-div.magnify {
+div.magnify { display: none; }
+div.tright {
float: right;
- border: none !important;
- background: none !important;
+ border-width: 0.5em 0 0.8em 1.4em;
}
-div.magnify a, div.magnify img {
- display: block;
- border: none !important;
- background: none !important;
+div.tleft {
+ float: left;
+ margin-right:0.5em;
+ border: 0.5em 1.4em 0.8em 0;
}
+
/* table standards */
table.rimage {
float:right;
@@ -84,8 +88,7 @@ table.rimage {
body {
background: White;
- font-family: "Bitstream Vera Sans",Verdana, sans;
- font-size: 11pt !important;
+ /*font-size: 11pt !important;*/
color: Black;
margin: 0;
padding: 0;
@@ -186,8 +189,36 @@ a, a.external, a.new, a.stub {
text-decoration: inherit ! important;
}
+img { border: none; }
+img.tex { vertical-align: middle; }
+span.texhtml { font-family: serif; }
/* Show some stuff */
.urlexpansion {
display: inline ! important;
}
+
+div.townBox {
+ position:relative;
+ float:right;
+ background:White;
+ margin-left:1em;
+ border: 1px solid Grey;
+ padding:0.3em;
+ width: 200px;
+ overflow: hidden;
+ clear: right;
+}
+div.townBox dl {
+ padding: 0;
+ margin: 0 0 0.3em 0;
+ font-size: 96%;
+}
+div.townBox dl dt {
+ background: none;
+ margin: 0.4em 0 0 0;
+}
+div.townBox dl dd {
+ margin: 0.1em 0 0 1.1em;
+ background-color: #f3f3f3;
+}
diff --git a/stylesheets/monobook/IE55Fixes.css b/stylesheets/monobook/IE55Fixes.css
index 4c2c384ad5d2..b3258d5132e8 100644
--- a/stylesheets/monobook/IE55Fixes.css
+++ b/stylesheets/monobook/IE55Fixes.css
@@ -1,17 +1,36 @@
/* IE5.5/win- only fixes */
-#column-content { display: inline; }
-#column-content #content {
- margin-top: 3em;
- overflow: auto;
+#column-content {
+ float: none;
+ margin-left: 0;
height: 1%;
}
+#column-content #content {
+ position: relative;
+ z-index: 5;
+ margin-left: 12.2em;
+ margin-top: 3em;
+ height: 1%;
+}
+#column-one {
+ position: absolute;
+ top: 0;
+ left: 0;
+ z-index: 4;
+ width: 100%;
+}
+#footer {
+ margin-left: 13.6em;
+ border-left: 1px solid #fabd23;
+}
+
/*#bodyContent div,
#bodyContent pre { overflow: auto; }*/
#p-personal { padding-bottom: 0.1em; }
body { font-size: xx-small; }
+
#p-cactions {
width: 76% !important;
z-index: 3 !important;
diff --git a/stylesheets/monobook/IE60Fixes.css b/stylesheets/monobook/IE60Fixes.css
index b71cb2d099f7..ab5a97a7c729 100644
--- a/stylesheets/monobook/IE60Fixes.css
+++ b/stylesheets/monobook/IE60Fixes.css
@@ -1,16 +1,26 @@
/* 6.0 - only fixes */
/* content area */
-
/* workaround for various ie float bugs */
+#column-content {
+ float: none;
+ margin-left: 0;
+ height: 1%;
+}
#column-content #content {
+ margin-left: 12.2em;
margin-top: 3em;
height: 1%;
}
-#bodyContent {
- height: 1%;
+#column-one {
+ position: absolute;
+ top: 0;
+ left: 0;
+ z-index: 4;
+}
+#footer {
+ margin-left: 13.6em;
+ border-left: 1px solid #fabd23;
}
-
-#column-content { display: inline; }
/* the tabs */
@@ -53,7 +63,7 @@ div.visualClear {
}
textarea {
overflow: auto;
- width: 97%;
+ width: 96%;
}
div.editsection,
diff --git a/stylesheets/monobook/main.css b/stylesheets/monobook/main.css
index 8facf54b1c99..8d741a1bfeb5 100644
--- a/stylesheets/monobook/main.css
+++ b/stylesheets/monobook/main.css
@@ -37,7 +37,7 @@
*/
body {
- font: x-small "Bitstream Vera Sans", "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
+ font: x-small sans-serif;
background: #f9f9f9 url("headbg.jpg") 0px 0px no-repeat;
color: Black;
margin: 0;
@@ -46,7 +46,7 @@ body {
/* scale back up to a sane default */
#globalWrapper {
- font-size:123%;
+ font-size:127%;
width: 100%;
margin: 0;
padding: 0;
@@ -61,21 +61,24 @@ table {
}
a {
text-decoration: none;
- color: #005189;
+ color: #002bb8;
background: none;
}
a:visited { color: #5a3696; }
a:active { color: Orange; }
a:hover { text-decoration: underline; }
-a.stub,
-a.new { color:#ba0000; }
+a.stub { color: #772233; }
+a.new,
+#p-personal a.new { color:#ba0000; }
+a.new:visited,
+#p-personal a.new:visited { color:#a55858; }
img {
border: none;
vertical-align: middle;
}
p {
- margin: 0.4em 0em 0.7em 0em;
+ margin: 0.4em 0em 0.5em 0em;
line-height: 1.5em;
}
@@ -92,7 +95,6 @@ hr {
h1, h2, h3, h4, h5, h6 {
color: Black;
background: none;
- font-family: "Bitstream Vera Sans", "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
font-weight: normal;
margin: 0;
padding-top: 0.5em;
@@ -121,13 +123,21 @@ ol {
line-height: 1.5em;
margin: 0.3em 0 0 3.2em;
padding:0;
+ list-style-image: none;
}
li { margin-bottom: 0.1em; }
-dt { font-weight: bold; }
+dt {
+ font-weight: bold;
+ margin-bottom: 0.1em;
+}
+dl{
+ margin-top: 0.2em;
+ margin-bottom: 0.5em;
+}
dd {
line-height: 1.5em;
- margin-bottom: 0.8em;
margin-left: 2em;
+ margin-bottom: 0.1em;
}
fieldset {
@@ -157,7 +167,6 @@ textarea {
/* hide this from ie/mac and konq2.2 */
@media All {
head:first-child+body input {
- font-family: "Bitstream Vera Sans", "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
visibility: visible;
border: 1px solid #2f6fab;
color: Black;
@@ -166,6 +175,13 @@ textarea {
padding: 0.2em;
}
}
+input.historysubmit {
+ padding: 0 0.3em 0.3em 0.3em !important;
+ font-size: 94%;
+ cursor: pointer;
+ height: 1.7em !important;
+ margin-left: 1.6em;
+}
input[type="radio"],
input[type="checkbox"] { border:none; }
select {
@@ -194,6 +210,7 @@ pre {
border: 1px dashed #2f6fab;
color: Black;
background-color: #f9f9f9;
+ line-height: 1.1em;
}
@@ -210,13 +227,6 @@ pre {
width: auto;
}
span.subpages { display: block; }
-#catlinks {
- margin: 0;
- padding: 0;
- width: 34%;
- text-align: right;
- float: right;
-}
/* Some space under the headers in the content area */
#bodyContent h1,
@@ -242,6 +252,13 @@ span.subpages { display: block; }
color: red;
font-size: larger;
}
+#catlinks {
+ border:1px solid #aaaaaa;
+ background-color:#f9f9f9;
+ padding:5px;
+ margin-top: 1em;
+ clear: both;
+}
/* currently unused, intended to be used by a metadata box
in the bottom-right corner of the content area */
.documentDescription {
@@ -281,27 +298,29 @@ in the bottom-right corner of the content area */
padding:5px;
font-size: 95%;
}
-.tocindent { margin-left: 2em; }
-.tocline { margin-bottom: 0px; }
-.toctoggle { font-size: 94%; }
-.editsection {
+#toc .tocindent { margin-left: 2em; }
+#toc .tocline { margin-bottom: 0px; }
+#toc p { margin: 0 }
+#toc .toctoggle { font-size: 94%; }
+#toc .editsection {
margin-top: 0.7em;
font-size: 94%;
}
/* images */
-div.floatright {
+div.floatright, table.floatright {
+ clear: right;
float: right;
margin: 0;
- position:relative;
+ position: relative;
border: 0.5em solid White;
border-width: 0.5em 0 0.8em 1.4em;
}
-div.floatright p { font-style: italic;}
-div.floatleft {
+div.floatright p { font-style: italic; }
+div.floatleft, table.floatleft {
float: left;
margin: 0.3em 0.5em 0.5em 0;
- position:relative;
+ position: relative;
border: 0.5em solid White;
border-width: 0.5em 1.4em 0.8em 0;
}
@@ -318,6 +337,7 @@ div.thumb div {
background-color:#f9f9f9;
font-size: 94%;
text-align: center;
+ overflow: hidden;
}
div.thumb div a img {
border:1px solid #cccccc;
@@ -325,6 +345,7 @@ div.thumb div a img {
div.thumb div div.thumbcaption {
border: none;
text-align: left;
+ line-height: 1.4;
padding: 0.3em 0 0.1em 0;
}
div.magnify {
@@ -337,35 +358,46 @@ div.magnify a, div.magnify img {
border: none !important;
background: none !important;
}
+div.tright {
+ clear: right;
+ float: right;
+ border-width: 0.5em 0 0.8em 1.4em;
+}
+div.tleft {
+ float: left;
+ margin-right:0.5em;
+ border-width: 0.5em 1.4em 0.8em 0;
+}
.urlexpansion,
.hiddenStructure {
display: none;
}
img.tex { vertical-align: middle; }
+span.texhtml { font-family: serif; }
/*
** classes for special content elements like town boxes
** intended to be referenced directly from the wiki src
*/
+
+/*
+** User styles
+*/
+
/* table standards */
table.rimage {
float:right;
- width:1pt;
position:relative;
margin-left:1em;
margin-bottom:1em;
text-align:center;
}
-div.tright {
- float: right;
- border-width: 0.5em 0 0.8em 1.4em;
-}
-div.tleft {
- float: left;
- margin-right:0.5em;
- border: 0.5em 1.4em 0.8em 0;
+.toccolours {
+ border:1px solid #aaaaaa;
+ background-color:#f9f9f9;
+ padding:5px;
+ font-size: 95%;
}
-
div.townBox {
position:relative;
float:right;
@@ -421,9 +453,19 @@ div.townBox dl dd {
table.diff { background:white; }
td.diff-otitle { background:#ffffff; }
td.diff-ntitle { background:#ffffff; }
-td.diff-addedline { background:#ccffcc; }
-td.diff-deletedline { background:#ffffaa; }
-td.diff-context { background:#eeeeee; }
+td.diff-addedline {
+ background:#ccffcc;
+ font-size: smaller;
+}
+td.diff-deletedline {
+ background:#ffffaa;
+ font-size: smaller;
+}
+td.diff-context {
+ background:#eeeeee;
+ font-size: smaller;
+}
+span.diffchange { color: red; }
/*
** keep the whitespace in front of the ^=, hides rule from konqueror
@@ -458,7 +500,20 @@ td.diff-context { background:#eeeeee; }
background: url("discussionitem_icon.gif") center right no-repeat;
padding-right: 18px;
}
-
+/* disable interwiki styling */
+#bodyContent a.extiw,
+#bodyContent a.extiw:active {
+ color: #3366bb;
+ background: none;
+ padding: 0;
+}
+#bodyContent a.external { color: #3366bb; }
+/* this can be used in the content area to switch off
+special external link styling */
+#bodyContent .plainlinks a {
+ background: none !important;
+ padding: 0;
+}
/*
** Structural Elements
*/
@@ -668,7 +723,6 @@ li#pt-login {
padding-left: 20px;
text-transform: none;
}
-#p-personal a.new { color:#ba0000; }
/*
** the page-related actions- page/talk, edit etc
@@ -708,7 +762,7 @@ li#pt-login {
}
#p-cactions li a {
background-color: White;
- color: #005189;
+ color: #002bb8;
border: none;
padding: 0 0.8em 0.3em 0.8em;
text-decoration: none;
@@ -732,7 +786,7 @@ li#pt-login {
}
/* offsets to distinguish the tab groups */
li#ca-talk { margin-right: 1.6em; }
-li#ca-watch { margin-left: 1.6em; }
+li#ca-watch, li#ca-watch { margin-left: 1.6em; }
/*
@@ -776,15 +830,6 @@ head:first-child+body #footer li { white-space: nowrap; }
height: 1%;
}
-/* JeLuF's js-based preference dialog */
-#bar #p-cactions {
- top: 8.0em;
- left: 5em;
-}
-form #content {
- left: -8em;
-}
-
/* js pref toc */
#preftoc {
float: left;
@@ -799,7 +844,7 @@ form #content {
#preftoc a,
#preftoc a:active {
display: block;
- color: #005189;
+ color: #0014a6;
}
#prefcontrol {
clear: both;
@@ -819,29 +864,49 @@ fieldset.operaprefsection { margin-left: 15em }
*/
/* tabs: border on the a, not the div */
-*>html #p-cactions li { border:none; }
-*>html #p-cactions li a {
+* > html #p-cactions li { border:none; }
+* > html #p-cactions li a {
border: 1px solid #aaaaaa;
border-bottom: none;
}
-*>html #p-cactions li.selected a { border-color: #fabd23; }
+* > html #p-cactions li.selected a { border-color: #fabd23; }
/* footer icons need a fixed width */
-*>html #f-poweredbyico,
-*>html #f-copyrightico { width: 88px; }
-
-/* more IE fixes */
-/* float/negative margin brokenness */
-* html #bodyContent {
+* > html #f-poweredbyico,
+* > html #f-copyrightico { width: 88px; }
+* > html #bodyContent,
+* > html #bodyContent pre {
overflow-x: auto;
width: 100%;
padding-bottom: 25px;
}
+
+/* more IE fixes */
+/* float/negative margin brokenness */
* html #footer {margin-top: 0;}
* html #column-content {
display: inline;
margin-bottom: 0;
}
* html div.editsection { font-size: smaller; }
+#pagehistory li.selected { position: relative; }
/* debugging tool.. */
/*div{ border:1px solid #000000;}*/
+
+#siteNotice {
+ border: 1px solid red;
+}
+
+
+/* Mac IE 5.0 fix; floated content turns invisible */
+* > html #column-content {
+ float: none;
+}
+* > html #column-one {
+ position: absolute;
+ left: 0;
+ top: 0;
+}
+* > html #footer {
+ margin-left: 13.2em;
+}
diff --git a/stylesheets/monobook/null b/stylesheets/monobook/null
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/stylesheets/monobook/null
diff --git a/stylesheets/monobook/rtl.css b/stylesheets/monobook/rtl.css
index 2dd986ccab67..919e6d0943e1 100644
--- a/stylesheets/monobook/rtl.css
+++ b/stylesheets/monobook/rtl.css
@@ -57,7 +57,6 @@ html>body .portlet {
}
/* Fix alignment */
-#catlinks,
.documentByLine,
.portletDetails,
.portletMore,
@@ -69,7 +68,6 @@ div div.thumbcaption {
text-align: right;
}
-#catlinks,
div.magnify,
#div.townBox,
#p-logo {
@@ -104,7 +102,7 @@ li#ca-talk {
margin-right: auto;
margin-left: 1.6em;
}
-li#ca-watch {
+li#ca-watch,li#ca-unwatch {
margin-right: 1.6em !important;
}
@@ -131,6 +129,18 @@ dd {
margin-left: 0;
margin-right: 2em;
}
+div.tright {
+ clear: none;
+}
+div.tleft {
+ clear: left;
+}
+div.floatright table.floatright {
+ clear: none;
+}
+div.floatleft table.floatleft {
+ clear: left;
+}
div.townBox {
margin-left: 0;
margin-right: 1em;
@@ -167,6 +177,23 @@ li#pt-login {
#footer {
clear: both;
}
+* html #footer {
+ margin-left: 0;
+ margin-right: 13.6em;
+ border-left: 0;
+ border-right: 1px solid #fabd23;
+}
+* html #column-content {
+ float: none;
+ margin-left: 0;
+ margin-right: 0;
+}
+* html #column-content #content {
+ margin-left: 0;
+ margin-top: 3em;
+}
+* html #column-one { right: 0; }
+
/* js pref toc */
#preftoc { float: right; }
/* workaround for moz bug, displayed bullets on left side */
@@ -174,6 +201,6 @@ li#pt-login {
#prefcontrol { float: right; }
fieldset.prefsection,
fieldset.operaprefsection {
+ margin-left: 0 !important;
margin-right: 15em;
- margin-left: 0;
}
diff --git a/stylesheets/wikibits.js b/stylesheets/wikibits.js
index bab8d8a54002..fbae991b606c 100644
--- a/stylesheets/wikibits.js
+++ b/stylesheets/wikibits.js
@@ -1,11 +1,10 @@
// Wikipedia JavaScript support functions
-
// if this is true, the toolbar will no longer overwrite the infobox when you move the mouse over individual items
var noOverwrite=false;
var alertText;
var clientPC = navigator.userAgent.toLowerCase(); // Get client info
var is_gecko = ((clientPC.indexOf('gecko')!=-1) && (clientPC.indexOf('spoofer')==-1)
- && (clientPC.indexOf('khtml') == -1));
+ && (clientPC.indexOf('khtml') == -1) && (clientPC.indexOf('netscape/7.0')==-1));
var is_safari = ((clientPC.indexOf('AppleWebKit')!=-1) && (clientPC.indexOf('spoofer')==-1));
var is_khtml = (navigator.vendor == 'KDE' || ( document.childNodes && !document.all && !navigator.taintEnabled ));
if (clientPC.indexOf('opera')!=-1) {
@@ -21,23 +20,22 @@ function onloadhook () {
histrowinit();
unhidetzbutton();
tabbedprefs();
+ akeytt();
}
if (window.addEventListener) window.addEventListener("load",onloadhook,false);
else if (window.attachEvent) window.attachEvent("onload",onloadhook);
// document.write special stylesheet links
-function addcss ( stylepath ) {
+if(typeof stylepath != 'undefined' && typeof skin != 'undefined') {
if (is_opera_preseven) {
- document.write('<link rel="stylesheet" type="text/css" href="'+stylepath+'Opera6Fixes.css">');
+ document.write('<link rel="stylesheet" type="text/css" href="'+stylepath+'/'+skin+'/Opera6Fixes.css">');
} else if (is_opera_seven) {
- document.write('<link rel="stylesheet" type="text/css" href="'+stylepath+'Opera7Fixes.css">');
+ document.write('<link rel="stylesheet" type="text/css" href="'+stylepath+'/'+skin+'/Opera7Fixes.css">');
} else if (is_khtml) {
- document.write('<link rel="stylesheet" type="text/css" href="'+stylepath+'KHTMLFixes.css">');
+ document.write('<link rel="stylesheet" type="text/css" href="'+stylepath+'/'+skin+'/KHTMLFixes.css">');
}
- return;
}
-
// Un-trap us from framesets
if( window.top != window ) window.top.location = window.location;
@@ -62,7 +60,7 @@ function toggleVisibility( _levelId, _otherId, _linkId) {
function histrowinit () {
hf = document.getElementById('pagehistory');
if(!hf) return;
- lis = hf.getElementsByTagName('li');
+ lis = hf.getElementsByTagName('LI');
for (i=0;i<lis.length;i++) {
inputs=lis[i].getElementsByTagName('INPUT');
if(inputs[0] && inputs[1]) {
@@ -78,7 +76,7 @@ function diffcheck() {
var oli = false; // the li where the oldid radio is checked
hf = document.getElementById('pagehistory');
if(!hf) return;
- lis = hf.getElementsByTagName('li');
+ lis = hf.getElementsByTagName('LI');
for (i=0;i<lis.length;i++) {
inputs=lis[i].getElementsByTagName('INPUT');
if(inputs[1] && inputs[0]) {
@@ -361,3 +359,33 @@ function insertTags(tagOpen, tagClose, sampleText) {
// reposition cursor if possible
if (txtarea.createTextRange) txtarea.caretPos = document.selection.createRange().duplicate();
}
+
+function akeytt() {
+ if(typeof ta == "undefined" || !ta) return;
+ pref = 'alt-';
+ if(is_safari || navigator.userAgent.toLowerCase().indexOf( 'mac' ) + 1 ) pref = 'control-';
+ if(is_opera) pref = 'shift-esc-';
+ for(id in ta) {
+ n = document.getElementById(id);
+ if(n){
+ a = n.childNodes[0];
+ if(a){
+ if(ta[id][0].length > 0) {
+ a.accessKey = ta[id][0];
+ ak = ' ['+pref+ta[id][0]+']';
+ } else {
+ ak = '';
+ }
+ a.title = ta[id][1]+ak;
+ } else {
+ if(ta[id][0].length > 0) {
+ n.accessKey = ta[id][0];
+ ak = ' ['+pref+ta[id][0]+']';
+ } else {
+ ak = '';
+ }
+ n.title = ta[id][1]+ak;
+ }
+ }
+ }
+}
diff --git a/stylesheets/wikiprintable.css b/stylesheets/wikiprintable.css
index 686850ade5f8..22e71935809b 100644
--- a/stylesheets/wikiprintable.css
+++ b/stylesheets/wikiprintable.css
@@ -21,7 +21,7 @@ a, a.external, a.new, a.stub {
}
/* Hide ugly UI stuff */
-#quickbar, #topbar, #footer,
+#quickbar, #topbar, #footer, #siteNotice,
.editsection, .toctoggle {
display: none;
}
diff --git a/stylesheets/wikistandard.css b/stylesheets/wikistandard.css
index 2f70ea55616e..dbfcfb1b1eff 100644
--- a/stylesheets/wikistandard.css
+++ b/stylesheets/wikistandard.css
@@ -12,15 +12,7 @@
/* Table of contents */
-.tocindent {
- margin-left: 2em;
-}
-.tocline {
- margin-bottom: 0px;
-}
-.toctoggle, .editsection {
- font-size: smaller;
-}
+.toctoggle, .editsection { font-size: smaller; }
/* ... */
#toolbar { padding:0px; }
@@ -50,3 +42,8 @@ p.catlinks { font-size:small; margin-top:0; text-align:right;}
td { empty-cells:show; }
td.bottom { border-top: 1px solid gray; }
td.top { border-bottom: 1px solid gray; }
+
+
+#siteNotice {
+ border: 1px solid red;
+}