Ir para o conteúdo

MediaWiki:Gadget-MainPage.css

De Undertale Wiki

Nota: Após publicar, você pode ter que limpar o "cache" do seu navegador para ver as alterações.

  • Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
  • Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
  • Edge: Pressione Ctrl enquanto clica Recarregar, ou pressione Ctrl-F5.
  • Opera: Pressione Ctrl-F5.
.mainpage-header {
    text-align: center;
}

.mainpage-header .mw-heading1,
.mainpage-footer .mw-heading2 {
    border-width: 0;
    text-align: center;
}

.mainpage-header .mw-heading1 h1 {
    font-weight: bold;
}

.mainpage-header-boxes {
    display: flex;
    flex-wrap: wrap;
}

.mainpage-header-box {
    flex: 1;
    text-align: center;
}

.mainpage-header-box > ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: center;
    list-style-type: none;
    margin: 0;
}

.mainpage-two-columns {
    display: flex;
    margin-top: 50px;
}

.mainpage-left-column {
    border-right: 5px solid var(--background-color-progressive);
}

.mainpage-right-column {
    box-sizing: border-box;
    min-width: 300px;
    max-width: 300px;
}

.mainpage-section {
    background-color: var(--background-color-neutral);
    background-position: 1% 25%;
    background-repeat: no-repeat;
    border: 0;
    border-radius: 0;
    margin: 0;
    text-align: left;
}

.mainpage-section .mw-heading {
    background-color: var(--background-color-progressive);
    border: 0;
    border-radius: 0;
    color: var(--color-inverted-fixed);
    font-size: 1.25em;
    font-weight: bold;
    line-height: 22px;
    margin: 0;
    padding: 15px;
}

.mainpage-section .mw-heading ~ p,
.mainpage-section .mw-heading ~ figure,
.mainpage-section .mw-heading ~ .gallery.gallery.gallery {
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 15px;
    padding-bottom: 0;
    margin: 0;
}

.mainpage-section .mw-heading ~ p:last-child,
.mainpage-section .mw-heading ~ figure:last-child,
.mainpage-section .mw-heading ~ .gallery.gallery.gallery:last-child {
    padding-bottom: 15px;
}

.mainpage-section .mw-heading ~ figure {
    margin: 0 auto;
}

.page-Main_Page ul.gallery.gallery.gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.mainpage-footer ul.gallery.gallery.gallery {
    gap: 50px;
}


.page-Main_Page .gallerybox {
    border: 1px solid var(--border-color-base);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.page-Main_Page .gallerytext {
    background-color: var(--background-color-backdrop-light);
    bottom: 0;
    font-size: 14px;
    font-weight: bold;
    padding: 0;
    pointer-events: none;
    position: absolute;
    width: 100%;
}

.page-Main_Page li.gallerybox div.thumb img {
    border: 0;
}

.page-Main_Page #left-navigation,
.page-Main_Page .mw-first-heading {
    display: none;
}

@media screen and (min-width: 1120px) {
    .page-Main_Page .mw-body {
        grid-template-areas:
            'content content'
            'toolbar titlebar';
    }
}

@media screen and (min-width: 640px) and (max-width: 1119px) {
    .page-Main_Page .mw-body {
    	display: flex;
    	flex-direction: column-reverse;
    }
}

@media screen and (max-width: 1119px) {
    .page-Main_Page .vector-page-titlebar {
        display: none;
    }
}


@media screen and (max-width: 640px) {
    .mainpage-header-boxes,
    .mainpage-two-columns {
        flex-direction: column;
    }
    .mainpage-right-column {
        max-width: unset;
        min-width: unset;
    }
    .mainpage-left-column {
        border-right: 0;
    }
}