Actions

Template

Template:Navbox/styles.css

From Project Rebearth

.rb-navbox {
    margin: 1.5em 0 0.5em;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #3e2318;
}

.rb-navbox-border {
    background-color: #e8daa8;
    padding: 3px;
}

.rb-navbox-inner {
    background-color: #faf4e0;
}

.rb-navbox-header {
    background-color: #562c1b;
    color: #e8daa8;
    text-align: center;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.rb-navbox-header a {
    color: #e8daa8;
    text-decoration: none;
}

.rb-navbox-header a:hover {
    color: #ebb933;
}

.rb-navbox-group {
    display: flex;
    border-top: 1px solid #e0d5a6;
}

.rb-navbox-label {
    background-color: #6e3a24;
    color: #e8daa8;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 8px 14px;
    width: 130px;
    min-width: 130px;
    max-width: 130px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rb-navbox-list {
    padding: 8px 14px;
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.rb-navbox-sep {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #c9b57a;
    border-radius: 50%;
    margin: 0 8px;
    vertical-align: middle;
}

/* Explicit zebra striping */
.rb-navbox-even > .rb-navbox-list {
    background-color: #f5edce;
}

.rb-navbox-list a {
    color: #8b4513;
    text-decoration: none;
}

.rb-navbox-list a:hover {
    color: #ebb933;
}

.rb-navbox-list a.new {
    color: #cc4444;
}

/* Collapsible section */
.rb-navbox-more {
    display: flex;
    flex-direction: column;
}

.rb-navbox-more > .mw-collapsible-content {
    order: 1;
}

.rb-navbox-more > .mw-collapsible-toggle {
    order: 2;
    display: block;
    background-color: #562c1b;
    text-align: center;
    padding: 6px 14px;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-top: 1px solid #e0d5a6;
}

.rb-navbox-more > .mw-collapsible-toggle a {
    color: #e8daa8;
    text-decoration: none;
    font-weight: 700;
}

.rb-navbox-more > .mw-collapsible-toggle a:hover {
    color: #ebb933;
}

@media (max-width: 600px) {
    .rb-navbox-group {
        flex-direction: column;
    }

    .rb-navbox-label {
        width: auto;
        min-width: auto;
        max-width: none;
        padding: 4px 14px;
    }
}