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
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Container: stack rows with spacing */
.creation-row {
.creation-row {
   display: flex;
   margin: 10px 0;
  justify-content: center;
   width: 100%;
   margin: 1rem 0;
}
}


/* InputBox row layout */
/* Force InputBox to align horizontally */
.creation-row .inputbox form {
.creation-row .mw-inputbox-centered {
   display: flex;
  margin: 0 !important;
   align-items: center;
  white-space: nowrap !important; /* Prevents wrapping */
   gap: 0.75rem;       /* space between input + button */
   display: flex !important;
   align-items: center !important;
   gap: 15px !important;
}
}


/* Text input styling */
.creation-row form {
.creation-row .inputbox input[type="text"] {
   display: flex !important;
   width: 220px;
   gap: 15px !important;
   padding: 0.4rem 0.6rem;
   align-items: center !important;
   border: 1.5px solid #000;
  border-radius: 2px;
  background: #fff;
  font-size: 0.95rem;
  text-align: center;
}
}


.creation-row .inputbox input[type="text"]::placeholder {
/* Shared Styling */
   color: #777;
.creation-row input[type="text"],
   font-style: italic;
.creation-row input[type="submit"] {
  height: 40px !important;
   box-sizing: border-box !important;
   font-size: 14px !important;
}
}


/* Submit button — SAME aesthetic as .create-button */
/* Text Box */
.creation-row .inputbox input[type="submit"] {
.creation-row input[type="text"] {
   width: 220px;                     /* same fixed size as your noarticletext buttons */
   width: 260px !important;
  padding: 8px 0;
   background: #fff !important;
  text-align: center;
   border: 1px solid #a2a9b1 !important;
 
   padding: 0 10px !important;
   background: transparent !important;
}
   border: 1.5px solid #000;
   border-radius: 2px;
  color: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;


   transition:
/* Button */
    transform 0.15s ease,
.creation-row input[type="submit"] {
    border-color 0.15s ease,
  width: 260px !important;
    background-color 0.2s ease;
   background: #fff !important;
  border: 1.5px solid #000 !important;
  color: #000 !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  border-radius: 2px !important;
}
}


/* Hover: identical to .create-button */
.creation-row input[type="submit"]:hover {
.creation-row .inputbox input[type="submit"]:hover {
  border-color: #000;
   background-color: #f2f2f2 !important;
   background-color: #f2f2f2 !important;
   transform: translateY(-1px);
   color: #000 !important;
}
 
.creation-row .inputbox input[type="submit"]:active {
  transform: translateY(0);
}
}

Latest revision as of 15:09, 24 November 2025

.creation-row {
  margin: 10px 0;
  width: 100%;
}

/* Force InputBox to align horizontally */
.creation-row .mw-inputbox-centered {
  margin: 0 !important;
  white-space: nowrap !important; /* Prevents wrapping */
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
}

.creation-row form {
  display: flex !important;
  gap: 15px !important;
  align-items: center !important;
}

/* Shared Styling */
.creation-row input[type="text"],
.creation-row input[type="submit"] {
  height: 40px !important;
  box-sizing: border-box !important;
  font-size: 14px !important;
}

/* Text Box */
.creation-row input[type="text"] {
  width: 260px !important;
  background: #fff !important;
  border: 1px solid #a2a9b1 !important;
  padding: 0 10px !important;
}

/* Button */
.creation-row input[type="submit"] {
  width: 260px !important;
  background: #fff !important;
  border: 1.5px solid #000 !important;
  color: #000 !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  border-radius: 2px !important;
}

.creation-row input[type="submit"]:hover {
  background-color: #f2f2f2 !important;
  color: #000 !important;
}