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: Difference between revisions

From The Deep Tech Wiki
No edit summary
No edit summary
Line 1: Line 1:
/* --- Row Layout --- */
/* Row layout */
.creation-row {
.creation-row {
   display: flex;
   display: flex;
Line 8: Line 8:
}
}


/* Fixed, matching widths */
/* SAME SIZE for both input + button */
.creation-row .inputbox input[type="text"],
.creation-row .mw-inputbox-input,
.creation-row input[type="submit"] {
.creation-row .mw-inputbox-button {
   width: 260px !important;
   width: 260px !important;
   height: 42px !important;         /* <-- equal height for both */
   height: 40px !important;
   box-sizing: border-box;
   box-sizing: border-box;
}
}


/* --- Input Styling --- */
/* TEXT INPUT (Startup / Investor Name) */
.creation-row .inputbox input[type="text"] {
.creation-row .mw-inputbox-input {
  padding: 0 0.6rem;
   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;
  background: #fff;
   font-size: 0.95rem !important;


   text-align: center;             /* center typing */
   text-align: center !important;   /* center text */
   font-style: italic;             /* italic input text too */
   font-style: italic !important;   /* italic content */
}
}


/* Center + italic placeholder */
/* Placeholder styling */
.creation-row .inputbox input[type="text"]::placeholder {
.creation-row .mw-inputbox-input::placeholder {
   text-align: center;
   text-align: center;
   color: #777;
   color: #777;
Line 35: Line 34:
}
}


/* --- Button Styling (matches create-button aesthetic) --- */
/* SUBMIT BUTTON (Create … Page) */
.creation-row input[type="submit"] {
.creation-row .mw-inputbox-button {
  border: 1.5px solid #000 !important;
  border-radius: 2px !important;
   background: transparent !important;
   background: transparent !important;
  border: 1.5px solid #000 !important;
  border-radius: 2px;
   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 input[type="submit"]:hover:not(:disabled) {
.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 input[type="submit"]:active:not(:disabled) {
.creation-row .mw-inputbox-button:active:not(:disabled) {
   transform: translateY(0);
   transform: translateY(0);
}
}


/* Disabled */
/* Disabled state */
.creation-row input[type="submit"]:disabled {
.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;
}