Welcome to Square Enix Wiki! Be sure to check out our To-Do List to see what work we need done!

Difference between revisions of "User:KeybladeSpyMaster/vector.css"

From Square Enix Wiki, the Fan-wiki for all things Square Enix
Jump to navigationJump to search
(Undo revision 5740 by KeybladeSpyMaster (talk))
(Undo revision 5741 by KeybladeSpyMaster (talk))
Line 1: Line 1:
/*
* Any rules which should not be flipped automatically in right-to-left situations should be
* prepended with @noflip in a comment block. Images that should be embedded as base64 data-URLs
* should be prepended with @embed in a comment block.
*
* This style-sheet employs a few CSS trick to accomplish compatibility with a wide range of web
* browsers. The most common trick is to use some styles in IE6 only. This is accomplished by using
* a rule that makes things work in IE6, and then following it with a rule that begins with
* "html > body" or use a child selector ">", which is ignored by IE6 because it does not support
* the child selector. You can spot this by looking for the "OVERRIDDEN BY COMPLIANT BROWSERS" and
* "IGNORED BY IE6" comments.
*/


/* Framework */
html,
body {
height: 100%;
margin: 0;
padding: 0;
font-family: sans-serif;
font-size: 1em;
}
body {
background-color: #f3f3f3;
/* @embed */
background-image: url(images/page-base.png);
}
/* Content */
div#content {
margin-left: 178px;
padding-bottom: 1em;
padding-top:0em;
/* @embed */
background-image: url(images/border.png);
background-position: top left;
background-repeat: repeat-y;
background-color: #282828;
color: white;
direction: ltr;
height:auto;
position:absolute;
bottom:0px;
top:40px;
overflow:auto;
-webkit-overflow-scrolling: touch;
width: -webkit-calc(100% - 338px);
width: -moz-calc(100% - 338px);
width: -o-calc(100% - 338px);
width: calc(100% - 338px);
}
/* Head */
#mw-page-base {
height: 2.5em;
background-color: #CC0000;
/* @embed */
background-position: bottom left;
background-repeat: repeat-x;
}
#mw-head-base {
margin-top: -5em;
margin-left: 178px;
height: 5em;
/* @embed */
background-image: url(images/border.png);
background-position: bottom left;
background-repeat: repeat-x;
}
div#mw-head {
position: absolute;
top: 0;
right: 0;
width: 100%;
}
div#mw-head h5 {
margin: 0;
padding: 0;
}
/* Hide empty portlets */
div.emptyPortlet {
display: none;
}
/* Personal */
#p-personal {
position: relative;
top: 0em;
}
#p-personal a {
color:#333;
}
#p-personal h5 {
display: none;
}
#p-personal ul {
list-style: none;
margin-right:12px;
margin-left:0;
positon:absolute;
right:-12px;
}
#username-top {
color: #fff;
height:40px;
display:table-cell;
vertical-align:middle;
font-size:9.5pt;
padding-top:1px;
font-family:sans-serif;
}
/* @noflip */
#p-personal li {
line-height: 20px;
float: left;
width:100%;
}
/* This one flips! */
#p-personal li {
margin-left: 0em;
margin-top: 0em;
white-space: nowrap;
font-size: 1em;
}
/* Navigation Containers */
#left-navigation {
position: absolute;
left: 190px;
top: 0em;
}
/* Navigation Labels */
div.vectorTabs h5,
div.vectorMenu h5 span {
display: none;
}
/* Namespaces and Views */
/* @noflip */
div.vectorTabs {
float: left;
height: 2.5em;
}
div.vectorTabs {
/* @embed */
background-image: url(images/tab-break.png);
background-position: bottom left;
background-repeat: no-repeat;
padding-left: 1px;
}
/* @noflip */
div.vectorTabs ul {
float: left;
}
div.vectorTabs ul {
height: 100%;
list-style: none;
margin: 0;
padding: 0;
}
/* @noflip */
div.vectorTabs ul li {
float: left;
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
div.vectorTabs ul li {
line-height: 14px;
display: inline-block;
height: 100%;
margin: 0;
padding: 0;
background:transparent;
/* @embed */
background-image: url(images/tab-normal-fade.png);
background-position: bottom left;
background-repeat: repeat-x;
white-space:nowrap;
}
/* IGNORED BY IE6 */
div.vectorTabs ul > li {
display: block;
}
div.vectorTabs li.selected {
    background: #900000;
/* @embed */
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
div.vectorTabs li a {
display: inline-block;
height: 2.1em;
padding-left: 0.8em;
padding-right: 0.8em;
/* @embed */
background-image: url(images/tab-break.png);
background-position: bottom right;
background-repeat: no-repeat;
color: #fff;
cursor: pointer;
font-size: 0.8em;
text-decoration: none;
}
/* IGNORED BY IE6 */
div.vectorTabs li > a {
display: block;
}
div.vectorTabs li a:hover {
background: #CC7070;
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
div.vectorTabs span a  {
display: inline-block;
padding-top: 1em;
}
/* IGNORED BY IE6 */
/* @noflip */
div.vectorTabs span > a {
float: left;
display: block;
}
div.vectorTabs li.selected a,
div.vectorTabs li.selected a:visited{
color: #fff;
}
div.vectorTabs li.new a,
div.vectorTabs li.new a:visited{
color: #fff;
}
/* Variants and Actions */
/* @noflip */
div.vectorMenu {
direction: ltr;
float: left;
padding-left:5px;
padding-right:5px;
/* @embed */
background-color: #CC0000;
background-image: url(images/arrow-down-icon.png);
background-position:center;
background-repeat: no-repeat;
cursor: pointer;
z-index:10;
}
div.vectorMenu:hover {
background-color: #9F6F40;
}
/* @noflip */
body.rtl div.vectorMenu {
direction: rtl;
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
/* @noflip */
div#mw-head div.vectorMenu h5 {
float: left;
/* @embed */
background-image: url(images/tab-break.png);
background-repeat: no-repeat;
}
/* This will be flipped - unlike the one above it */
div#mw-head div.vectorMenu h5 {
background-position: bottom left;
margin-left: -1px;
}
/* IGNORED BY IE6 */
div#mw-head div.vectorMenu > h5 {
background-image: none;
}
div#mw-head div.vectorMenu h4 {
display: inline-block;
float: left;
font-size: 0.8em;
padding-left: 0.5em;
padding-top: 1.375em;
font-weight: normal;
border: none;
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
/* @noflip */
div.vectorMenu h5 a {
display: inline-block;
width: 24px;
height: 2.5em;
text-decoration: none;
/* @embed */
background-image: url(images/tab-break.png);
background-repeat: no-repeat;
}
div.vectorMenu h5 {
padding: 0;
margin: 0;
}
/* This will be flipped - unlike the one above it */
div.vectorMenu h5 a {
background-position: bottom right;
}
/* IGNORED BY IE6 */
div.vectorMenu h5 > a {
display: block;
}
div.vectorMenu div.menu {
position: relative;
display: none;
clear: both;
text-align: left;
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
/* @noflip */
body.rtl div.vectorMenu div.menu {
margin-left: 24px;
}
/* IGNORED BY IE6 */
/* @noflip */
body.rtl div.vectorMenu > div.menu {
margin-left: auto;
}
/* IGNORED BY IE6 */
/* Also fixes old versions of FireFox */
/* @noflip */
body.rtl div.vectorMenu > div.menu,
x:-moz-any-link {
margin-left: 23px;
}
div.vectorMenu ul {
position: absolute;
background-color: white;
border: solid 2px #CF8B54;
border-top-width: 0;
list-style: none;
list-style-image: none;
list-style-type: none;
padding: 0;
padding-top:5px;
margin: 0;
margin-left: -6px;
text-align: left;
}
/* Fixes old versions of FireFox */
div.vectorMenu ul,
x:-moz-any-link {
min-width: 5em;
}
/* Returns things back to normal in modern versions of FireFox */
div.vectorMenu ul,
x:-moz-any-link,
x:default {
min-width: 0;
}
div.vectorMenu li {
padding: 0;
margin: 0;
text-align: left;
line-height: 1em;
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
div.vectorMenu li a {
display: inline-block;
padding: 0.5em;
padding-left: 1em;
padding-right: 2.5em;
white-space: nowrap;
color: #333;
cursor: pointer;
font-size: 0.8em;
text-decoration:none;
}
div.vectorMenu li a:hover {
background-color:#f3f3f3;
}
/* IGNORED BY IE6 */
div.vectorMenu li > a {
display: block;
}
div.vectorMenu li.selected a,
div.vectorMenu li.selected a:visited {
color: #fff;
text-decoration: none;
}
/* Search */
#p-search h5 {
display: none;
}
/* @noflip */
#p-search {
float: left;
margin-bottom:0.4em;
}
#p-search {
margin-right: 10px;
margin-left: 10px;
}
#p-search form,
#p-search input {
margin: 0;
margin-top: -4px;
}
input#searchInput {
height:22px;
}
div#simpleSearch {
display: block;
width: 156px;
height: 1.75em;
margin-top: 0.6em;
position: relative;
min-height: 1px; /* Gotta trigger hasLayout for IE7 */
border: solid 1px #AAAAAA;
color: black;
background-color: white;
/* @embed */
background-position: top left;
background-repeat: repeat-x;
}
div#simpleSearch label {
/*
* DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
* this from ever being shown anyways.
*/
font-size: 13px;
top: 0.25em;
direction: ltr;
}
div#simpleSearch input {
color: black;
direction: ltr;
}
div#simpleSearch input:focus {
outline: none;
}
div#simpleSearch input.placeholder {
color: #999999;
}
div#simpleSearch input::-webkit-input-placeholder {
color: #999999;
}
div#simpleSearch input#searchInput {
position: absolute;
top: 0;
left: 0;
width: 124px;
margin: 0;
padding: 0;
padding-left: 0.5em;
padding-top: 0.2em;
padding-bottom: 0.2em;
outline: none;
border: none;
/*
* DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
* this from ever being shown anyways.
*/
font-size: 13px;
background-color: transparent;
direction: ltr;
}
div#simpleSearch button#searchButton {
position: absolute;
width: 24px;
right: 0;
top: 0;
padding: 0;
padding-top: 0.2em;
padding-bottom: 0.2em;
padding-right: 0.4em;
margin: 0;
border: none;
cursor: pointer;
background-color: transparent;
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
div#simpleSearch button#searchButton img {
border: none;
margin: 0;
margin-top: -3px;
padding: 0;
}
/* IGNORED BY IE6 */
div#simpleSearch button#searchButton > img {
margin: 0;
}
/* Panel */
div#mw-panel {
position: absolute;
top: 40px;
bottom: 0px;
height:auto;
overflow:hidden;
padding-top: 0.25em;
width: 178px;
left: 0;
background: #C0C0C0;
}
div#mw-panel div.portal {
padding-bottom: 1em;
direction: ltr;
}
div#mw-panel div.portal h5 {
font-family: 'Segoe UI Light', Segoe UI, sans-serif;
font-weight: 100;
color: #444444;
padding: 0.25em;
padding-top: 0;
padding-left: 17px;
padding-bottom: 0;
margin-bottom:0;
cursor: default;
border: none;
font-size: 1.25em;
}
div#mw-panel div.portal div.body {
margin: 0;
padding-top: 0.5em;
margin-left: 17px;
/* @embed */
background-image: url(images/portal-break.png);
background-repeat: no-repeat;
background-position: top left;
}
div#mw-panel div.portal div.body ul {
list-style: none;
list-style-image: none;
list-style-type: none;
padding: 0;
margin: 0;
}
div#mw-panel div.portal div.body ul li {
line-height: 1.125em;
padding: 0;
padding-bottom: 0.5em;
margin: 0;
overflow: hidden;
font-size: 0.75em;
}
div#mw-panel div.portal div.body ul li a {
color: #0645ad;
}
div#mw-panel div.portal div.body ul li a:visited {
color: #0b0080;
}
/* Panel right */
div#mw-panel-right {
position: absolute;
top: 40px;
bottom: 0px;
height:auto;
overflow:hidden;
padding-top: 0.25em;
width: 160px;
right: 0;
z-index:5;
background: #c0c0c0;
}
/* Footer */
div#footer {
margin-top: 0;
padding: 0.75em;
/* @embed */
background-image: url(images/border.png);
background-position: top left;
background-repeat: repeat-x;
direction: ltr;
}
div#footer ul {
list-style: none;
list-style-image: none;
list-style-type: none;
margin: 0;
padding: 0;
}
div#footer ul li {
margin: 0;
padding: 0;
padding-top: 0.5em;
padding-bottom: 0.5em;
color: #C0C0C0;
font-size: 0.7em;
}
div#footer #footer-icons {
float: right;
}
/* @noflip */
body.ltr div#footer #footer-places {
float: left;
}
div#footer #footer-info li {
line-height: 1.4em;
}
div#footer #footer-icons li {
float: left;
margin-left: 0.5em;
line-height: 2em;
}
div#footer #footer-places li {
float: left;
margin-right: 1em;
line-height: 2em;
}
/*
*
* The following code is highly modified from monobook. It would be nice if the
* preftoc id was more human readable like preferences-toc for instance,
* howerver this would require backporting the other skins.
*/
/* Preferences */
#preftoc {
/* Tabs */
width: 100%;
float: left;
clear: both;
margin: 0 !important;
padding: 0 !important;
/* @embed */
background-image: url(images/preferences-break.png);
background-position: bottom left;
background-repeat: no-repeat;
}
#preftoc li {
/* Tab */
float: left;
margin: 0;
padding: 0;
padding-right: 1px;
height: 2.25em;
white-space: nowrap;
list-style-type: none;
list-style-image: none;
/* @embed */
background-image: url(images/preferences-break.png);
background-position: bottom right;
background-repeat: no-repeat;
}
/* Sadly, IE6 won't understand this */
#preftoc li:first-child {
margin-left: 1px;
}
#preftoc a,
#preftoc a:active {
display: inline-block;
position: relative;
color: #999999;
padding: 0.5em;
text-decoration: none;
background-image: none;
font-size: 1em;
padding-top: 0em;
padding-bottom: 0em;
}
#preftoc a:hover,
#preftoc a:focus {
text-decoration: underline;
}
#preftoc li.selected a {
/* @embed */
background-image: url(images/preferences-fade.png);
background-position: bottom;
background-repeat: repeat-x;
color: #000000;
text-decoration: none;
}
#preferences {
float: left;
width: 100%;
margin: 0;
margin-top: -3px;
clear: both;
border: 0;
background-color: #f9f9f9;
/* @embed */
background-image: url(images/preferences-base.png);
}
#preferences fieldset.prefsection {
border: none;
padding: 0;
margin: 1em;
}
#preferences fieldset.prefsection fieldset {
border: none;
border-top: solid 1px #cccccc;
}
#preferences legend {
color: #666666;
}
#preferences fieldset.prefsection legend.mainLegend {
display: none;
}
#preferences td {
padding-left: 0.5em;
padding-right: 0.5em;
}
#preferences td.htmlform-tip {
font-size: x-small;
padding: .2em 2em;
color: #666666;
}
#preferences div.mw-prefs-buttons {
padding: 1em;
}
#preferences div.mw-prefs-buttons input {
margin-right: 0.25em;
}
/*
* Styles for the user login and create account forms
*/
#userlogin, #userloginForm {
border: 0;
padding: 1.2em;
margin: .5em;
float: left;
}
#userlogin {
min-width: 20em;
max-width: 90%;
width: 40em;
}
/*
*
* The following code is slightly modified from monobook
*
*/
div#content {
line-height: 1.5em;
}
#bodyContent {
font-size: 0.8em;
}
/* Links */
a {
text-decoration: none;
color: #0A9AF8;
background: none;
}
a:visited {
color: #0b0080;
}
a:active {
color: #faa700;
}
a:hover, a:focus {
text-decoration: underline;
}
a.stub {
color: #772233;
}
a.new, #p-personal a.new {
color: #333;
}
a.new:visited, #p-personal a.new:visited {
color: #333;
}
/* Inline Elements */
img {
border: none;
vertical-align: middle;
}
hr {
height: 1px;
color: #aaa;
background-color: #aaa;
border: 0;
margin: .2em 0 .2em 0;
}
/* Structural Elements */
h1,
h2,
h3,
h4,
h5,
h6 {
color: silver;
background: none;
font-weight: normal;
margin: 0;
overflow: hidden;
padding-top: .5em;
padding-bottom: .17em;
border-bottom: 1px solid #aaa;
width: auto;
}
h1 { font-size: 188%; }
h1 .editsection { font-size: 53%; }
h2 { font-size: 150%; }
h2 .editsection { font-size: 67%; }
h3,
h4,
h5,
h6 {
border-bottom: none;
font-weight: bold;
}
h3 { font-size: 132%; }
h3 .editsection { font-size: 76%; font-weight: normal; }
h4 { font-size: 116%; }
h4 .editsection { font-size: 86%; font-weight: normal; }
h5 { font-size: 100%; }
h5 .editsection { font-weight: normal; }
h6 { font-size: 80%;  }
h6 .editsection { font-size: 125%; font-weight: normal; }
.editsection { float: right; }
p {
margin: .4em 0 .5em 0;
line-height: 1.5em;
}
p img {
margin: 0;
}
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;
}*/
pre, code, tt, kbd, samp {
/*
* It's important for this rule to first reference an actual font name, some browsers will render the monospace text
* too small otherwise, namely Firefox, Chrome and Safari
*/
font-family: monospace, "Courier New";
}
code {
background-color: #f9f9f9;
}
pre {
padding: 1em;
border: 1px dashed #2f6fab;
color: black;
background-color: #f9f9f9;
line-height: 1.1em;
}
ul {
line-height: 1.5em;
list-style-type: square;
margin: .3em 0 0 1.5em;
padding: 0;
/* @embed */
list-style-image: url(images/bullet-icon.png);
}
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;
}
/* Tables */
table {
font-size: 100%;
}
/* Forms */
fieldset {
border: 1px solid #ABADB3;
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%;
}
form {
border: none;
margin: 0;
}
textarea {
width: 100%;
padding: .1em;
}
select {
vertical-align: top;
}
/* Table of Contents */
#toc,
.toc,
.mw-warning {
border: 1px solid #aaa;
background-color: #f9f9f9;
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%;
}
/* Images */
div.floatright, table.floatright {
clear: right;
float: right;
position: relative;
margin: 0 0 .5em .5em;
border: 0;
}
div.floatright p { font-style: italic; }
div.floatleft, table.floatleft {
float: left;
clear: left;
position: relative;
margin: 0 .5em .5em 0;
border: 0;
}
div.floatleft p { font-style: italic; }
/* Thumbnails */
div.thumb {
margin-bottom: .5em;
width: auto;
background-color: transparent;
}
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;
}
/* @noflip */
div.tright {
clear: right;
float: right;
margin: .5em 0 1.3em 1.4em;
}
/* @noflip */
div.tleft {
float: left;
clear: left;
margin: .5em 1.4em 1.3em 0;
}
img.thumbborder {
border: 1px solid #dddddd;
}
.hiddenStructure {
display: none;
}
/* Warning */
.mw-warning {
margin-left: 50px;
margin-right: 50px;
text-align: center;
}
/* User Message */
.usermessage {
background-color: #ffce7b;
color: black;
vertical-align: middle;
font-size: 12px;
}
/* Site Notice (includes notices from CentralNotice extension) */
#siteNotice {
position: relative;
text-align: center;
font-size: 0.8em;
margin: 0;
padding: 5px;
background:#dedede;
color:#444;
}
#localNotice {
margin-bottom: 0.9em;
}
/* Categories */
.catlinks {
border: 1px solid #aaa;
background-color: #f9f9f9;
padding: 5px;
margin-top: 1em;
clear: both;
}
/* Sub-navigation */
#siteSub {
display: none;
}
#jump-to-nav {
display: none;
}
#contentSub, #contentSub2 {
font-size: 84%;
line-height: 1.2em;
margin: 0 0 1.4em 1em;
color: #7d7d7d;
width: auto;
}
span.subpages {
display: block;
}
/* 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%;
}
/* Edge Cases for Content */
h1, h2 {
margin-bottom: .6em;
}
h3, h4, h5 {
margin-bottom: .3em;
}
#firstHeading {
padding-top: 0.4em;
margin-top: 0;
margin-bottom: 0.1em;
line-height: 1.2em;
font-size: 1.6em;
padding-bottom: 0;
padding-left:0.5em;
padding-right:0.5em;
font-weight:100;
font-family: 'Segoe UI Semilight', 'Segoe UI Light', 'Segoe UI', Segoe UI, Segoe, sans-serif;
}
div#content a.external,
div#content a[href ^="gopher://"] {
/* @embed */
background: url(images/external-link-ltr-icon.png) center right no-repeat;
padding-right: 13px;
}
div#content a[href ^="https://"],
.link-https {
/* @embed */
background: url(images/lock-icon.png) center right no-repeat;
padding-right: 13px;
}
div#content a[href ^="mailto:"],
.link-mailto {
/* @embed */
background: url(images/mail-icon.png) center right no-repeat;
padding-right: 13px;
}
div#content a[href ^="news://"] {
/* @embed */
background: url(images/news-icon.png) center right no-repeat;
padding-right: 13px;
}
div#content a[href ^="ftp://"],
.link-ftp {
/* @embed */
background: url(images/file-icon.png) center right no-repeat;
padding-right: 13px;
}
div#content a[href ^="irc://"],
div#content a.extiw[href ^="irc://"],
.link-irc {
/* @embed */
background: url(images/talk-icon.png) center right no-repeat;
padding-right: 13px;
}
div#content a.external[href $=".ogg"], div#content a.external[href $=".OGG"],
div#content a.external[href $=".mid"], div#content a.external[href $=".MID"],
div#content a.external[href $=".midi"], div#content a.external[href $=".MIDI"],
div#content a.external[href $=".mp3"], div#content a.external[href $=".MP3"],
div#content a.external[href $=".wav"], div#content a.external[href $=".WAV"],
div#content a.external[href $=".wma"], div#content a.external[href $=".WMA"],
.link-audio {
/* @embed */
background: url("images/audio-icon.png?2") center right no-repeat;
padding-right: 13px;
}
div#content a.external[href $=".ogm"], div#content a.external[href $=".OGM"],
div#content a.external[href $=".avi"], div#content a.external[href $=".AVI"],
div#content a.external[href $=".mpeg"], div#content a.external[href $=".MPEG"],
div#content a.external[href $=".mpg"], div#content a.external[href $=".MPG"],
.link-video {
/* @embed */
background: url("images/video-icon.png?2") center right no-repeat;
padding-right: 13px;
}
div#content a.external[href $=".pdf"], div#content a.external[href $=".PDF"],
div#content a.external[href *=".pdf#"], div#content a.external[href *=".PDF#"],
div#content a.external[href *=".pdf?"], div#content a.external[href *=".PDF?"],
.link-document {
/* @embed */
background: url("images/document-icon.png?2") center right no-repeat;
padding-right: 13px;
}
/* Interwiki Styling  (Disabled) */
div#content a.extiw,
div#content a.extiw:active {
color: #36b;
background: none;
padding: 0;
}
div#content a.external {
color: #36b;
}
div#content .printfooter {
display: none;
}
.toccolours {
border: 1px solid #aaa;
background-color: #f9f9f9;
padding: 5px;
font-size: 95%;
}
#bodyContent {
position: relative;
width: auto;
padding-left:1em;
padding-top:0px;
padding-right:1em;
}
#mw-js-message {
font-size: 0.8em;
}
div#bodyContent {
line-height: 1.5em;
}
/* Watch/Unwatch Icon Styling */
#ca-unwatch.icon,
#ca-watch.icon {
margin-right:1px;
}
#ca-unwatch.icon a,
#ca-watch.icon a {
margin: 0;
padding: 0;
outline: none;
display: block;
width: 26px;
/* This hides the text but shows the background image */
padding-top: 3.1em;
margin-top: 0;
/* Only applied in IE6 */
margin-top: -0.8em !ie;
height: 0;
overflow: hidden;
/* @embed */
background-image: url(images/watch-icons.png);
}
#ca-unwatch.icon a {
background-position: -43px 60%;
}
#ca-watch.icon a {
background-position: 5px 60%;
}
#ca-unwatch.icon a:hover,
#ca-unwatch.icon a:focus {
background-position: -67px 60%;
}
#ca-watch.icon a:hover,
#ca-watch.icon a:focus {
background-position: -19px 60%;
}
#ca-unwatch.icon a.loading,
#ca-watch.icon a.loading {
/* @embed */
background-image: url(images/watch-icon-loading.gif);
background-position: 5px 60%;
}
#ca-unwatch.icon a span,
#ca-watch.icon a span {
display: none;
}
div.vectorTabs ul {
/* @embed */
background-image:url(images/tab-break.png);
background-position:right bottom;
background-repeat:no-repeat;
}
/* Convenience links to edit block, delete and protect reasons */
p.mw-ipb-conveniencelinks, p.mw-protect-editreasons,
p.mw-filedelete-editreasons, p.mw-delete-editreasons {
float: right;
}
/* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
.tipsy {
font-size: 0.8em;
}
#file {
padding-top:4px;
padding-bottom:4px;
}
ul#preftoc {
line-height: 2em;
}
.hoverbox {
background: #CC0000;
}
.hoverbox:hover {
background:#9F6F40;
}
/**
* CSS related to SMW core
*
* @licence GNU GPL v2 or later
*
* @since 1.8
* @release 0.1
*
* @file
* @ingroup SMW
*
*/
span.smwbuiltin, span.smwttactiveinline span.smwbuiltin { /* highlighting for builtin elements */
font-style: italic;
}
div.smwpre { /* make divs look like <pre> */
white-space: pre;
font-family: monospace;
padding: 1em;
border: 1px dashed #2f6fab;
color: black;
background-color: #f9f9f9;
line-height: 1.1em;
margin-bottom: 0.5em;
margin-top: 0.5em;
}
#smwfootbr { /* terminate page contents when inserting stuff below a page, typically used in <br> */
clear: both;
}
/* hide keys for sorting table entries */
span.smwsortkey {
display: none;
}
/* buttons for sort-arrows */
a.sortheader:hover {
text-decoration: none;
}
/* "semantic" span classes for Timeline */
div.smwtimeline {
border: 1px solid #AAAAAA;
background-color: #F9F9F9;
/*text-align: center;*/
/* After hours of debugging and frustration I now can safely say: IE sucks. (mak)
  You can support Semantic MediaWiki development by not using Internet Explorer. Thanks.
  (IE centers the Timeline *elements*, which messes up the whole layout) */
}
span.smwtlevent, span.smwtlband, span.smwtlsize, span.smwtlposition {
display: none;
speak: none;
}
span.smwtlcomment {
font-style: italic;
padding: 5px;
}
/* Factbox */
div.smwfact {
clear: both;
background-color: #F9F9F9;
padding: 5px;
margin-top: 1em;
border: 1px solid #AAAAAA;
font-size: 95%;
}
div.smwfact td, div.smwfact tr, div.smwfact table {
background-color: #F9F9F9;
}
span.smwfactboxhead {
font-size: 110%;
font-weight: bold;
float: left;
}
table.smwfacttable {
border-top: 1px dotted #AAAAAA;
width: 100%;
clear: both;
}
td.smwpropname, th.smwpropname, td.smwspecname {
text-align: right;
vertical-align: top;
padding-right: 1em;
}
td.smwprops, td.smwspecs {
vertical-align: top;
width: 75%;
}
div.smwhr hr {
background-color: #DDDDDD;
color: #DDDDDD;
}
/* warning messages */
span.smwwarning {
color: #888888;
font-style: italic;
font-size: 90%;
}
/* search, browse, RDF icons */
span.smwsearchicon { /*FIXME: this was only used for Factbox docu, should be removed from code*/
padding-right: 16px;
margin-right: 2px;
color: #888888;
/* @embed */ background: url(images/searchgray_iconsmall.png) center right no-repeat;
}
#bodyContent span.smwsearch a {
padding-right: 16px;
margin-right: 2px;
color: #888888;
/* @embed */ background: url(images/searchgray_iconsmall.png) center right no-repeat;
}
#bodyContent span.smwsearch a:hover {
text-decoration: none;
color: #0000FF;
padding-right: 18px;
margin-right: 0px;
/* @embed */ background: url(images/search_icon.png) center right no-repeat;
}
#bodyContent span.swmfactboxheadbrowse a {
padding-right: 16px;
margin-right: 2px;
color: #000000;
/* @embed */ background: url(images/browse_iconsmall.png) center right no-repeat;
}
#bodyContent span.swmfactboxheadbrowse a:hover {
text-decoration: none;
color: #0000FF;
padding-right: 18px;
margin-right: 0px;
/* @embed */ background: url(images/browse_icon.png) center right no-repeat;
}
#bodyContent span.smwbrowse a {
padding-right: 16px;
margin-right: 2px;
color: #888888;
/* @embed */ background: url(images/browse_iconsmall.png) center right no-repeat;
}
#bodyContent span.smwbrowse a:hover {
text-decoration: none;
color: #0000FF;
padding-right: 18px;
margin-right: 0px;
/* @embed */ background: url(images/browse_icon.png) center right no-repeat;
}
#bodyContent span.smwmap a {
padding-right: 20px;
color: #888888;
/* @embed */ background: url(images/world.png) center right no-repeat;
}
#bodyContent span.smwmap a:hover {
padding-right: 20px;
color: #0000FF;
/* @embed */ background: url(images/world.png) center right no-repeat;
}
#bodyContent span.rdflink {
float: right;
}
#bodyContent span.rdflink a {
padding-right: 20px;
color: #888888;
/* @embed */ background: url(images/rdf_flyer.18.gif) center right no-repeat;
}
#bodyContent span.rdflink a:hover {
text-decoration: none;
color: #0000FF;
padding-right: 20px;
margin-right: 0px;
/* @embed */ background: url(images/rdf_flyer.18.gif) center right no-repeat;
}
/* @TODO Browse and Factbox should be split into seperated CSS file*/
/* CSS style file for Semantic MediaWiki Special Browse. */
table.smwb-factbox {
border-left: 8px solid #DDDDDD;
width: 100%
}
tr.smwb-title {
font-size: 200%;
background-color: #DDDDDD;
line-height: 1.5;
}
tr.smwb-title td {
padding-left: 5px;
border-bottom: 2px solid white;
}
tr.smwb-propvalue {
width: 100%;
background-color: #EEEEEE;
}
tr.smwb-propvalue th {
text-align: right;
vertical-align: top;
font-weight: bold;
font-size: 120%;
background-color: #DDDDDD;
padding: 0.2em 0.6em;
border-bottom: 2px solid white;
border-top: 2px solid white;
}
tr.smwb-propvalue td {
padding-left:0.4em;
background-color: #EEEEEE;
border: 0px solid white;
border-bottom: 2px solid white;
border-top: 2px solid white;
width: 90%;
}
tr.smwb-center {
background-color: #DDDDDD;
}
span.smwb-value {
}
/* Inverse factbox */
table.smwb-ifactbox {
border-right: 8px solid #DDDDDD;
width: 100%
}
tr.smwb-ititle {
font-size: 200%;
background-color: #DDDDDD;
line-height: 1.5;
}
tr.smwb-ititle td {
padding-left: 5px;
border-bottom: 2px solid white;
}
tr.smwb-ipropvalue {
width: 100%;
background-color: #EEEEEE;
text-align: right;
}
tr.smwb-ipropvalue th {
text-align: left;
font-weight: bold;
font-size: 120%;
background-color: #DDDDDD;
padding: 0.2em 0.6em;
border-bottom: 3px solid white;
border-top: 3px solid white;
}
tr.smwb-ipropvalue td {
background-color: #EEEEEE;
border-bottom: 3px solid white;
border-top: 3px solid white;
padding-right: 1em;
width: 90%;
}
span.smwb-ivalue {
}
@media screen and (max-width: 1082px) {
div#mw-panel-right{
display:none;
}
div#content {
width: -webkit-calc(100% - 178px);
width: -moz-calc(100% - 178px);
width: -o-calc(100% - 178px);
width: calc(100% - 178px);
}
}

Revision as of 22:59, 13 November 2014