Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 4: Line 4:
     border-radius: 8px;
     border-radius: 8px;
     padding: 20px;
     padding: 20px;
     width: 380px; /* Increased from 320px */
     width: 380px;
     font-family: Arial, sans-serif;
     font-family: Arial, sans-serif;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
Line 20: Line 20:


.weapon-icon-area {
.weapon-icon-area {
     width: 60px;
     width: 80px;
     height: 60px;
     height: 80px;
     display: flex;
     display: flex;
     justify-content: center;
     justify-content: center;
     align-items: center;
     align-items: center;
    flex-shrink: 0;
}
}


Line 38: Line 39:


.item-name {
.item-name {
     font-size: 1.4em;
     font-size: 1.15em;
     font-weight: bold;
     font-weight: bold;
     text-transform: uppercase;
     text-transform: uppercase;
     margin: 0;
     margin: 0;
     line-height: 1.2;
     line-height: 1.2;
    white-space: nowrap;
}
}


Line 49: Line 51:
     align-items: baseline;
     align-items: baseline;
     gap: 5px;
     gap: 5px;
     margin-top: -3px;  
     margin-top: -3px;
}
}


Line 71: Line 73:
}
}


/* Standard single line separator */
.weapon-separator {
.weapon-separator {
     border: none;
     border: none;
     border-top: 1px solid #444; /* Slightly brightened for better visibility */
     border-top: 1px solid #444;
     margin: 15px 0;
     margin: 15px 0;
}
}


/* New double line separator */
.weapon-separator-double {
.weapon-separator-double {
     border: none;
     border: none;
Line 88: Line 88:
     font-size: 0.95em;
     font-size: 0.95em;
     line-height: 1.4;
     line-height: 1.4;
     margin-bottom: 15px;
     margin-bottom: 10px;
     white-space: normal;
     white-space: normal;
}
}


/* New class for the ammo loadout */
.loaded-ammo {
.loaded-ammo {
     font-size: 0.95em;
     font-size: 0.95em;
     font-weight: bold;
     font-weight: bold;
     color: #ccc;
     color: #ccc;
     margin-bottom: 15px;
    margin-top: 5px;
     margin-bottom: 10px;
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     gap: 8px;
     gap: 8px;
    border-left: 2px solid #d35400;
    padding-left: 8px;
}
}


.ammo-icon {
.ammo-icon {
     color: #d35400; /* Orange diamond color */
     color: #d35400;
     font-size: 1.2em;
     font-size: 1.2em;
}
}
Line 118: Line 120:
     padding: 6px 0;
     padding: 6px 0;
     font-size: 0.95em;
     font-size: 0.95em;
     border-bottom: 1px solid #333;  
     border-bottom: 1px solid #333;
}
}


.stat-row:last-child {
.stat-row:last-child {
     border-bottom: none;  
     border-bottom: none;
}
}


.inventory-section {
.durability-inventory-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
     font-size: 0.9em;
     font-size: 0.9em;
    text-align: right;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.durability-section-left {
    font-size: 0.9em;
    text-align: left;
    margin-bottom: 10px;
     text-transform: uppercase;
     text-transform: uppercase;
    margin-bottom: 5px;
}
}


Line 149: Line 146:
     gap: 15px;
     gap: 15px;
     font-size: 0.95em;
     font-size: 0.95em;
     margin-top: 15px;
     margin-top: 10px;
     font-weight: bold;
     font-weight: bold;
}
}
Line 160: Line 157:


.icon-gold-placeholder {
.icon-gold-placeholder {
     width: 14px;
     width: 16px;
     height: 14px;
     height: 16px;
     background-color: #daa520;
     background: radial-gradient(circle at 35% 35%, #f5d060, #b8860b);
     border-radius: 50%;
     border-radius: 50%;
    border: 1px solid #a07000;
}
}


.icon-silver-placeholder {
.icon-silver-placeholder {
     width: 14px;
     width: 16px;
     height: 14px;
     height: 16px;
     background-color: #c0c0c0;
     background: radial-gradient(circle at 35% 35%, #e0e0e0, #8a8a8a);
     border-radius: 50%;
     border-radius: 50%;
    border: 1px solid #707070;
}
}

Revision as of 01:38, 18 March 2026

.weapon-stats-box {
    background-color: #1a1a1a;
    color: #f0f0f0;
    border-radius: 8px;
    padding: 20px;
    width: 380px;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    margin: 1em 0;
    float: right;
    clear: right;
    margin-left: 1.5em;
}

.weapon-stats-header {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.weapon-icon-area {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.header-text-container {
    flex-grow: 1;
}

.header-title-tier-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.item-name {
    font-size: 1.15em;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
}

.item-tier-container {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-top: -3px;
}

.tier-label {
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
    color: #f0f0f0;
}

.tier-value {
    font-size: 1.1em;
    font-weight: bold;
    color: #f0f0f0;
}

.item-type {
    font-size: 0.9em;
    color: #aaa;
    margin: 0;
}

.weapon-separator {
    border: none;
    border-top: 1px solid #444;
    margin: 15px 0;
}

.weapon-separator-double {
    border: none;
    border-top: 3px double #555;
    margin: 15px 0;
}

.description-section {
    font-size: 0.95em;
    line-height: 1.4;
    margin-bottom: 10px;
    white-space: normal;
}

.loaded-ammo {
    font-size: 0.95em;
    font-weight: bold;
    color: #ccc;
    margin-top: 5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 2px solid #d35400;
    padding-left: 8px;
}

.ammo-icon {
    color: #d35400;
    font-size: 1.2em;
}

.stats-section {
    width: 100%;
    margin-bottom: 15px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.95em;
    border-bottom: 1px solid #333;
}

.stat-row:last-child {
    border-bottom: none;
}

.durability-inventory-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.repair-status {
    color: #e74c3c;
    font-weight: bold;
}

.currency-section {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    font-size: 0.95em;
    margin-top: 10px;
    font-weight: bold;
}

.currency-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.icon-gold-placeholder {
    width: 16px;
    height: 16px;
    background: radial-gradient(circle at 35% 35%, #f5d060, #b8860b);
    border-radius: 50%;
    border: 1px solid #a07000;
}

.icon-silver-placeholder {
    width: 16px;
    height: 16px;
    background: radial-gradient(circle at 35% 35%, #e0e0e0, #8a8a8a);
    border-radius: 50%;
    border: 1px solid #707070;
}