Template:CreateHub/styles.css
Appearance
/* Row container: one input + one button */
.creation-row {
display: flex;
justify-content: center;
margin: 0.75rem 0;
}
/* Let the InputBox wrapper form act as our flex row */
.creation-row .mw-inputbox-centered {
display: flex;
justify-content: center;
}
.creation-row .createbox {
display: flex;
align-items: center;
gap: 1rem;
}
/* SAME SIZE for input and button */
.creation-row .createboxInput,
.creation-row .createboxButton {
width: 260px !important;
height: 40px !important;
box-sizing: border-box;
}
/* --- Text input styling --- */
.creation-row .createboxInput {
border: 1.5px solid #000 !important;
border-radius: 2px !important;
background: #fff !important;
font-size: 0.95rem !important;
text-align: center !important;
font-style: italic !important;
}
/* Placeholder */
.creation-row .createboxInput::placeholder {
text-align: center;
color: #777;
font-style: italic;
}
/* --- Button styling (outline style) --- */
.creation-row .createboxButton {
border: 1.5px solid #000 !important;
border-radius: 2px !important;
background: transparent !important;
color: #000 !important;
font-weight: 600 !important;
font-size: 0.95rem !important;
text-align: center !important;
cursor: pointer;
box-shadow: none !important;
transition:
background-color 0.2s ease,
transform 0.15s ease,
border-color 0.15s ease;
}
/* Hover */
.creation-row .createboxButton:hover:not(:disabled) {
background-color: #f2f2f2 !important;
transform: translateY(-1px);
}
/* Active */
.creation-row .createboxButton:active:not(:disabled) {
transform: translateY(0);
}
/* Disabled */
.creation-row .createboxButton:disabled {
background-color: #f5f5f5 !important;
border-color: #ccc !important;
color: #888 !important;
cursor: not-allowed;
}