Actions

Template

Game/styles.css: Difference between revisions

From Project Rebearth

Created page with ".rb-infobox-game { float: right; clear: right; width: 300px; margin: 0 0 16px 20px; font-size: 0.9rem; line-height: 1.5; color: #3e2318; } .rb-infobox-game .rb-ib-border { background-color: #e8daa8; padding: 3px; } .rb-infobox-game .rb-ib-inner { background-color: #faf4e0; } .rb-infobox-game .rb-ib-header { background-color: #562c1b; color: #e8daa8; text-align: center; padding: 10px 14px; font-size: 1.15rem;..."
 
No edit summary
Line 107: Line 107:
.rb-infobox-game .rb-ib-footer a:hover {
.rb-infobox-game .rb-ib-footer a:hover {
     color: #ebb933;
     color: #ebb933;
}
/* Expandable languages */
.rb-infobox-game .rb-ib-lang-details {
    margin: 0;
}
.rb-infobox-game .rb-ib-lang-details summary {
    cursor: pointer;
    list-style: none;
    color: #562c1b;
    font-weight: 600;
}
.rb-infobox-game .rb-ib-lang-details summary::after {
    content: " ▸";
    font-size: 0.75rem;
    color: #8b4513;
}
.rb-infobox-game .rb-ib-lang-details[open] summary::after {
    content: " ▾";
}
.rb-infobox-game .rb-ib-lang-list {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #e0d5a6;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #3e2318;
    column-count: 2;
    column-gap: 8px;
}
}



Revision as of 20:42, 23 February 2026

.rb-infobox-game {
    float: right;
    clear: right;
    width: 300px;
    margin: 0 0 16px 20px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #3e2318;
}

.rb-infobox-game .rb-ib-border {
    background-color: #e8daa8;
    padding: 3px;
}

.rb-infobox-game .rb-ib-inner {
    background-color: #faf4e0;
}

.rb-infobox-game .rb-ib-header {
    background-color: #562c1b;
    color: #e8daa8;
    text-align: center;
    padding: 10px 14px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-style: italic;
}

.rb-infobox-game .rb-ib-image {
    background-color: #562c1b;
    text-align: center;
    padding: 0 14px 10px;
}

.rb-infobox-game .rb-ib-image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.rb-infobox-game .rb-ib-caption {
    background-color: #562c1b;
    color: #c9b57a;
    text-align: center;
    padding: 0 14px 10px;
    font-size: 0.82rem;
    font-style: italic;
    line-height: 1.3;
}

.rb-infobox-game .rb-ib-section {
    background-color: #6e3a24;
    color: #e8daa8;
    padding: 5px 14px;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rb-infobox-game .rb-ib-row {
    display: flex;
    border-bottom: 1px solid #e0d5a6;
}

.rb-infobox-game .rb-ib-row:last-child {
    border-bottom: none;
}

.rb-infobox-game .rb-ib-label {
    flex: 0 0 100px;
    padding: 6px 10px;
    font-weight: 700;
    color: #562c1b;
    background-color: #f0e6c2;
}

.rb-infobox-game .rb-ib-data {
    flex: 1;
    padding: 6px 10px;
    color: #3e2318;
}

.rb-infobox-game a {
    color: #8b4513;
}

.rb-infobox-game a:hover {
    color: #ebb933;
}

.rb-infobox-game .rb-ib-footer {
    background-color: #562c1b;
    color: #c9b57a;
    text-align: center;
    padding: 5px 14px;
    font-size: 0.78rem;
}

.rb-infobox-game .rb-ib-footer a {
    color: #e8daa8;
}

.rb-infobox-game .rb-ib-footer a:hover {
    color: #ebb933;
}

/* Expandable languages */
.rb-infobox-game .rb-ib-lang-details {
    margin: 0;
}

.rb-infobox-game .rb-ib-lang-details summary {
    cursor: pointer;
    list-style: none;
    color: #562c1b;
    font-weight: 600;
}

.rb-infobox-game .rb-ib-lang-details summary::after {
    content: " ▸";
    font-size: 0.75rem;
    color: #8b4513;
}

.rb-infobox-game .rb-ib-lang-details[open] summary::after {
    content: " ▾";
}

.rb-infobox-game .rb-ib-lang-list {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #e0d5a6;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #3e2318;
    column-count: 2;
    column-gap: 8px;
}

@media (max-width: 600px) {
    .rb-infobox-game {
        float: none;
        width: 100%;
        margin: 0 0 16px 0;
    }
}