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

From Path of Diablo Wiki
Jump to: navigation, search
Line 1: Line 1:
/* CSS placed here will affect users of the Vector skin */
+
/* Don't display some stuff on the main page */
 
+
.page-Main_Page #deleteconfirm,
/* Necessary for displaying text in the upper right edge. (Used in [[Template:Shortcut]]) */
+
.page-Main_Page #t-cite,
#shortcut {
+
.page-Main_Page #footer-info-lastmod,
display: inline;
+
.action-view.page-Main_Page #siteSub,
position: absolute;
+
.action-view.page-Main_Page #contentSub,
z-index: 1;
+
.action-view.page-Main_Page #contentSub2 {
border: none;
+
display: none !important;
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 {
+
/* Position coordinates */
  background: #FFFFFF;
+
#coordinates {
  border:1px solid #aaa;
+
position: absolute;
  padding: 5px;
+
top: 0;
 +
right: 0;
 +
float: right;
 +
margin: 0;
 +
padding: 0;
 +
line-height: 1.5em;
 +
text-align: right;
 +
text-indent: 0;
 +
font-size: 85%;
 +
text-transform: none;
 +
white-space: nowrap;
 
}
 
}
.mw-special-Userlogin #mw-content-text #signupend {
+
/* correct position for VE */
  margin-left:50%;
+
.ve-ce-surface #coordinates {
}
+
margin-right: 2em;
 
+
margin-top: -1em;
#siteSub {
 
    display: inline;
 
    font-size: 92%;
 
 
}
 
}
/* Avoid apparent extra empty paragraph space on [[Main Page]].
+
.mw-indicator #coordinates {
* This is limited to the Main Page (page-Main_Page) and its localised variants (mw-mainpage, after JS delay)
+
position: absolute;
* so that on regular articles we do still have a consitent top margin between page title and first paragraph. */
+
top: 3.5em;
.page-Main_Page #contentSub:empty,
+
right: 0;
.mw-mainpage #contentSub:empty,
+
line-height: 1.6;
/* Avoid duplicate margins on most pages, similar to enwiki */
+
text-align: right;
#contentSub2:empty {
+
font-size: 92%;
    display: none;
+
white-space: nowrap;
 
}
 
}
  
/* Page-specific settings */
+
#mw-indicator-coordinates {
body.page-Main_Page.action-view #siteSub {  
+
font-size: 13px;
display: none !important;
 
 
}
 
}
  
body.page-Commons_Wiki_Loves_Monuments_upload.action-view #siteSub,
+
/* FR topicon position */
body.page-Commons_Wiki_Loves_Monuments_upload.action-view #contentSub { 
+
body.skin-vector-legacy div.flaggedrevs_short {
display: none !important;
+
position: absolute;
 +
top: -3em;
 +
right: 100px;
 +
z-index: 1;
 
}
 
}
  
.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 {  
+
/* Make "From Wikipedia, the free encyclopedia" a bit smaller */
display: none !important;  
+
body.skin-vector-legacy #siteSub {
 +
font-size: 92%;
 
}
 
}
  
/* 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 */
 
/* Move page status indicators down slightly */
.mw-body .mw-indicators {
+
body.skin-vector-legacy .mw-indicators {
 
padding-top: 0.4em;
 
padding-top: 0.4em;
 
}
 
}
  
 
+
/* Override [[phab:T265947]] */
/* Imitate #contentSub styles from Vector skin. Used on [[Special:MyUploads]] via [[MediaWiki:Listfiles-summary]] */
+
.mw-body-content blockquote {
.tpl-contentSub {
+
border-left: none;
  font-size: 84%;
 
  line-height: 1.2em;
 
  margin: 0 0 1.4em 1em;
 
  color: #54595d;
 
 
}
 
}

Revision as of 03:46, 6 February 2024

/* Don't display some stuff on the main page */
.page-Main_Page #deleteconfirm,
.page-Main_Page #t-cite,
.page-Main_Page #footer-info-lastmod,
.action-view.page-Main_Page #siteSub,
.action-view.page-Main_Page #contentSub,
.action-view.page-Main_Page #contentSub2 {
	display: none !important;
}

/* Position coordinates */
#coordinates {
	position: absolute;
	top: 0;
	right: 0;
	float: right;
	margin: 0;
	padding: 0;
	line-height: 1.5em;
	text-align: right;
	text-indent: 0;
	font-size: 85%;
	text-transform: none;
	white-space: nowrap;
}
/* correct position for VE */
.ve-ce-surface #coordinates {
	margin-right: 2em;
	margin-top: -1em;
}
.mw-indicator #coordinates {
	position: absolute;
	top: 3.5em;
	right: 0;
	line-height: 1.6;
	text-align: right;
	font-size: 92%;
	white-space: nowrap;
}

#mw-indicator-coordinates {
	font-size: 13px;
}

/* FR topicon position */
body.skin-vector-legacy div.flaggedrevs_short {
	position: absolute;
	top: -3em;
	right: 100px;
	z-index: 1;
}

/* Make "From Wikipedia, the free encyclopedia" a bit smaller */
body.skin-vector-legacy #siteSub {
	font-size: 92%;
}


/* Move page status indicators down slightly */
body.skin-vector-legacy .mw-indicators {
	padding-top: 0.4em;
}

/* Override [[phab:T265947]] */
.mw-body-content blockquote {
	border-left: none;
}