User additions to AugsburgWrestling.info are currently disabled due to repeated vandalism.

Please contact us to create an account and start editing.

MediaWiki:Vector.css: Difference between revisions

From Augsburg Wrestling Wiki
Jump to navigation Jump to search
(Created page with "→‎Don't display some stuff on the main page: body.page-Main_Page #deleteconfirm, body.page-Main_Page #t-cite, body.page-Main_Page #footer-info-lastmod, body.action-view.pag...")
 
No edit summary
Line 1: Line 1:
/* Don't display some stuff on the main page */
/* Don't display some stuff on the main page */
body.page-Main_Page #deleteconfirm,
.page-Main_Page #deleteconfirm,
body.page-Main_Page #t-cite,
.page-Main_Page #t-cite,
body.page-Main_Page #footer-info-lastmod,
.page-Main_Page #footer-info-lastmod,
body.action-view.page-Main_Page #siteSub,
.action-view.page-Main_Page #siteSub,
body.action-view.page-Main_Page #contentSub,
.action-view.page-Main_Page #contentSub,
body.action-view.page-Main_Page h1.firstHeading {
.action-view.page-Main_Page .firstHeading {
    display: none !important;
display: none !important;
}
 
/* Position Main Page top banner */
body.page-Main_Page #mp-topbanner {
  margin-top: 0 !important;
}
}


/* Position coordinates */
/* Position coordinates */
#coordinates {
#coordinates {
    position: absolute;
position: absolute;
    top: 0em;
top: 0;
    right: 0em;
right: 0;
    float: right;
float: right;
    margin: 0em;
margin: 0;
    padding: 0em;
padding: 0;
    line-height: 1.5em;
line-height: 1.5em;
    text-align: right;
text-align: right;
    text-indent: 0;
text-indent: 0;
    font-size: 85%;
font-size: 85%;
    text-transform: none;
text-transform: none;
    white-space: nowrap;
white-space: nowrap;
}
/* correct position for VE */
.ve-ce-surface-enabled #coordinates {
margin-right: 2em;
margin-top: -1em;
}
}
 
.mw-indicator #coordinates {
/* For positioning icons at top-right, used in Templates
position: absolute;
  "Spoken Article" and "Featured Article" */
top: 3em;
div.topicon {
right: 0;
    position: absolute;
line-height: 1.6;
    top: -2em;
text-align: right;
    margin-right: -10px;
font-size: 92%;
    display: block !important;
white-space: nowrap;
}
}


/* FR topicon position */
/* FR topicon position */
div.flaggedrevs_short {
div.flaggedrevs_short {
    position: absolute;
position: absolute;
    top: -3em;
top: -3em;
    right: 80px;
right: 100px;
    z-index: 1;
z-index: 1;
    margin-left: 0;
    /* Because this is not yet a topicon, we emulate it's behavior,
      this ensure compatibility with edit lead section gadget. */
    margin-right: -10px;
}
}


/* On rtl interfaces, we need to override the defaults.
/* Make "From Wikipedia, the free encyclopedia" a bit smaller */
  It is content included (so ltr), but positioned in part of the rtl interface. */
body.rtl #protected-icon {
    /* @noflip */
    left: 55px;
}
body.rtl #spoken-icon,
body.rtl #commons-icon {
    /* @noflip */
    left: 30px;
}
body.rtl #featured-star {
    /* @noflip */
    left: 10px;
}
 
/* Menu over FR box */
div.vectorMenu div {
    z-index: 2;
}
 
/* Display "From Wikipedia, the free encyclopedia" */
#siteSub {
#siteSub {
    display: inline;
font-size: 92%;
    font-size: 92%;
}
 
/* Bullets for Good and Featured interwiki links */
li.GA {
    list-style-image: url(//upload.wikimedia.org/wikipedia/commons/4/42/Monobook-bullet-ga.png);
}
}
li.FA {
/* Cancel out the custom margin applied to this element to avoid
    list-style-image: url(//upload.wikimedia.org/wikipedia/commons/d/d4/Monobook-bullet-star.png);
  effectively having double the amount of content padding-top
  as expected on [[Main Page]]. */
#contentSub2:empty {
display: none;
}
}


/* Styling for updated markers on watchlist, history and recent/related changes */
/* Move page status indicators down slightly */
li.mw-changeslist-line-watched,
.mw-body .mw-indicators {
li.mw-history-line-updated {
padding-top: 0.4em;
    list-style-image: url(//upload.wikimedia.org/wikipedia/commons/c/c2/ChangedBulletVector.png);
}
}


/* Blue instead of yellow padlock for secure links. */
/* Override [[phab:T265947]] */
#bodyContent a.external[href ^="https://"],
.mw-body-content blockquote {
.link-https {
border-left: none;
    background: url(//upload.wikimedia.org/wikipedia/en/0/00/Lock_icon_blue.gif) center right no-repeat;
    /* @noflip */
    padding-right: 16px;
}
}


/* (Soft) redirect styling (bug:26544) */
/* Vector-specific list display in message boxes */
div.redirectMsg img {
.compact-ambox table .mbox-text-span {
    vertical-align: text-bottom;
list-style-type: disc;
}
list-style-image: url(/w/skins/Vector/resources/skins.vector.styles/images/bullet-icon.svg);
.redirectText {
    font-size: 150%;
    margin: 5px;
}
}

Revision as of 22:56, 11 April 2021

/* 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 .firstHeading {
	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-enabled #coordinates {
	margin-right: 2em;
	margin-top: -1em;
}
.mw-indicator #coordinates {
	position: absolute;
	top: 3em;
	right: 0;
	line-height: 1.6;
	text-align: right;
	font-size: 92%;
	white-space: nowrap;
}

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

/* Make "From Wikipedia, the free encyclopedia" a bit smaller */
#siteSub {
	font-size: 92%;
}
/* Cancel out the custom margin applied to this element to avoid
   effectively having double the amount of content padding-top
   as expected on [[Main Page]]. */
#contentSub2:empty {
	display: none;
}

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

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

/* Vector-specific list display in message boxes */
.compact-ambox table .mbox-text-span {
	list-style-type: disc;
	list-style-image: url(/w/skins/Vector/resources/skins.vector.styles/images/bullet-icon.svg);
}