MediaWiki:Vector.css: Difference between revisions

From Auranogi
No edit summary
No edit summary
Line 55: Line 55:
}
}
.mw-content-container {
.mw-content-container {
max-width: 90em;
max-width: 80em;
}
}
}
}

Revision as of 18:56, 20 February 2023

/* All CSS here will be loaded for users of the Vector skin */

@media screen and (max-width:650px) {

.vector-body, td, th {
  font-size: 16px;
}
.vector-menu-content li a {
    font-size: 16px;
}
.vector-menu-tabs li {
    line-height: 0;
}
div#mw-head * {
    background-image: none;
}
}

#mw-panel > div:nth-of-type(1) {
  display: none;
}

@media screen and (max-width: 86.75em) {

}

@media screen and (min-width: 86.75em) {
#mw-sidebar-button {
 display: none;
}

 .mw-checkbox-hack-checkbox:not(:checked) ~ .mw-workspace-container .mw-content-container, .mw-checkbox-hack-checkbox:not(:checked) ~ .mw-workspace-container .mw-article-toolbar-container {
      margin-left: 11.5em;
}

#mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar {
    visibility: visible;
    opacity: 1;
    -webkit-transform: translateX(0%);
    -ms-transform: translateX(0%);
    transform: translateX(0%);
}

#mw-sidebar-checkbox:not(:checked) ~ .mw-workspace-container .mw-sidebar {
    -webkit-transform: translateX(0em);
    -ms-transform: translateX(0em);
    transform: translateX(0em);
}

}

@media screen {
	.mw-workspace-container {
		max-width: 102em;
	}
	.mw-content-container {
		max-width: 80em;
	}
}