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 14:35, 13 November 2025 by C (talk | contribs)
/* Row: center the pair horizontally */
.creation-row {
  display: flex;
  justify-content: center;
  margin: 0.75rem 0;
}

/* Make the inner InputBox container a row as well */
.creation-row .mw-inputbox-centered {
  display: flex;
  justify-content: center;
}

.creation-row .createbox {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* SAME width + height for both input and button */
.creation-row .mw-ui-input,
.creation-row .mw-ui-button {
  width: 260px !important;
  height: 40px !important;
  box-sizing: border-box;
}

/* --- INPUT: centered, italic, outlined --- */
.creation-row .mw-ui-input {
  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;
}

.creation-row .mw-ui-input::placeholder {
  text-align: center;
  color: #777;
  font-style: italic;
}

/* --- BUTTON: outline style, like noarticletext --- */
.creation-row .mw-ui-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;
  text-align: center !important;
  box-shadow: none !important;
  cursor: pointer;

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

/* Hover (enabled only) */
.creation-row .mw-ui-button:hover:not(:disabled) {
  background-color: #f2f2f2 !important;
  transform: translateY(-1px);
}

/* Active (enabled only) */
.creation-row .mw-ui-button:active:not(:disabled) {
  transform: translateY(0);
}

/* Disabled look (before a name is entered) */
.creation-row .mw-ui-button:disabled {
  background-color: #f5f5f5 !important;
  border-color: #ccc !important;
  color: #888 !important;
  cursor: not-allowed;
}