User:GreenDude/vector.css: Difference between revisions

From Path of Diablo Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
/**
/* CSS placed here will affect users of the Vector skin */
* Note: [[MediaWiki:Common.css]] [[MediaWiki:Vector.css]] is loaded in addition to these styles
 
  * This stylesheet is reserved only for styles that override rules in [[MediaWiki:Vector.css]].
/* Necessary for displaying text in the upper right edge. (Used in [[Template:Shortcut]]) */
  * Please use [[Extension:TemplateStyles]] where possible.
#shortcut {
  */
display: inline;
/* [[phab:T281974]] */
position: absolute;
.skin-vector-2022 #coordinates {
z-index: 1;
top: 2em;
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%;
}
}


#mw-indicator-attached-kml #coordinates,
#siteSub {
#mw-indicator-coordinates #coordinates {
     display: inline;
     right: auto;
     font-size: 92%;
    position: relative;
     top: auto;
    line-height: 2;
    float: none;
}
}
/* 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;
}


/* [[phab:T340810]] */
/* Imitate #contentSub styles from Vector skin. Used on [[Special:MyUploads]] via [[MediaWiki:Listfiles-summary]] */
.mw-indicators {
.tpl-contentSub {
    display: flex;
  font-size: 84%;
    column-gap: 10px;
  line-height: 1.2em;
    flex-wrap: wrap;
  margin: 0 0 1.4em 1em;
  color: #54595d;
}
}

Revision as of 03:42, 6 February 2024

/* 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;
}