Actions

Template

Template:Chain/styles.css

From Project Rebearth

.rb-chain {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0;
}

.rb-chain-vertical {
    flex-direction: column;
}

.rb-chain-title {
    width: 100%;
    font-weight: 700;
    font-size: 0.95em;
    color: #562c1b;
    margin-bottom: 2px;
}

.rb-chain-step {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.9em;
    line-height: 1.4;
    white-space: nowrap;
}

.rb-chain-resource {
    background-color: #faf4e0;
    border: 1px solid #e0d5a6;
    color: #3e2318;
}

.rb-chain-building {
    background-color: #6e3a24;
    color: #e8daa8;
}

.rb-chain-building a {
    color: #e8daa8;
}

.rb-chain-building a:hover {
    color: #ebb933;
}

.rb-chain-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
}

.rb-chain-arrow {
    color: #b8860b;
    font-size: 1.2em;
    font-weight: 700;
    line-height: 1;
    padding: 0 2px;
}

.rb-chain-vertical .rb-chain-arrow {
    transform: rotate(90deg);
}