Template:CreateHub/styles.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* Container: stack rows with spacing */ | ||
.creation- | .creation-row { | ||
display: flex; | display: flex; | ||
justify-content: center; | justify-content: center; | ||
margin: 1rem 0; | |||
margin | |||
} | } | ||
/* | /* InputBox row layout */ | ||
.creation-row .inputbox form { | |||
.creation- | |||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
gap: 0.75rem; | gap: 0.75rem; /* space between input + button */ | ||
} | } | ||
/* Text input */ | /* Text input styling */ | ||
.creation- | .creation-row .inputbox input[type="text"] { | ||
width: 220px; | |||
padding: 0.4rem 0.6rem; | padding: 0.4rem 0.6rem; | ||
border: 1.5px solid #000; | border: 1.5px solid #000; | ||
border-radius: 2px; | border-radius: 2px; | ||
background: #fff; | background: #fff; | ||
font-size: 0.95rem; | |||
text-align: center; | |||
} | } | ||
.creation-row .inputbox input[type="text"]::placeholder { | |||
.creation- | |||
color: #777; | color: #777; | ||
font-style: italic; | font-style: italic; | ||
} | } | ||
/* Submit button — | /* Submit button — SAME aesthetic as .create-button */ | ||
.creation- | .creation-row .inputbox input[type="submit"] { | ||
width: 220px; /* same fixed size as your noarticletext buttons */ | |||
padding: 8px 0; | padding: 8px 0; | ||
text-align: center; | text-align: center; | ||
| Line 75: | Line 40: | ||
color: inherit; | color: inherit; | ||
font-weight: 600; | font-weight: 600; | ||
font-size: 0. | font-size: 0.95rem; | ||
cursor: pointer; | cursor: pointer; | ||
transition: | transition: | ||
transform 0.15s ease, | |||
border-color 0.15s ease, | |||
background-color 0.2s ease; | |||
} | } | ||
.creation- | /* Hover: identical to .create-button */ | ||
.creation-row .inputbox input[type="submit"]:hover { | |||
border-color: #000; | border-color: #000; | ||
background-color: # | background-color: #f2f2f2 !important; | ||
transform: translateY(-1px); | transform: translateY(-1px); | ||
} | } | ||
.creation- | .creation-row .inputbox input[type="submit"]:active { | ||
transform: translateY(0); | transform: translateY(0); | ||
} | } | ||
Revision as of 14:13, 13 November 2025
/* Container: stack rows with spacing */
.creation-row {
display: flex;
justify-content: center;
margin: 1rem 0;
}
/* InputBox row layout */
.creation-row .inputbox form {
display: flex;
align-items: center;
gap: 0.75rem; /* space between input + button */
}
/* Text input styling */
.creation-row .inputbox input[type="text"] {
width: 220px;
padding: 0.4rem 0.6rem;
border: 1.5px solid #000;
border-radius: 2px;
background: #fff;
font-size: 0.95rem;
text-align: center;
}
.creation-row .inputbox input[type="text"]::placeholder {
color: #777;
font-style: italic;
}
/* Submit button — SAME aesthetic as .create-button */
.creation-row .inputbox input[type="submit"] {
width: 220px; /* same fixed size as your noarticletext buttons */
padding: 8px 0;
text-align: center;
background: transparent !important;
border: 1.5px solid #000;
border-radius: 2px;
color: inherit;
font-weight: 600;
font-size: 0.95rem;
cursor: pointer;
transition:
transform 0.15s ease,
border-color 0.15s ease,
background-color 0.2s ease;
}
/* Hover: identical to .create-button */
.creation-row .inputbox input[type="submit"]:hover {
border-color: #000;
background-color: #f2f2f2 !important;
transform: translateY(-1px);
}
.creation-row .inputbox input[type="submit"]:active {
transform: translateY(0);
}