Actions

Template

Main page/styles.css: Difference between revisions

From Project Rebearth

No edit summary
Undo revision 375 by East6 (talk)
Tag: Undo
 
Line 1: Line 1:
.rb-infobox-biome {
.rb-modal-box {
     float: right;
     box-sizing: border-box;
     clear: right;
     display: inline-block;
     width: 300px;
}
     margin: 0 0 16px 20px;
 
    font-size: 0.9rem;
.rb-modal-box * {
     line-height: 1.5;
     box-sizing: border-box;
     color: #3e2318;
}
 
.rb-scooped-corners {
     mask:
        radial-gradient(circle at top left, transparent 10px, black 10.5px) top left,
        radial-gradient(circle at top right, transparent 10px, black 10.5px) top right,
        radial-gradient(circle at bottom left, transparent 10px, black 10.5px) bottom left,
        radial-gradient(circle at bottom right, transparent 10px, black 10.5px) bottom right;
     mask-size: 51% 51%;
     mask-repeat: no-repeat;
}
}


.rb-infobox-biome .rb-ib-border {
.rb-modal-border {
     background-color: #e8daa8;
     background-color: #e8daa8;
     padding: 3px;
     padding: 2px;
    width: 100%;
    margin: 0 auto;
}
}


.rb-infobox-biome .rb-ib-inner {
.rb-modal-border-alt {
     background-color: #faf4e0;
     background-color: #562c1b;
    padding: 2px;
    width: 100%;
    margin: 0 auto;
}
}


.rb-infobox-biome .rb-ib-header {
.rb-modal-content {
     background-color: #562c1b;
     background-color: #562c1b;
     color: #e8daa8;
     color: #e8daa8;
     text-align: center;
     text-align: center;
     padding: 10px 14px;
     padding: 20px 25px;
     font-size: 1.15rem;
     display: flex;
     font-weight: 700;
    flex-direction: column;
     letter-spacing: 0.5px;
     align-items: center;
     gap: 6px;
}
}


.rb-infobox-biome .rb-ib-image {
.rb-modal-content-alt {
     background-color: #562c1b;
     background-color: #e8daa8;
    color: #562c1b;
     text-align: center;
     text-align: center;
     padding: 0 14px 10px;
     padding: 20px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
 
.rb-welcome-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e8daa8;
    margin: 0 0 4px 0;
}
}


.rb-infobox-biome .rb-ib-image img {
.rb-title-row {
     display: block;
     display: flex;
     margin: 0 auto;
     align-items: center;
     max-width: 100%;
     justify-content: center;
     height: auto;
    gap: 10px;
     margin-bottom: 6px;
}
}


.rb-infobox-biome .rb-ib-caption {
.rb-server-name {
     background-color: #562c1b;
     font-size: 1.5rem;
     color: #c9b57a;
     font-weight: 700;
     text-align: center;
     color: #ebb933;
     padding: 0 14px 10px;
     margin: 0;
     font-size: 0.82rem;
     line-height: 1.1;
     font-style: italic;
     text-transform: uppercase;
     line-height: 1.3;
     letter-spacing: 1.5px;
}
}


.rb-infobox-biome .rb-ib-section {
.rb-server-name-alt {
     background-color: #6e3a24;
     font-size: 1.5rem;
    color: #e8daa8;
    padding: 5px 14px;
     font-weight: 700;
     font-weight: 700;
     font-size: 0.82rem;
     color: #562c1b;
    margin: 0;
    line-height: 1.1;
     text-transform: uppercase;
     text-transform: uppercase;
     letter-spacing: 1px;
     letter-spacing: 1.5px;
}
}


.rb-infobox-biome .rb-ib-row {
.rb-stats-row {
     display: flex;
     display: flex;
     border-bottom: 1px solid #e0d5a6;
     gap: 16px;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}
}


.rb-infobox-biome .rb-ib-row:last-child {
.rb-modal-content-alt .rb-stats-row {
    border-bottom: none;
    color: #562c1b;
}
}


.rb-infobox-biome .rb-ib-label {
.rb-stat-item {
     flex: 0 0 110px;
     display: flex;
     padding: 6px 10px;
     align-items: center;
    font-weight: 700;
     gap: 6px;
     color: #562c1b;
    background-color: #f0e6c2;
}
}


.rb-infobox-biome .rb-ib-data {
.rb-description {
     flex: 1;
    font-size: 0.95rem;
     padding: 6px 10px;
    line-height: 1.4;
     color: #3e2318;
    color: #e8daa8;
     margin: 0;
     max-width: 95%;
     font-weight: 300;
}
}


.rb-infobox-biome .rb-ib-fullrow {
.rb-description-alt {
     padding: 6px 10px;
    font-size: 0.95rem;
     border-bottom: 1px solid #e0d5a6;
    line-height: 1.4;
    color: #562c1b;
    margin: 0;
     max-width: 95%;
     font-weight: 300;
}
}


.rb-infobox-biome .rb-ib-fullrow:last-child {
.rb-steps-row {
     border-bottom: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
     margin-top: 12px;
}
}


