MediaWiki:Common.css
Aus Stargate Delta Wiki
Version vom 6. Mai 2019, 19:36 Uhr von Sutton (Diskussion | Beiträge)
Hinweis: Leere nach dem Speichern den Browser-Cache, um die Änderungen sehen zu können.
- Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
- Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
- Internet Explorer: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
- Opera: Gehe zu Menü → Einstellungen (Opera → Einstellungen auf dem Mac) und dann auf Datenschutz & Sicherheit → Browserdaten löschen → Gespeicherte Bilder und Dateien.
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
#column-content {
width: 100%;
float: right;
margin: 0 0 .6em -12.2em;
padding: 0;
}
#content {
margin: 2.8em 0 0 12.2em;
padding: 0 1em 1em 1em;
position: relative;
z-index: 2;
}
#column-one {
padding-top: 160px;
}
#content {
background: #000000;
color: #b6d4c0;
border: 1px solid #aaa;
border-right: none;
line-height: 1.5em;
}
body {
font: x-small sans-serif;
background: #000000 url() 0 0 no-repeat;
color: black;
margin: 0;
padding: 0;
}
#globalWrapper {
font-size: 127%;
width: 100%;
margin: 0;
padding: 0;
}
.visualClear {
clear: both;
}
/* general styles */
table {
background: #000000;
font-size: 100%;
color: #a0d4ab;
/* we don't want the bottom borders of <h2>s to be visible through
floated tables */
background-color: #000000;
}
fieldset table {
/* but keep table layouts in forms clean... */
background: none;
}
a {
text-decoration: none;
color: #2a5cbb;
background: none;
}
a:visited {
color: #2a5cbb;
}
a:active {
color: #2a5cbb;
}
a:hover {
text-decoration: underline;
}
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: .4em 0 .5em 0;
line-height: 1.5em;
}
p img {
margin: 0;
}
hr {
height: 1px;
color: #aaa;
background-color: #aaa;
border: 0;
margin: .2em 0 .2em 0;
}
h1, h2, h3, h4, h5, h6 {
color: #ffcc00;
background: none;
font-weight: normal;
margin: 0;
padding-top: .5em;
padding-bottom: .17em;
border-bottom: 1px solid #aaa;
}
h1 { font-size: 188%; }
h1 .editsection { font-size: 53%; text-align:right;}
h2 { font-size: 150%; }
h2 .editsection { font-size: 67%; text-align:right;}
h3, h4, h5, h6 {
border-bottom: none;
font-weight: bold;
}
h3 { font-size: 132%; }
h3 .editsection { font-size: 76%; font-weight: normal; text-align:right;}
h4 { font-size: 116%; }
h4 .editsection { font-size: 86%; font-weight: normal; text-align:right;}
h5 { font-size: 100%; }
h5 .editsection { font-weight: normal; text-align:right;}
h6 { font-size: 80%; }
h6 .editsection { font-size: 125%; font-weight: normal; text-align:right;}
ul {
line-height: 1.5em;
list-style-type: square;
margin: .3em 0 0 1.5em;
padding: 0;
list-style-image: url(bullet.gif);
}
ol {
line-height: 1.5em;
margin: .3em 0 0 3.2em;
padding: 0;
list-style-image: none;
}
li {
margin-bottom: .1em;
}
dt {
font-weight: bold;
margin-bottom: .1em;
}
dl {
margin-top: .2em;
margin-bottom: .5em;
}
dd {
line-height: 1.5em;
margin-left: 2em;
margin-bottom: .1em;
}
fieldset {
border: 1px solid #2f6fab;
margin: 1em 0 1em 0;
padding: 0 1em 1em;
line-height: 1.5em;
}
fieldset.nested {
margin: 0 0 0.5em 0;
padding: 0 0.5em 0.5em;
}
legend {
padding: .5em;
font-size: 95%;
background: #000000;
}
form {
border: none;
margin: 0;
}
textarea {
width: 100%;
padding: .1em;
background-color:#4D396E;
color: #b6d4c0;
}
input.historysubmit {
padding: 0 .3em .3em .3em !important;
font-size: 94%;
cursor: pointer;
height: 1.7em !important;
margin-left: 1.6em;
}
select {
vertical-align: top;
}
abbr, acronym, .explain {
border-bottom: 1px dotted black;
color: black;
background: none;
cursor: help;
}
q {
font-family: Times, "Times New Roman", serif;
font-style: italic;
}
/* disabled for now
blockquote {
font-family: Times, "Times New Roman", serif;
font-style: italic;
}*/
code {
background-color: #f9f9f9;
}
pre {
padding: 1em;
border: 1px dashed #2f6fab;
color: #ffcc00;
background-color: #000000;
line-height: 1.1em;
}
/*
** the main content area
*/
#siteSub {
display: none;
}
#jump-to-nav {
display: none;
}
#contentSub, #contentSub2 {
font-size: 84%;
line-height: 1.2em;
margin: 0 0 1.4em 1em;
background-color:#4D396E;
color: #b6d4c0;
width: auto;
}
span.subpages {
display: block;
}
/* Some space under the headers in the content area */
#bodyContent h1, #bodyContent h2 {
margin-bottom: .6em;
}
#bodyContent h3, #bodyContent h4, #bodyContent h5 {
margin-bottom: .3em;
}
.firstHeading {
margin-bottom: .1em;
/* These two rules hack around bug 2013 (fix for more limited bug 11325).
When bug 2013 is fixed properly, they should be removed. */
line-height: 1.2em;
padding-bottom: 0;
}
/* user notification thing */
.usermessage {
background-color: #ffce7b;
border: 1px solid #ffa500;
color: black;
font-weight: bold;
margin: 2em 0 1em;
padding: .5em 1em;
vertical-align: middle;
}
#siteNotice {
text-align: center;
font-size: 95%;
padding: 0 .9em;
}
#siteNotice p {
margin: 0;
padding: 0;
}
.success {
color: green;
font-size: larger;
}
.error {
color: red;
font-size: larger;
}
.errorbox, .successbox {
font-size: larger;
border: 2px solid;
padding: .5em 1em;
float: left;
margin-bottom: 2em;
color: #000;
}
.errorbox {
border-color: red;
background-color: #fff2f2;
}
.successbox {
border-color: green;
background-color: #dfd;
}
.errorbox h2, .successbox h2 {
font-size: 1em;
font-weight: bold;
display: inline;
margin: 0 .5em 0 0;
border: none;
}
.catlinks {
border: 1px solid #aaa;
background-color: #000000;
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 {
/* The summary text describing the document */
font-weight: bold;
display: block;
margin: 1em 0;
line-height: 1.5em;
}
.documentByLine {
text-align: right;
font-size: 90%;
clear: both;
font-weight: normal;
color: #76797c;
}
/* emulate center */
.center {
width: 100%;
text-align: center;
}
*.center * {
margin-left: auto;
margin-right: auto;
}
/* small for tables and similar */
.small, .small * {
font-size: 94%;
}
table.small {
font-size: 100%;
}
/*
** content styles
*/
#toc,
.toc,
.mw-warning {
border: 1px solid #aaa;
background-color: #4D396E;
padding: 5px;
font-size: 95%;
}
#toc h2,
.toc h2 {
display: inline;
border: none;
padding: 0;
font-size: 100%;
font-weight: bold;
}
#toc #toctitle,
.toc #toctitle,
#toc .toctitle,
.toc .toctitle {
text-align: center;
}
#toc ul,
.toc ul {
list-style-type: none;
list-style-image: none;
margin-left: 0;
padding-left: 0;
text-align: left;
}
#toc ul ul,
.toc ul ul {
margin: 0 0 0 2em;
}
#toc .toctoggle,
.toc .toctoggle {
font-size: 94%;
}
.mw-warning {
margin-left: 50px;
margin-right: 50px;
text-align: center;
}
/* images */
div.floatright, table.floatright {
clear: right;
float: right;
position: relative;
margin: 0 0 .5em .5em;
border: 0;
/*
border: .5em solid white;
border-width: .5em 0 .8em 1.4em;
*/
}
div.floatright p { font-style: italic; }
div.floatleft, table.floatleft {
float: left;
clear: left;
position: relative;
margin: 0 .5em .5em 0;
border: 0;
/*
margin: .3em .5em .5em 0;
border: .5em solid white;
border-width: .5em 1.4em .8em 0;
*/
}
div.floatleft p { font-style: italic; }
/* thumbnails */
div.thumb {
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;
}
html .thumbimage {
border: 1px solid #ccc;
}
html .thumbcaption {
border: none;
text-align: left;
line-height: 1.4em;
padding: 3px !important;
font-size: 94%;
}
div.magnify {
float: right;
border: none !important;
background: none !important;
}
div.magnify a, div.magnify img {
display: block;
border: none !important;
background: none !important;
}
div.tright {
clear: right;
float: right;
border-width: .5em 0 .8em 1.4em;
}
div.tleft {
float: left;
clear: left;
margin-right: .5em;
border-width: .5em 1.4em .8em 0;
}
/* Für manuelle Formatierung Anfang */
div.sgmain {
vertical-align:top;
background-color: #3A3947;
border: solid;
border-width:2px;
border-color: #aaaaaa;
padding:2px;
color: #b6d4c0;
}
div.sghead {
font-size:16px;
text-align:center;
border:hidden;
border-width:6;
color: #ffcc00;
background-color:#4D396E;
padding:2px;
}
div.tabright {
text-align:right;
vertical-align:top;
}
table.sgtab {
text-align:left;
vertical-align:top;
border-color:#aaaaaa;
border-width:2px;
border-top:1px;
padding:2px;
float:right;
}
td.sgtab1 {
background-color: #4D396E;
border-bottom-color:#000000;
border-right-color:#000000;
border-top-color:#aaaaaa;
border-left-color:#aaaaaa;
border-style:solid;
border-width:1px;
}
td.sgtab2 {
background-color: #3A3947;
border-bottom-color:#000000;
border-right-color:#000000;
border-top-color:#aaaaaa;
border-left-color:#aaaaaa;
border-style:solid;
border-width:1px;
}
td.sgtab3 {
background-color: #000000;
border-bottom-color:#000000;
border-right-color:#000000;
border-top-color:#aaaaaa;
border-left-color:#aaaaaa;
border-style:solid;
border-width:1px;
}
td.sgtab11 {
background-color: #4D396E;
border-bottom-color:#000000;
border-right-color:#000000;
border-top-color:#aaaaaa;
border-left-color:#aaaaaa;
border-style:solid;
border-width:1px;
font-size:10px;
}
td.sgtab22 {
background-color: #3A3947;
border-bottom-color:#000000;
border-right-color:#000000;
border-top-color:#aaaaaa;
border-left-color:#aaaaaa;
border-style:solid;
border-width:1px;
font-size:10px;
}
td.head {
background-color: #800000;
color: #ffcc00;
font-size:12px;
font-weight:bold;
text-align:center;
border-bottom-color:#000000;
border-right-color:#000000;
border-top-color:#aaaaaa;
border-left-color:#aaaaaa;
border-style:solid;
border-width:1px;
}