Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
Content added Content deleted
(Replaced content with ".mw-logo-container { display: block; align-items: center; flex-direction: column; text-align: center; } .mw-logo-container img { height: 3.5rem; display: block; }")
Tag: Replaced
No edit summary
Line 1: Line 1:
.mw-logo-container {
.mw-logo-container {
display: block;
display: flex;
align-items: center;
align-items: center;
flex-direction: column;
flex-direction: column;
text-align: center;
text-align: center;
height: 3.5rem;
width:15rem;
position: relative;
}
}


.mw-logo-container img {
.mw-logo-container img {
height: 3.5rem;
height: 100%;
width: auto;
display: block;
position: absolute;
top: 0.5rem;
left: 50%;
transform: translateX(-50%);
}

.mw-logo-container strong {
width: 100%;
position: absolute;
bottom: -2rem;
left: 0;
text-align: center;
}
}

Revision as of 21:12, 16 May 2024

.mw-logo-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    height: 3.5rem;
    width:15rem;
    position: relative;
}

.mw-logo-container img {
    height: 100%;
    width: auto;
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.mw-logo-container strong {
    width: 100%;
    position: absolute;
    bottom: -2rem;
    left: 0;
    text-align: center;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.