Jump to content

This site is currently in alpha, so you will run into rough edges.

Please send feedback or ideas to connect@deeptech.wiki

Template:CreateHub/styles.css

From The Deep Tech Wiki
Revision as of 15:29, 20 November 2025 by C (talk | contribs)
/* Row wrapper: center each input+button horizontally */
.creation-row {
    display: flex;
    justify-content: center;
    margin: 0.75rem 0;
}

/* InputBox wrapper */
.creation-row .mw-inputbox-centered {
    display: flex;
    justify-content: center;
}

/* Treat the inner form as a flex row: [input] [button] */
.creation-row .mw-inputbox-centered form {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Fixed, matching size for both controls */
.creation-row .mw-inputbox-centered form input[type="text"],
.creation-row .mw-inputbox-centered form input[type="submit"] {
    width: 260px;
    height: 40px;
    box-sizing: border-box;
}

/* Input (left side) */
.creation-row .mw-inputbox-centered form input[type="text"] {
    border: 1.5px solid #000;
    border-radius: 2px;
    background: #fff;
    font-size: 0.95rem;
    text-align: center;
    font-style: italic;
}

/* Placeholder styling */
.creation-row .mw-inputbox-centered form input[type="text"]::placeholder {
    text-align: center;
    color: #777;
    font-style: italic;
}

/* Button (right side) */
.creation-row .mw-inputbox-centered form input[type="submit"] {
    border: 1.5px solid #000;
    border-radius: 2px;
    background: transparent;
    color: #000;

    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    line-height: 40px;
    cursor: pointer;

    box-shadow: none;
    transition:
        background-color 0.2s ease,
        transform 0.15s ease,
        border-color 0.15s ease;
}

/* Hover */
.creation-row .mw-inputbox-centered form input[type="submit"]:hover {
    background-color: #f2f2f2;
    transform: translateY(-1px);
}

/* Active */
.creation-row .mw-inputbox-centered form input[type="submit"]:active {
    transform: translateY(0);
}

/* Disabled */
.creation-row .mw-inputbox-centered form input[type="submit"]:disabled {
    border: 1.5px solid #000;
    background: transparent;
    color: #000;
    cursor: not-allowed;
    opacity: 1;
}