Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:FertilizerWindows/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
Tag: Reverted
Line 19: Line 19:


/* =========================
/* =========================
   Timeline container
   Desktop Layout (Grid)
   ========================= */
   ========================= */


.vp-fert-timeline {
.vp-fert-timeline {
   display: flex;
   display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
   border: 2px solid #3e7a3e;
   border: 2px solid #3e7a3e;
   border-radius: 8px;
   border-radius: 8px;
   overflow: hidden;
   overflow: hidden;
}
}
/* =========================
  Individual windows
  ========================= */


.vp-fert-window {
.vp-fert-window {
  flex: 1;
   display: contents;
   display: flex;
  flex-direction: column;
  border-right: 2px solid #3e7a3e;
  background: #eaf5e4;
}
 
.vp-fert-window:last-child {
  border-right: none;
}
}


/* Header */
/* Header row */


.vp-fert-header {
.vp-fert-header {
Line 51: Line 41:
   font-weight: bold;
   font-weight: bold;
   padding: 4px;
   padding: 4px;
  border-right: 2px solid #3e7a3e;
   border-bottom: 2px solid #3e7a3e;
   border-bottom: 2px solid #3e7a3e;
   text-align: center;
   text-align: center;
Line 57: Line 48:
   align-items: center;
   align-items: center;
   justify-content: center;
   justify-content: center;
}
/* Icon row */
.vp-fert-icons {
  background: #eaf5e4;
  text-align: center;
  padding: 6px;
  border-right: 2px solid #3e7a3e;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Remove last column border */


   min-height: 3em;
.vp-fert-timeline > :nth-last-child(2),
.vp-fert-timeline > :last-child {
   border-right: none;
}
}


/* =========================
/* =========================

Revision as of 12:34, 26 February 2026

/* =========================
   Title pill (text-height only)
   ========================= */

.vp-fert-title {
  display: inline-flex;
  align-items: center;
  background: var(--vp-journal-text);
  color: #000;
  padding: 0 6px;
  border: 2px solid #000;
  border-radius: 4px;
  font-size: larger;
  font-family: 'VPTIP';
  line-height: 1;
  height: 2em;
  margin-bottom: 4px;
}

/* =========================
   Desktop Layout (Grid)
   ========================= */

.vp-fert-timeline {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  border: 2px solid #3e7a3e;
  border-radius: 8px;
  overflow: hidden;
}

.vp-fert-window {
  display: contents;
}

/* Header row */

.vp-fert-header {
  background: #cfe8c6;
  font-weight: bold;
  padding: 4px;
  border-right: 2px solid #3e7a3e;
  border-bottom: 2px solid #3e7a3e;
  text-align: center;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Icon row */

.vp-fert-icons {
  background: #eaf5e4;
  text-align: center;
  padding: 6px;
  border-right: 2px solid #3e7a3e;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Remove last column border */

.vp-fert-timeline > :nth-last-child(2),
.vp-fert-timeline > :last-child {
  border-right: none;
}


/* =========================
   ICON CELLS
   ========================= */

.vp-fert-icons {
  text-align: center;
  padding: 6px;
}

/* =========================
   Note
   ========================= */

.vp-fert-note {
  margin-top: 0.4em;
  font-size: 0.85em;
  text-align: center;
  font-family: 'VPTIP';
}

/* =========================
   Mobile
   ========================= */

@media (max-width: 700px) {

  .vp-fert-timeline {
    flex-direction: column;
  }

  .vp-fert-window {
    display: grid;
    grid-template-columns: 3fr 2fr;
    border-right: none;
    border-bottom: 2px solid #3e7a3e;
  }

  .vp-fert-window:last-child {
    border-bottom: none;
  }

  .vp-fert-header {
    border-bottom: none;
    border-right: 2px solid #3e7a3e;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
  }

  .vp-fert-icons {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .vp-fert-icons img {
    width: 34px !important;
    height: 34px !important;
  }

}

.vp-fert-bag {
  filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.4));
}