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
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* =========================
/* =========================
   Fertilizer Window Box
   Title pill (text-height only)
   ========================= */
   ========================= */
.vp-fert-box {
  border: 3px solid #3e7a3e;
  background: #eef7ea;
  border-radius: 10px;
  padding: 10px;
  margin: 1em 0;
}
/* Title pill */


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


/* Timeline container */
/* =========================
  Timeline container
  ========================= */


.vp-fert-timeline {
.vp-fert-timeline {
Line 33: Line 27:
   border-radius: 8px;
   border-radius: 8px;
   overflow: hidden;
   overflow: hidden;
  align-items: stretch;
}
}
 
/* =========================
/* Individual window */
  Individual windows
  ========================= */


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


Line 46: Line 45:
}
}


/* Header row */
/* Header */


.vp-fert-header {
.vp-fert-header {
Line 54: Line 53:
   border-bottom: 2px solid #3e7a3e;
   border-bottom: 2px solid #3e7a3e;
   text-align: center;
   text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
}


/* Icon area */
/* =========================
  ICON CELLS
  ========================= */


.vp-fert-icons {
.vp-fert-icons {
Line 63: Line 70:
}
}


/* Shadow ONLY behind icons */
/* =========================
 
  Note
.vp-fert-icons img {
  ========================= */
  filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.4));
}
 
/* Note */


.vp-fert-note {
.vp-fert-note {
Line 89: Line 92:


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


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

Latest revision as of 12:38, 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;
}

/* =========================
   Timeline container
   ========================= */

.vp-fert-timeline {
  display: flex;
  border: 2px solid #3e7a3e;
  border-radius: 8px;
  overflow: hidden;
  align-items: stretch;
}
/* =========================
   Individual windows
   ========================= */

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

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

/* Header */

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

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

  height: 100%;
}

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