Actions

Template

Navbox/styles.css: Difference between revisions

From Project Rebearth

No edit summary
No edit summary
Line 50: Line 50:
     text-transform: uppercase;
     text-transform: uppercase;
     letter-spacing: 0.8px;
     letter-spacing: 0.8px;
     white-space: nowrap;
     padding: 8px 14px;
     padding: 6px 14px;
     width: 130px;
     min-width: 110px;
     min-width: 130px;
    max-width: 130px;
     text-align: center;
     text-align: center;
     display: flex;
     display: flex;
Line 60: Line 61:


.rb-navbox-list {
.rb-navbox-list {
     padding: 6px 14px;
     padding: 8px 14px;
     flex: 1;
     flex: 1;
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     flex-wrap: wrap;
     flex-wrap: wrap;
    gap: 0;
}
.rb-navbox-sep {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #c9b57a;
    border-radius: 50%;
    margin: 0 8px;
    vertical-align: middle;
}
}


Line 82: Line 94:
.rb-navbox-list a.new {
.rb-navbox-list a.new {
     color: #cc4444;
     color: #cc4444;
}
.rb-navbox-footer {
    background-color: #562c1b;
    color: #c9b57a;
    text-align: center;
    padding: 5px 14px;
    font-size: 0.75rem;
    letter-spacing: 0.3px;
}
.rb-navbox-footer a {
    color: #e8daa8;
    text-decoration: none;
}
.rb-navbox-footer a:hover {
    color: #ebb933;
}
}


Line 108: Line 102:


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

Revision as of 17:47, 18 February 2026

.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-group:first-child {
    border-top: none;
}

.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;
    gap: 0;
}

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

.rb-navbox-group:nth-child(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;
}

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

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