Toggle menu
17
24
14
1.7K
Landrace.Wiki - The Landrace Cannabis Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Navbox/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
.navbox-container {
.navbox-container {
   max-width: 1100px;
   max-width: 820px;             /* a bit narrower */
   margin: 1.5rem auto 0;
   margin: 0.75rem auto 0;
}
}


Line 8: Line 8:
   border-collapse: separate;
   border-collapse: separate;
   border-spacing: 0;
   border-spacing: 0;
   font-size: 0.9rem;
   font-size: 0.8rem;             /* smaller text */
   background: #f7faf6;         /* light green-tinted background */
   background: #f7faf6;
   border: 1px solid #c5d2c0;   /* soft desaturated green border */
   border: 1px solid #c5d2c0;
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
   box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
   border-radius: 6px;
   border-radius: 6px;
   overflow: hidden;
   overflow: hidden;
}
}


.navbox-title {
.navbox-top {
   background: #264b2c;         /* dark Zomia-ish green */
   background: #f7faf6;           /* same as body */
   color: #ffffff;
   padding: 0.2rem 0.5rem;
   font-weight: 600;
   border-bottom: 1px solid #d3dfcd;
  padding: 0.5rem 0.75rem;
   text-align: center;
   text-align: center;
  font-weight: 500;
}
.navbox-bottom {
  background: #f7faf6;
  padding: 0.25rem 0.5rem;
}
}


Line 33: Line 38:
}
}


/* group (left column) */
.navbox-group {
.navbox-group {
   background: #e4eddd;         /* pale green band */
   background: #e4eddd;
   color: #243824;
   color: #243824;
   font-weight: 600;
   font-weight: 600;
   padding: 0.4rem 0.6rem;
   padding: 0.25rem 0.45rem;
   width: 18%;
   width: 22%;
   vertical-align: top;
   vertical-align: top;
   border-top: 1px solid #d3dfcd;
   border-top: 1px solid #d3dfcd;
  text-align: left;
  white-space: nowrap;
}
}


/* list (right column) */
.navbox-list {
.navbox-list {
   background: #f7faf6;
   background: #f7faf6;
   padding: 0.35rem 0.6rem;
   padding: 0.2rem 0.5rem;
   border-top: 1px solid #d3dfcd;
   border-top: 1px solid #d3dfcd;
  text-align: left;
  line-height: 1.25;            /* tighter line spacing */
}
}


/* normal vertical lists, but with tight spacing */
/* optional bottom note row */
.navbox-list ul {
  margin: 0;
  padding-left: 1.1em;
}
 
.navbox-list li {
  margin: 0.05rem 0;
}
 
.navbox-above,
.navbox-below {
.navbox-below {
   background: #e4eddd;
   background: #f7faf6;
   padding: 0.45rem 0.75rem;
   padding: 0.25rem 0.5rem;
}
}


/* links inside the navbox */
/* links */
.navbox a {
.navbox a {
   text-decoration: none;
   text-decoration: none;

Latest revision as of 12:24, 20 November 2025

.navbox-container {
  max-width: 820px;              /* a bit narrower */
  margin: 0.75rem auto 0;
}

.navbox {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.8rem;             /* smaller text */
  background: #f7faf6;
  border: 1px solid #c5d2c0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  border-radius: 6px;
  overflow: hidden;
}

.navbox-top {
  background: #f7faf6;           /* same as body */
  padding: 0.2rem 0.5rem;
  border-bottom: 1px solid #d3dfcd;
  text-align: center;
  font-weight: 500;
}

.navbox-bottom {
  background: #f7faf6;
  padding: 0.25rem 0.5rem;
}

.navbox-title a {
  color: inherit;
  text-decoration: none;
}

.navbox-title a:hover {
  text-decoration: underline;
}

/* group (left column) */
.navbox-group {
  background: #e4eddd;
  color: #243824;
  font-weight: 600;
  padding: 0.25rem 0.45rem;
  width: 22%;
  vertical-align: top;
  border-top: 1px solid #d3dfcd;
  text-align: left;
  white-space: nowrap;
}

/* list (right column) */
.navbox-list {
  background: #f7faf6;
  padding: 0.2rem 0.5rem;
  border-top: 1px solid #d3dfcd;
  text-align: left;
  line-height: 1.25;             /* tighter line spacing */
}

/* optional bottom note row */
.navbox-below {
  background: #f7faf6;
  padding: 0.25rem 0.5rem;
}

/* links */
.navbox a {
  text-decoration: none;
}

.navbox a:hover {
  text-decoration: underline;
}