MediaWiki:Common.css: Difference between revisions

From Lyrical Collective
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 44: Line 44:
.mw-content-ltr figure[typeof~='mw:File/Thumb'] > figcaption, .mw-content-ltr figure[typeof~='mw:File/Frame'] > figcaption {
.mw-content-ltr figure[typeof~='mw:File/Thumb'] > figcaption, .mw-content-ltr figure[typeof~='mw:File/Frame'] > figcaption {
text-align: center;
text-align: center;
font-size: 107%;
}
}



Latest revision as of 06:10, 13 November 2024

/* CSS placed here will be applied to all skins */

#mw-page-base {
    height: 0;
}

#mw-head-base {
    margin-left: 0;
    margin-top: 0;
    height: 0;    
}

div#content {
    margin-left: 0;
}

div#mw-head {
    position: static;
    top: auto;
    right: auto;
}

div#mw-panel {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    padding-top: 0;
}

.wikitable.releases {
    width: 100%;
}

.wikitable.releases .cover {
    width: 100%;
    float: left;
}

figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame'], figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption {
border: 0;
}

.mw-content-ltr figure[typeof~='mw:File/Thumb'] > figcaption, .mw-content-ltr figure[typeof~='mw:File/Frame'] > figcaption {
text-align: center;
font-size: 107%;
}

.wikitable.releases .list {
    -webkit-column-count: 1; /* Chrome, Safari, Opera */
    -moz-column-count: 1; /* Firefox */
    column-count: 1;
    display: none;
    border: none;
    width: 66.6667%;
    float: left;
}

.splash {
    background-color: #fdf1d1;
    border: 1px solid #fde29b;
    margin-bottom: 20px;
    overflow: auto;
    padding: 10px;
}

.splash .sidebar img {
    height: 100%;
    width: 100%;
}



@media (min-width : 768px) {

    #mw-page-base {
        height: 5em;
    }

    #mw-head-base {
        margin-left: 11em;
        margin-top: -5em;
        height: 5em;
    }

    div#content {
        margin-left: 10em;
    }

    div#mw-head {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
    }

    div#mw-panel {
        position: absolute;
        top: 160px;
        left: 0;
        padding-top: 1em;
        width: 10em;
    }


    .splash .main {
        float: left;
        width: 75%;
    }

    .splash .sidebar {
        float: right;
        width: 15%;
    }

    .wikitable.releases .cover {
        width: 33.3333%;
    }

    .wikitable.releases .list {
        -webkit-column-count: 2; /* Chrome, Safari, Opera */
        -moz-column-count: 2; /* Firefox */
        column-count: 2;
    }

    .wikitable.releases .list {
        display: block;
        float: left;
    }
}

@media (min-width : 982px) {

    div#content {
        margin-left: 11em;
    }

    .wikitable.releases .list {
        -webkit-column-count : 3; /* Chrome, Safari, Opera */
        -moz-column-count: 3; /* Firefox */
        column-count: 3;
    }
}

.no-col {
    -webkit-column-count: 1 !important; /* Chrome, Safari, Opera */
    -moz-column-count: 1 !important; /* Firefox */
    column-count: 1 !important;
}

.vocalist {
    margin-left: -1%;
    font-style: italic;
}

.vocalist:after {
    content: ':';
}

.mw-content-ltr figure[typeof~='mw:File/Thumb'] > figcaption::before, .mw-content-ltr figure[typeof~='mw:File/Thumb'] > .mw-file-description::after, .mw-content-ltr figure[typeof~='mw:File/Thumb'] > .mw-file-magnify::after {
display: none;
}