MediaWiki:Vector.css: Difference between revisions

From Ikwipedia
Created page with "→‎All CSS here will be loaded for users of the Vector skin: #p-logo .mw-wiki-logo { width: 100% !important; max-width: 135px !important; height: auto !important; max-height: 135px !important; background-size: contain !important; background-position: center !important; background-repeat: no-repeat !important; }"
 
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* All CSS here will be loaded for users of the Vector skin */
/* All CSS here will be loaded for users of the Vector skin */
#p-logo .mw-wiki-logo {
/* Don't display some stuff on the main page */
    width: 100% !important;
.page-Main_Page #deleteconfirm,
    max-width: 135px !important;
.page-Main_Page #t-cite,
    height: auto !important;
.page-Main_Page #footer-info-lastmod,
    max-height: 135px !important;
.action-view.page-Main_Page #siteSub,
     background-size: contain !important;
.action-view.page-Main_Page #contentSub,
     background-position: center !important;
.action-view.page-Main_Page #contentSub2 {
     background-repeat: no-repeat !important;
display: none !important;
}
 
#coordinates {
position: absolute;
top: 3.5em;
right: 0;
line-height: 1.6;
text-align: right;
font-size: 92%;
white-space: nowrap;
float: right;
margin: 0;
padding: 0;
text-indent: 0;
text-transform: none;
}
 
/* correct position for VE */
.ve-ce-surface #coordinates {
margin-right: 2em;
margin-top: -1em;
}
 
/* 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%;
}
 
 
/* Move page status indicators down slightly */
.mw-indicators {
padding-top: 0.4em;
}
 
/* Override [[phab:T265947]] */
.mw-body-content blockquote {
border-left: none;
}
 
/* Styling for tags in changes pages */
.mw-tag-markers {
font-style: italic;
font-size: 90%;
}
 
 
body.page-Main_Page #firstHeading {
  display: none !important;
}
 
body.page-Main_Page .mw-body {
     grid-template-columns: minmax(0, 1fr) min-content;
}
 
/* Hide the pre-content heading holder on Test_Page in mobile view */
@media (max-width: 1120px) { /* Adjust the breakpoint as needed */
     body.page-Main_Page .pre-content.heading-holder {
        display: none !important;
     }
 
}
body.skin-minerva a:visited,
body.skin-minerva .mw-parser-output a:visited {
    color: #6a60b0 !important; /* Your custom color */
}
}

Latest revision as of 04:41, 22 December 2024

/* All CSS here will be loaded for users of the Vector skin */
/* 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;
}

#coordinates {
	position: absolute;
	top: 3.5em;
	right: 0;
	line-height: 1.6;
	text-align: right;
	font-size: 92%;
	white-space: nowrap;
	float: right;
	margin: 0;
	padding: 0;
	text-indent: 0;
	text-transform: none;
}

/* correct position for VE */
.ve-ce-surface #coordinates {
	margin-right: 2em;
	margin-top: -1em;
}

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


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

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

/* Styling for tags in changes pages */
.mw-tag-markers {
	font-style: italic;
	font-size: 90%;
}


body.page-Main_Page #firstHeading {
  display: none !important;
}

body.page-Main_Page .mw-body {
    grid-template-columns: minmax(0, 1fr) min-content;
}

/* Hide the pre-content heading holder on Test_Page in mobile view */
@media (max-width: 1120px) { /* Adjust the breakpoint as needed */
    body.page-Main_Page .pre-content.heading-holder {
        display: none !important;
    }

}
body.skin-minerva a:visited,
body.skin-minerva .mw-parser-output a:visited {
    color: #6a60b0 !important; /* Your custom color */
}