/*
New [[Main Page]] styling
Main reference:
https://design.wikimedia.org/style-guide/
https://github.com/wikimedia/wikimedia-ui-base/blob/master/wikimedia-ui-base.less
Don't remove the code until you're done
*/
/* Standard headers */
.main-header.main-header.main-header {
border-bottom-color: transparent;
margin-bottom: 0.25em;
margin-top: 0;
padding-bottom: 0;
padding-top: 0;
}
body.skin-minerva .main-block h1,
body.skin-minerva .main-block h2 {
/* hack for Minerva due to [[mw:Heading HTML changes]] */
display: block;
}
body.skin-timeless .main-header.main-header.main-header {
border-bottom-color: transparent;
}
/* Lists without decoration */
.main-plainlist ul {
list-style: none;
margin: 0;
padding: 0;
}
.main-plainlist li {
margin-bottom: 0;
}
/* Remove the numbering of headings created by the "Automatically number headings" option
on [[Service:Settings#mw-prefsection-rendering]] */
.main-block .mw-headline-number {
display: none;
}
/* Copied from [[:w:Template:Screen reader-only/styles.css]] */
.main-block .sr-only {
border: 0;
clip: rect(0, 0, 0, 0); /* Removed from CSS specification */ /* clip-path is the replacement for clip, but very few browsers support it. */ clip-path: polygon(0px 0px, 0px 0px, 0px 0px);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
white-space: nowrap;
} /* Tablets */ @media (min-width: 720px) { .main-wikimedia { padding-left: 1rem;
padding-right: 1rem;
} } /* Desktops */ @media (min-width: 1000px) { .main-wrapper { display: flex;
gap: 1.5rem;
/* Fixes https://phabricator.wikimedia.org/F54943102 */ flex-wrap: wrap;
} .main-wrapper-column { flex: 1;
} .main-wikimedia { padding-left: 1.5rem;
padding-right: 1.5rem;
} } /* [[Category:Templates:CSS Subpages]] */