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
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* --- Row Layout --- */
.creation-row {
.creation-row {
   display: flex;
   margin: 10px 0;
   justify-content: center;
   width: 100%;
  align-items: center;
  gap: 1rem;                /* uniform spacing */
  margin: 0.75rem 0;
}
}


/* Give both elements the same fixed width */
/* Force InputBox to align horizontally */
.creation-row .inputbox input[type="text"],
.creation-row .mw-inputbox-centered {
.creation-row input[type="submit"] {
   margin: 0 !important;
   width: 260px !important;  /* <-- adjust this to fit your layout */
   white-space: nowrap !important; /* Prevents wrapping */
   box-sizing: border-box;   /* ensures borders don’t change width */
   display: flex !important;
  align-items: center !important;
  gap: 15px !important;
}
 
.creation-row form {
  display: flex !important;
  gap: 15px !important;
  align-items: center !important;
}
}


/* --- Text Input --- */
/* Shared Styling */
.creation-row .inputbox input[type="text"] {
.creation-row input[type="text"],
  padding: 0.45rem 0.6rem;
.creation-row input[type="submit"] {
   border: 1.5px solid #000 !important;
   height: 40px !important;
   border-radius: 2px;
   box-sizing: border-box !important;
   font-size: 0.95rem;
   font-size: 14px !important;
  text-align: center;
  background: #fff;
}
}


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


/* --- Submit Button (matches Noarticletext buttons) --- */
/* Button */
.creation-row input[type="submit"] {
.creation-row input[type="submit"] {
   padding: 8px 0;
   width: 260px !important;
  text-align: center;
   background: #fff !important;
 
   background: transparent !important;
   border: 1.5px solid #000 !important;
   border: 1.5px solid #000 !important;
  color: #000 !important;
  font-weight: 700 !important;
  cursor: pointer !important;
   border-radius: 2px !important;
   border-radius: 2px !important;
  color: #000 !important;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.15s ease,
    border-color 0.15s ease;
}
}


/* Hover */
.creation-row input[type="submit"]:hover {
.creation-row input[type="submit"]:hover:not(:disabled) {
   background-color: #f2f2f2 !important;
   background-color: #f2f2f2 !important;
   transform: translateY(-1px);
   color: #000 !important;
}
 
/* Active */
.creation-row input[type="submit"]:active:not(:disabled) {
  transform: translateY(0);
}
 
/* Disabled state */
.creation-row input[type="submit"]:disabled {
  background-color: #f5f5f5 !important;
  border-color: #ccc !important;
  color: #888 !important;
  cursor: not-allowed;
}
}

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;
}