MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 126: Line 126:
         float: none !important;
         float: none !important;
         margin: 10px 0 !important;
         margin: 10px 0 !important;
    }
}
/* MOBILE-ONLY BRANDING */
@media screen and (max-width: 1023px) {
    /* Adds a leaf icon before the site name in the mobile header */
    #cosmos-header-logo::before {
        content: "\1F343";
        font-size: 20px;
        margin-right: 8px;
        display: inline-block;
        vertical-align: middle;
    }
    /* Styles the mobile header text to match your KH Green */
    .cosmos-header-title {
        color: var(--kh-yellow) !important;
        font-family: 'Cinzel', serif !important;
        font-size: 1.2em !important;
    }
    /* Makes the mobile search bar slightly rounded like Fandom */
    #cosmos-searchform input {
        border-radius: 20px !important;
        border: 1px solid var(--kh-green) !important;
     }
     }
}
}