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

MediaWiki:Citizen.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 16: Line 16:


.default-character {
.default-character {
     margin-bottom: 10px; /* Reduce space below the image */
     margin-bottom: 5px; /* Reduce space below the image */
}
}
/* Style for the box under the image */
/* Style for the box under the image */
Line 23: Line 23:
     margin: auto;
     margin: auto;
     text-align: center;
     text-align: center;
     max-width: 300px;
    padding: 12px 16px; /* More space inside */
     max-width: 320px; /* Slightly wider */
     border-radius: 8px;
     border-radius: 8px;
}
}
/* Variants Grid */
/* Variants Grid - Keep responsive but more compact */
.character-variants {
.character-variants {
     display: flex;
     display: flex;
     flex-wrap: wrap;
     flex-wrap: wrap;
     justify-content: center;
     justify-content: center;
     gap: 20px;
     gap: 15px; /* Reduce spacing between items */
}
}


/* Individual Variant Box */
/* Individual Variant Box */
.character-variant {
.character-variant {
     width: 150px;
     width: 200px; /* Make them wider */
     text-align: center;
     text-align: center;
}
}


/* Style for the variant info box */
/* Reduce height of the variant info box */
.character-variant-box {
.character-variant-box {
     background-color: rgba(255, 255, 255, 0.1);
     background-color: rgba(255, 255, 255, 0.1);
     padding: 8px;
     padding: 6px 10px; /* Less padding inside */
     border-radius: 8px;
     border-radius: 8px;
    font-size: 14px; /* Make text slightly smaller */
}
}

Revision as of 15:47, 28 February 2025

/* All CSS here will be loaded for users of the Citizen skin */
/* Styling for Character Hub */
.character-hub {
    text-align: center;
    max-width: 800px;
    margin: auto;
}

.character-main-image {
    width: 300px;
    border-radius: 10px;
    display: block;
    margin: auto;
    padding-bottom: 5px; /* Less gap before the text */
}

.default-character {
    margin-bottom: 5px; /* Reduce space below the image */
}
/* Style for the box under the image */
.character-info-box {
    background-color: rgba(255, 255, 255, 0.1); /* Keeps the dark theme */
    margin: auto;
    text-align: center;
    padding: 12px 16px; /* More space inside */
    max-width: 320px; /* Slightly wider */
    border-radius: 8px;
}
/* Variants Grid - Keep responsive but more compact */
.character-variants {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* Reduce spacing between items */
}

/* Individual Variant Box */
.character-variant {
    width: 200px; /* Make them wider */
    text-align: center;
}

/* Reduce height of the variant info box */
.character-variant-box {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 6px 10px; /* Less padding inside */
    border-radius: 8px;
    font-size: 14px; /* Make text slightly smaller */
}