MediaWiki:Common.css: Difference between revisions
Myriad-admin (talk | contribs) Reducing size of EU flag Tags: Mobile edit Mobile web edit |
Myriad-admin (talk | contribs) Checking scaling of EU flag Tags: Mobile edit Mobile web edit |
||
Line 15: | Line 15: | ||
} | } | ||
/* === | /* === Three-column layout === */ | ||
.drg-columns { | .drg-columns { | ||
display: flex; | display: flex; | ||
Line 49: | Line 49: | ||
opacity: 0.4; | opacity: 0.4; | ||
margin: 0 1em; | margin: 0 1em; | ||
align-self: stretch; | |||
} | } | ||
Line 54: | Line 55: | ||
.drg-column-center { | .drg-column-center { | ||
text-align: center; | text-align: center; | ||
align-items: center; | |||
} | } | ||
.drg-eu-flag { | .drg-eu-flag { | ||
Line 59: | Line 61: | ||
} | } | ||
.drg-eu-flag img { | .drg-eu-flag img { | ||
height: | height: auto; | ||
max-height: 40px; | |||
max-width: 100%; | max-width: 100%; | ||
display: inline-block; | |||
vertical-align: middle; | |||
} | } | ||
.drg-eu-text { | .drg-eu-text { | ||
Line 101: | Line 105: | ||
.drg-eu-text { | .drg-eu-text { | ||
max-width: 80%; | max-width: 80%; | ||
} | } | ||
} | } |
Revision as of 14:35, 23 May 2025
/* === Hide native “Privacy/Terms/Desktop” bar === */
#footer-places {
display: none !important;
}
/* === DRG Footer container === */
#drg-footer {
border-top: 1px solid #ccc;
background: #fff;
padding-top: 2em;
font-family: sans-serif;
color: #000;
font-size: 0.95rem;
margin: 1em 0 2em;
}
/* === Three-column layout === */
.drg-columns {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 1em;
max-width: 1200px;
margin: 0 auto;
flex-wrap: wrap;
}
.drg-column {
flex: 1 1 30%;
display: flex;
flex-direction: column;
gap: 0.8em;
}
.drg-column-left a,
.drg-column-center a,
.drg-column-right a {
color: #000;
text-decoration: none;
}
.drg-column-left a:hover,
.drg-column-center a:hover,
.drg-column-right a:hover {
text-decoration: underline;
}
/* Divider lines */
.drg-divider {
width: 1px;
background: #666;
opacity: 0.4;
margin: 0 1em;
align-self: stretch;
}
/* Center column specifics */
.drg-column-center {
text-align: center;
align-items: center;
}
.drg-eu-flag {
margin-bottom: 0.8em;
}
.drg-eu-flag img {
height: auto;
max-height: 40px;
max-width: 100%;
display: inline-block;
vertical-align: middle;
}
.drg-eu-text {
font-weight: bold;
line-height: 1.4;
font-size: 0.9em;
max-width: 400px;
margin: 0 auto;
}
/* Disclaimer block */
.drg-disclaimer {
max-width: 900px;
margin: 2em auto 0;
padding: 1em 0 0;
border-top: 1px solid #eee;
font-size: 0.8em;
color: #666;
text-align: center;
}
.drg-disclaimer a {
color: #666;
text-decoration: underline;
}
/* === Responsive tweaks === */
@media (max-width: 768px) {
.drg-columns {
flex-direction: column;
align-items: center;
}
.drg-divider {
display: none;
}
.drg-column {
width: 100%;
text-align: center;
}
.drg-eu-text {
max-width: 80%;
}
}