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

Template:QuickSummary/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
Tag: Reverted
Line 69: Line 69:
   content:"◆ ";
   content:"◆ ";
   color:currentColor;
   color:currentColor;
}
/* Adjust headings for mobile so they don’t clip */
@media screen and (max-width: 768px) {
  .luna-heading {
    font-size: 24px;      /* smaller so it fits */
    line-height: 1.3;      /* extra space between lines */
    padding-right: 4px;    /* buffer against clipping */
    padding-left: 4px;
    word-break: break-word; /* force wrap if too long */
    text-shadow: 0 0 4px #000; /* lighter shadow for clarity */
  }
  .luna-heading::after {
    bottom: -6px;          /* raise underline closer */
    height: 1.5px;        /* thinner line for mobile */
  }
}
}

Revision as of 12:58, 24 September 2025

/* === SECTION HEADINGS === */
.luna-heading {
  font-family:'AngerStyles', serif;
  font-size:32px;
  line-height:1.2;
  text-align:left;
  margin:40px 0 8px;
  position:relative;
  text-shadow:0 0 10px #000;
}

/* Color Variants */
.luna-heading.gold    { color:#ffd666; }
.luna-heading.crimson { color:#cc4444; }
.luna-heading.purple  { color:#b266ff; }
.luna-heading.cyan    { color:#33ccee; }
.luna-heading.green   { color:#66cc66; }
.luna-heading.orange  { color:#ff9933; }

/* Glowing underline (inherits currentColor) */
.luna-heading::after {
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:100%;
  height:2px;
  background:linear-gradient(
    90deg,
    rgba(0,0,0,0) 0%,
    currentColor 20%,
    #ffffffaa 50%,
    currentColor 80%,
    rgba(0,0,0,0) 100%
  );
  box-shadow:0 0 8px currentColor;
}

/* === SECTION BODY === */
.luna-section {
  margin:16px 0 32px;
  padding:18px 24px;
  border-left:3px solid currentColor;
  border-radius:6px;
  background:rgba(20,20,20,0.7);
  line-height:1.55;
  box-shadow:0 0 12px #000 inset;
}

/* Background accents per color */
.luna-section.gold    { border-color:#ffd666; background:rgba(35,30,10,0.25); }
.luna-section.crimson { border-color:#cc4444; background:rgba(35,20,20,0.25); }
.luna-section.purple  { border-color:#b266ff; background:rgba(30,20,40,0.25); }
.luna-section.cyan    { border-color:#33ccee; background:rgba(15,30,35,0.25); }
.luna-section.green   { border-color:#66cc66; background:rgba(20,35,20,0.25); }
.luna-section.orange  { border-color:#ff9933; background:rgba(40,25,10,0.25); }

/* === LISTS === */
.luna-section ul {
  margin:8px 0 8px 20px;
}
.luna-section li {
  margin:4px 0;
  padding-left:4px;
}

/* === DIAMOND BULLETS === */
.luna-section li::marker {
  content:"◆ ";
  color:currentColor;
}
/* Adjust headings for mobile so they don’t clip */
@media screen and (max-width: 768px) {
  .luna-heading {
    font-size: 24px;       /* smaller so it fits */
    line-height: 1.3;      /* extra space between lines */
    padding-right: 4px;    /* buffer against clipping */
    padding-left: 4px;
    word-break: break-word; /* force wrap if too long */
    text-shadow: 0 0 4px #000; /* lighter shadow for clarity */
  }

  .luna-heading::after {
    bottom: -6px;          /* raise underline closer */
    height: 1.5px;         /* thinner line for mobile */
  }
}