More actions
Futureself (talk | contribs) No edit summary |
Futureself (talk | contribs) No edit summary |
||
| Line 62: | Line 62: | ||
/* display: inline-block; /* Prevents extra space from block-level behavior */ | /* display: inline-block; /* Prevents extra space from block-level behavior */ | ||
/* white-space: nowrap; /* Prevents automatic line breaks */ | /* white-space: nowrap; /* Prevents automatic line breaks */ | ||
} | |||
.character-infobox { | |||
width: 280px; | |||
background-color: rgba(255, 255, 255, 0.1); | |||
padding: 10px; | |||
border-radius: 8px; | |||
border: 1px solid rgba(255, 255, 255, 0.2); | |||
font-size: 14px; | |||
color: white; | |||
} | |||
.infobox-header { | |||
font-size: 18px; | |||
font-weight: bold; | |||
text-align: center; | |||
padding: 5px; | |||
background-color: rgba(255, 255, 255, 0.15); | |||
border-radius: 6px; | |||
} | |||
.infobox-image { | |||
text-align: center; | |||
margin: 10px 0; | |||
} | |||
.infobox-section { | |||
padding: 6px; | |||
border-top: 1px solid rgba(255, 255, 255, 0.2); | |||
} | } | ||
Revision as of 17:41, 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: 6px 8px; /* 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: 5px 5px; /* Less padding inside */
border-radius: 8px;
font-size: 14px; /* Make text slightly smaller */
}
/* Styled box for Character Hub link */
/* Smaller, compact Character Hub link box */
.character-hub-link {
background-color: rgba(255, 255, 255, 0.08);
padding: 6px 8px; /* Balanced padding */
border-radius: 5px;
text-align: center;
font-size: 12px;
margin: 5px auto; /* Reduce space above & below */
max-width: 400px;
border: 1px solid rgba(255, 255, 255, 0.2);
/* line-height: 1; /* Reduces extra vertical spacing */
/* display: inline-block; /* Prevents extra space from block-level behavior */
/* white-space: nowrap; /* Prevents automatic line breaks */
}
.character-infobox {
width: 280px;
background-color: rgba(255, 255, 255, 0.1);
padding: 10px;
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.2);
font-size: 14px;
color: white;
}
.infobox-header {
font-size: 18px;
font-weight: bold;
text-align: center;
padding: 5px;
background-color: rgba(255, 255, 255, 0.15);
border-radius: 6px;
}
.infobox-image {
text-align: center;
margin: 10px 0;
}
.infobox-section {
padding: 6px;
border-top: 1px solid rgba(255, 255, 255, 0.2);
}