MediaWiki:Vector-2022.css: Difference between revisions

From Ikwipedia
No edit summary
Tag: Reverted
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 29: Line 29:
font-size: 90%;
font-size: 90%;
}
}


@media screen {
@media screen {
Line 54: Line 57:
}
}


body.skin-vector-2022.page-Test_page {
  background-color: #f0f8ff !important; /* Light blue */
}


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


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


 
body.page-Main_Page .mw-body {
/* Remove box-shadow from the header on Test_page */
     grid-template-columns: minmax(0, 1fr) min-content;
body.page-Test_page .mw-body-header.vector-page-titlebar {
     box-shadow: none !important;
}
}


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


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


    /* Remove box-shadow and ::after content from the header */
body.page-Test_page .mw-body {
    body.page-Test_page .mw-body-header.vector-page-titlebar {
    grid-template-columns: minmax(0, 1fr) min-content;
        box-shadow: none !important;
}
    }


    body.page-Test_page .mw-body-header.vector-page-titlebar::after {
        content: none !important;
    }


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

Latest revision as of 02:59, 23 December 2024

/**
 * Note: [[MediaWiki:Common.css]] is loaded in addition to these styles
 * Please use [[Extension:TemplateStyles]] where possible.
 */
#coordinates {
	line-height: 2;
	font-size: 92%;
	white-space: nowrap;
}

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

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




@media screen {
  html.skin-theme-clientpref-night .navbox a:not(.new):not(.mw-selflink):link,
  html.skin-theme-clientpref-night .infobox a:not(.new):not(.mw-selflink):link {
    color: var( --color-progressive ) !important;
  }

  /* T370074 */
  html.skin-theme-clientpref-night .mw-parser-output > figure img { 
      background: var( --background-color-disabled-fixed, #C8CCD1 );
  }
}


@media screen and (prefers-color-scheme: dark) {
  html.skin-theme-clientpref-os .navbox a:not(.new):not(.mw-selflink):link,
  html.skin-theme-clientpref-os .infobox a:not(.new):not(.mw-selflink):link {
    color: var( --color-progressive ) !important;
  }
  /* T370074 */
  html.skin-theme-clientpref-os .mw-parser-output > figure img { 
      background: var( --background-color-disabled-fixed, #C8CCD1 );
  }
}




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.page-Test_page #firstHeading {
  display: none !important;
}

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


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