MediaWiki:Common.css

From Disaster Risk Gateway
Revision as of 14:12, 23 May 2025 by Myriad-admin (talk | contribs) (Trying new footer)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* === DRG FOOTER === */
#drg-footer {
    width: 100%;
    background: #fff;
    font-family: sans-serif;
    font-size: 0.95rem;
    border-top: 1px solid #ccc;
    margin-top: 1em;
    color: #000;
}

.drg-columns {
    display: flex;
    justify-content: space-between;
    gap: 1em;
    padding: 2em 1em 1em;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.drg-column {
    flex: 1 1 30%;
    display: flex;
    flex-direction: column;
    gap: 0.6em;
}

.drg-column a {
    color: #000;
    text-decoration: none;
    font-weight: normal;
}

.drg-column a:hover {
    text-decoration: underline;
}

.drg-divider {
    width: 1px;
    background-color: #666;
    opacity: 0.4;
    margin: 0 1em;
}

.drg-column-center {
    align-items: center;
    text-align: center;
    font-weight: bold;
}

.drg-eu-flag img {
    height: 2.5em;
    margin-bottom: 0.8em;
    max-width: 100%;
}

.drg-eu-text {
    font-size: 0.9em;
    max-width: 400px;
    line-height: 1.4;
}

.drg-disclaimer {
    font-size: 0.8em;
    color: #666;
    text-align: center;
    margin-top: 2em;
    padding: 1em;
    border-top: 1px solid #eee;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.drg-disclaimer a {
    color: #666;
    text-decoration: underline;
}

/* === Responsive Layout === */
@media (max-width: 768px) {
    .drg-columns {
        flex-direction: column;
        align-items: center;
    }

    .drg-divider {
        display: none;
    }

    .drg-column {
        align-items: center;
        text-align: center;
    }

    .drg-column-center {
        order: 2;
    }

    .drg-column-right {
        order: 3;
    }

    .drg-column-left {
        order: 1;
    }
}