User:GreenDude/vector.css: Difference between revisions
From Path of Diablo Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/** | /* CSS placed here will affect users of the Vector skin */ | ||
/* Necessary for displaying text in the upper right edge. (Used in [[Template:Shortcut]]) */ | |||
#shortcut { | |||
*/ | display: inline; | ||
/* | position: absolute; | ||
. | z-index: 1; | ||
border: none; | |||
background: none; | |||
right: 12px; | |||
top: .3em; | |||
float: right; | |||
margin: 0; | |||
padding: 0; | |||
line-height: 1.5em; | |||
text-align: right; | |||
text-indent: 0; | |||
font-size: 90%; | |||
text-transform: none; | |||
white-space: normal; | |||
} | |||
/* For positioning icons at top-right, used in Templates with protection locks */ | |||
div.topicon { | |||
position: absolute; | |||
top: -3em; | |||
margin-right: -10px; | |||
display: block; | |||
} | |||
/* account creation fixes */ | |||
form#userlogin { | |||
padding: 1em 1em .7em 1em; | |||
background: #FFFFE6; | |||
border: 2px solid #FC6; | |||
color: #000; | |||
margin-right: 2em; | |||
} | |||
.mw-special-Userlogin #mw-content-text #userlogin { | |||
width:35%; | |||
float:left; | |||
background:#EFF2FF; | |||
margin-right: 1.5em; | |||
} | |||
.mw-special-Userlogin .prefsectiontip { | |||
display:none | |||
} | |||
.mw-special-Userlogin form#userlogin2 .captcha { | |||
background: #FFFFFF; | |||
border:1px solid #aaa; | |||
padding: 5px; | |||
} | |||
.mw-special-Userlogin #mw-content-text #signupend { | |||
margin-left:50%; | |||
} | } | ||
# | #siteSub { | ||
display: inline; | |||
font-size: 92%; | |||
} | } | ||
/* Avoid apparent extra empty paragraph space on [[Main Page]]. | |||
* This is limited to the Main Page (page-Main_Page) and its localised variants (mw-mainpage, after JS delay) | |||
* so that on regular articles we do still have a consitent top margin between page title and first paragraph. */ | |||
.page-Main_Page #contentSub:empty, | |||
.mw-mainpage #contentSub:empty, | |||
/* Avoid duplicate margins on most pages, similar to enwiki */ | |||
#contentSub2:empty { | |||
display: none; | |||
} | |||
/* Page-specific settings */ | |||
body.page-Main_Page.action-view #siteSub { | |||
display: none !important; | |||
} | |||
body.page-Commons_Wiki_Loves_Monuments_upload.action-view #siteSub, | |||
body.page-Commons_Wiki_Loves_Monuments_upload.action-view #contentSub { | |||
display: none !important; | |||
} | |||
.page-Commons_Wiki_Loves_Monuments_2013.action-view #firstHeading, .page-Commons_Wiki_Loves_Monuments_2013.action-view #siteSub, .page-Commons_Picture_of_the_Year_2013_Introduction #siteNotice { | |||
display: none !important; | |||
} | |||
/* Display edit tags with a faint yellow background */ | |||
.mw-tag-markers { | |||
font-style: italic; | |||
font-size: 90%; | |||
background-color: lightyellow; | |||
} | |||
/* Move page status indicators down slightly */ | |||
.mw-body .mw-indicators { | |||
padding-top: 0.4em; | |||
} | |||
/* [[ | /* Imitate #contentSub styles from Vector skin. Used on [[Special:MyUploads]] via [[MediaWiki:Listfiles-summary]] */ | ||
. | .tpl-contentSub { | ||
font-size: 84%; | |||
line-height: 1.2em; | |||
margin: 0 0 1.4em 1em; | |||
color: #54595d; | |||
} | } |