Template:CreateHub/styles.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* Row layout */ | ||
.creation-row { | .creation-row { | ||
display: flex; | display: flex; | ||
| Line 8: | Line 8: | ||
} | } | ||
/* | /* SAME SIZE for both input + button */ | ||
.creation-row .inputbox input | .creation-row .mw-inputbox-input, | ||
.creation-row | .creation-row .mw-inputbox-button { | ||
width: 260px !important; | width: 260px !important; | ||
height: | height: 40px !important; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
/* | /* TEXT INPUT (Startup / Investor Name) */ | ||
.creation-row .inputbox input | .creation-row .mw-inputbox-input { | ||
border: 1.5px solid #000 !important; | border: 1.5px solid #000 !important; | ||
border-radius: 2px; | border-radius: 2px !important; | ||
font-size: 0.95rem | background: #fff !important; | ||
font-size: 0.95rem !important; | |||
text-align: center; | text-align: center !important; /* center text */ | ||
font-style: italic; | font-style: italic !important; /* italic content */ | ||
} | } | ||
/* | /* Placeholder styling */ | ||
.creation-row .inputbox input | .creation-row .mw-inputbox-input::placeholder { | ||
text-align: center; | text-align: center; | ||
color: #777; | color: #777; | ||
| Line 35: | Line 34: | ||
} | } | ||
/* | /* SUBMIT BUTTON (Create … Page) */ | ||
.creation-row | .creation-row .mw-inputbox-button { | ||
border: 1.5px solid #000 !important; | |||
border-radius: 2px !important; | |||
background: transparent !important; | background: transparent !important; | ||
color: #000 !important; | color: #000 !important; | ||
font-weight: 600; | font-weight: 600 !important; | ||
font-size: 0.95rem; | font-size: 0.95rem !important; | ||
cursor: pointer; | cursor: pointer; | ||
text-align: center !important; | |||
line-height: 1.2; /* avoids weird vertical centering issues */ | |||
transition: | transition: | ||
| Line 52: | Line 54: | ||
/* Hover */ | /* Hover */ | ||
.creation-row | .creation-row .mw-inputbox-button:hover:not(:disabled) { | ||
background-color: #f2f2f2 !important; | background-color: #f2f2f2 !important; | ||
transform: translateY(-1px); | transform: translateY(-1px); | ||
| Line 58: | Line 60: | ||
/* Active */ | /* Active */ | ||
.creation-row | .creation-row .mw-inputbox-button:active:not(:disabled) { | ||
transform: translateY(0); | transform: translateY(0); | ||
} | } | ||
/* Disabled */ | /* Disabled state */ | ||
.creation-row | .creation-row .mw-inputbox-button:disabled { | ||
background-color: #f5f5f5 !important; | background-color: #f5f5f5 !important; | ||
border-color: #ccc !important; | border-color: #ccc !important; | ||
Revision as of 14:23, 13 November 2025
/* Row layout */
.creation-row {
display: flex;
justify-content: center;
align-items: center;
gap: 1rem;
margin: 0.75rem 0;
}
/* SAME SIZE for both input + button */
.creation-row .mw-inputbox-input,
.creation-row .mw-inputbox-button {
width: 260px !important;
height: 40px !important;
box-sizing: border-box;
}
/* TEXT INPUT (Startup / Investor Name) */
.creation-row .mw-inputbox-input {
border: 1.5px solid #000 !important;
border-radius: 2px !important;
background: #fff !important;
font-size: 0.95rem !important;
text-align: center !important; /* center text */
font-style: italic !important; /* italic content */
}
/* Placeholder styling */
.creation-row .mw-inputbox-input::placeholder {
text-align: center;
color: #777;
font-style: italic;
}
/* SUBMIT BUTTON (Create … Page) */
.creation-row .mw-inputbox-button {
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;
cursor: pointer;
text-align: center !important;
line-height: 1.2; /* avoids weird vertical centering issues */
transition:
background-color 0.2s ease,
transform 0.15s ease,
border-color 0.15s ease;
}
/* Hover */
.creation-row .mw-inputbox-button:hover:not(:disabled) {
background-color: #f2f2f2 !important;
transform: translateY(-1px);
}
/* Active */
.creation-row .mw-inputbox-button:active:not(:disabled) {
transform: translateY(0);
}
/* Disabled state */
.creation-row .mw-inputbox-button:disabled {
background-color: #f5f5f5 !important;
border-color: #ccc !important;
color: #888 !important;
cursor: not-allowed;
}