Jump to content
This site is currently in alpha, so you will run into rough edges.

Template:CreateHub/styles.css: Difference between revisions

From The Deep Tech Wiki
Created page with ".creation-hub { display: flex; justify-content: center; flex-wrap: wrap; gap: 2rem; margin-top: 2rem; } .creation-card { width: 250px; padding: 1.5rem; text-align: center; border: 2px solid #e0e0e0; border-radius: 1rem;: background: #fafafa; box-shadow: 0 2px 6px rgba(0,0,0,0.08);: transition: all 0.2s ease-in-out; } .creation-card:hover { background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.12); transform: translateY(-2px);..."
 
No edit summary
Line 1: Line 1:
/* --- CreateHub Container --- */
.creation-hub {
.creation-hub {
   display: flex;
   display: flex;
Line 7: Line 8:
}
}


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


.creation-card:hover {
.creation-card:hover {
   background: #fff;
   background: #f0f0f0;
   box-shadow: 0 4px 12px rgba(0,0,0,0.12);
   box-shadow: 0 3px 10px rgba(0,0,0,0.12);
   transform: translateY(-2px);
   transform: translateY(-2px);
}
}
Line 26: Line 30:
.creation-card h3 {
.creation-card h3 {
   margin-top: 0;
   margin-top: 0;
   font-size: 1.3em;
   font-size: 1.2em;
   color: #2a2a2a;
   color: #111;                    /* darker neutral */
  font-weight: 600;
}
}


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


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


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


/* --- Submit Button (matching create-button look) --- */
.creation-card input[type="submit"] {
.creation-card input[type="submit"] {
   background: #3366cc;
   width: 100%;
   color: white;
  padding: 8px 0;
   border: none;
   margin-top: 0.7rem;
   padding: 0.5rem 1rem;
 
   border-radius: 6px;
   background: transparent !important;
   border: 1.5px solid #000;       /* same thin border */
   border-radius: 2px;
  color: inherit;
  font-weight: 600;
   cursor: pointer;
   cursor: pointer;
   font-weight: bold;
 
  margin-top: 0.5rem;
   transition:
  transition: background 0.2s ease;
      background-color 0.2s ease,
      transform 0.15s ease,
      border-color 0.2s ease;
}
}


.creation-card input[type="submit"]:hover {
.creation-card input[type="submit"]:hover {
   background: #254d99;
   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);
}
}

Revision as of 13:58, 13 November 2025

/* --- 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);
}