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 13:58, 13 November 2025 by C (talk | contribs)
/* --- CreateHub Container --- */
.creation-hub {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

/* --- Card Styling (matching create-button aesthetic) --- */
.creation-card {
  width: 250px;
  padding: 1.5rem;
  text-align: center;
  border: 1.5px solid #000000;     /* thin black border */
  border-radius: 2px;              /* minimal rounding */
  background: #fafafa;
  transition: 
      background-color 0.2s ease,
      box-shadow 0.2s ease,
      transform 0.15s ease;
}

.creation-card:hover {
  background: #f0f0f0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.creation-card h3 {
  margin-top: 0;
  font-size: 1.2em;
  color: #111;                    /* darker neutral */
  font-weight: 600;
}

/* --- InputBox Container --- */
.creation-card .inputbox {
  margin-top: 1rem;
}

/* --- Input Fields --- */
.creation-card input {
  width: 100%;
  padding: 0.4rem 0.6rem;
  border: 1.5px solid #000;       /* match the button outline */
  border-radius: 2px;
  font-size: 0.95rem;
  background: #fff;
  text-align: center;
}

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

/* --- Submit Button (matching create-button look) --- */
.creation-card input[type="submit"] {
  width: 100%;
  padding: 8px 0;
  margin-top: 0.7rem;

  background: transparent !important;
  border: 1.5px solid #000;       /* same thin border */
  border-radius: 2px;
  color: inherit;
  font-weight: 600;
  cursor: pointer;

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

.creation-card input[type="submit"]:hover {
  background-color: #e6e6e6 !important;   /* same darker hover fill as create-button */
  border-color: #000;
  transform: translateY(-1px);
}

.creation-card input[type="submit"]:active {
  transform: translateY(0);
}