Template:Callout/styles.css: Difference between revisions

From Bose Portable PA Knowledge
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 9: Line 9:
.callout-header {
.callout-header {
   display: flex;
   display: flex;
  align-items: center;
/*  align-items: center; */
   gap: 0.35em;
   gap: 0.25em;
   margin-bottom: 0.4em;
   margin-bottom: 0.25em;
}
}


Line 20: Line 20:
.callout-label {
.callout-label {
   font-weight: bold;
   font-weight: bold;
   font-size: 1.1em;
   font-size: 1.2em;
}
}


Line 29: Line 29:


.callout-body {
.callout-body {
   margin-left: 1.6em;
   margin-left: 0.25em;
   line-height: 1.5;
   line-height: 1.5;
}
}

Revision as of 16:53, 5 April 2026

.callout {
  border-left: 3px solid #999;
  padding: 0.25em 0.25em;
  margin: 0.25em 0; /* reduced whitespace */
  background: #fafafa; /* consistent background */
  border-radius: 4px;
}

.callout-header {
  display: flex;
/*  align-items: center; */
  gap: 0.25em;
  margin-bottom: 0.25em;
}

.callout-icon {
  font-size: 1.2em;
}

.callout-label {
  font-weight: bold;
  font-size: 1.2em;
}

.callout-title {
  font-weight: normal;
  opacity: 0.8;
}

.callout-body {
  margin-left: 0.25em;
  line-height: 1.5;
}

/* Type-specific accents */
.callout-tip { border-left-color: #4a90e2; }
.callout-warning { border-left-color: #d9534f; }
.callout-protip { border-left-color: #5cb85c; }
.callout-note { border-left-color: #999; }

/* Mobile */
@media (max-width: 600px) {
  .callout {
    padding: 0.75em;
  }
  .callout-body {
    margin-left: 1.2em;
  }
}