.rb-infobox-biome a {
.rb-step-card {
     color: #8b4513;
     flex: 1 1 120px;
    max-width: 150px;
    text-align: center;
    padding: 8px;
    border-left: 1px solid;
    border-image: linear-gradient(transparent 15%, #e8daa8 15%, #562c1b 85%, transparent 85%) 1;  
}
}


.rb-infobox-biome a:hover {
.rb-modal-content-alt .rb-step-card {
     color: #ebb933;
     border-image: linear-gradient(transparent 15%, #562c1b 15%, #e8daa8 85%, transparent 85%) 1;
}
}


.rb-infobox-biome .rb-ib-badge {
.rb-step-card:first-child {
     display: inline-block;
     border-left: none;
    background-color: #562c1b;
     border-image: none;
    color: #e8daa8;
    padding: 1px 8px;
    font-size: 0.78rem;
    font-weight: 600;
     letter-spacing: 0.3px;
}
}


.rb-infobox-biome .rb-ib-footer {
.rb-step-number {
     background-color: #562c1b;
     font-size: 1.8rem;
     color: #c9b57a;
     font-weight: 700;
     text-align: center;
     color: #ebb933;
     padding: 5px 14px;
     line-height: 1;
     font-size: 0.78rem;
     margin-bottom: 4px;
}
}


.rb-infobox-biome .rb-ib-footer a {
.rb-step-text {
    font-size: 0.85rem;
     color: #e8daa8;
     color: #e8daa8;
    line-height: 1.3;
    font-weight: 300;
}
}


.rb-infobox-biome .rb-ib-footer a:hover {
.rb-modal-content-alt .rb-step-text {
     color: #ebb933;
     color: #562c1b;
}
}


.rb-infobox-biome .rb-ib-subtable {
.rb-info-table {
     width: 100%;
     width: 100%;
    max-width: 380px;
    margin: 12px auto 0;
     border-collapse: collapse;
     border-collapse: collapse;
    font-size: 0.85rem;
}
}


.rb-infobox-biome .rb-ib-subtable th {
.rb-info-table td {
    background-color: #6e3a24;
    color: #e8daa8;
     padding: 4px 8px;
     padding: 4px 8px;
     font-weight: 600;
    border-bottom: 1px solid #562c1b;
     text-align: left;
     font-size: 0.9rem;
    color: #562c1b;
     vertical-align: top;
}
}


.rb-infobox-biome .rb-ib-subtable td {
.rb-info-table tr:last-child td {
    padding: 4px 8px;
     border-bottom: none;
     border-bottom: 1px solid #e0d5a6;
}
}


.rb-infobox-biome .rb-ib-subtable tr:nth-child(even) td {
.rb-info-label {
     background-color: #f5edd2;
    font-weight: 700;
}
     color: #562c1b;
 
     white-space: nowrap;
@media (max-width: 600px) {
    width: 1%;
     .rb-infobox-biome {
        float: none;
        width: 100%;
        margin: 0 0 16px 0;
    }
}
}

Latest revision as of 17:02, 15 February 2026

.rb-modal-box {
    box-sizing: border-box;
    display: inline-block;
}

.rb-modal-box * {
    box-sizing: border-box;
}

.rb-scooped-corners {
    mask:
        radial-gradient(circle at top left, transparent 10px, black 10.5px) top left,
        radial-gradient(circle at top right, transparent 10px, black 10.5px) top right,
        radial-gradient(circle at bottom left, transparent 10px, black 10.5px) bottom left,
        radial-gradient(circle at bottom right, transparent 10px, black 10.5px) bottom right;
    mask-size: 51% 51%;
    mask-repeat: no-repeat;
}

.rb-modal-border {
    background-color: #e8daa8;
    padding: 2px;
    width: 100%;
    margin: 0 auto;
}

.rb-modal-border-alt {
    background-color: #562c1b;
    padding: 2px;
    width: 100%;
    margin: 0 auto;
}

.rb-modal-content {
    background-color: #562c1b;
    color: #e8daa8;
    text-align: center;
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.rb-modal-content-alt {
    background-color: #e8daa8;
    color: #562c1b;
    text-align: center;
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.rb-welcome-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e8daa8;
    margin: 0 0 4px 0;
}

.rb-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
}

.rb-server-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ebb933;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.rb-server-name-alt {
    font-size: 1.5rem;
    font-weight: 700;
    color: #562c1b;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.rb-stats-row {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.rb-modal-content-alt .rb-stats-row {
     color: #562c1b;
}

.rb-stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rb-description {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #e8daa8;
    margin: 0;
    max-width: 95%;
    font-weight: 300;
}

.rb-description-alt {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #562c1b;
    margin: 0;
    max-width: 95%;
    font-weight: 300;
}

.rb-steps-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 12px;
}

.rb-step-card {
    flex: 1 1 120px;
    max-width: 150px;
    text-align: center;
    padding: 8px;
    border-left: 1px solid;
    border-image: linear-gradient(transparent 15%, #e8daa8 15%, #562c1b 85%, transparent 85%) 1; 
}

.rb-modal-content-alt .rb-step-card {
    border-image: linear-gradient(transparent 15%, #562c1b 15%, #e8daa8 85%, transparent 85%) 1;
}

.rb-step-card:first-child {
    border-left: none;
    border-image: none;
}

.rb-step-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ebb933;
    line-height: 1;
    margin-bottom: 4px;
}

.rb-step-text {
    font-size: 0.85rem;
    color: #e8daa8;
    line-height: 1.3;
    font-weight: 300;
}

.rb-modal-content-alt .rb-step-text {
    color: #562c1b;
}

.rb-info-table {
    width: 100%;
    max-width: 380px;
    margin: 12px auto 0;
    border-collapse: collapse;
}

.rb-info-table td {
    padding: 4px 8px;
    border-bottom: 1px solid #562c1b;
    font-size: 0.9rem;
    color: #562c1b;
    vertical-align: top;
}

.rb-info-table tr:last-child td {
    border-bottom: none;
}

.rb-info-label {
    font-weight: 700;
    color: #562c1b;
    white-space: nowrap;
    width: 1%;
}