Template:Quotebox/styles.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* Gail Wiki Quotebox (TemplateStyles safe) */ | /* Gail Wiki Quotebox (TemplateStyles safe) */ | ||
.gw-quotebox{background:#fff5fa;color:#333333;border:1px solid #bfa3b1;border-left:8px solid #b0005a;padding:1rem 1.25rem;margin:1em auto;box-shadow:0 1px 2px rgba(0,0,0,.06);border-radius:.75rem;line-height:1.5} | .gw-quotebox { | ||
.gw-quote-text{font-size:1.05rem;white-space:pre-line} | background: #fff5fa; | ||
.gw-quote-meta{margin-top:.5rem;font-size:.95rem;color:#5a4d55} | color: #333333; | ||
.gw-quote-author{font-weight:600;color:#b0005a} | border: 1px solid #bfa3b1; | ||
.gw-quote-source{opacity:.85} | border-left: 8px solid #b0005a; | ||
.gw-align-left{margin-left:0;margin-right:auto} | padding: 1rem 1.25rem; | ||
.gw-align-center{margin-left:auto;margin-right:auto} | margin: 1em auto; | ||
.gw-align-right{margin-left:auto;margin-right:0} | box-shadow: 0 1px 2px rgba(0,0,0,.06); | ||
.gw-variant-lavender{background:#eee8f2;border-color:#bfa3b1;border-left-color:#7a3ba0} | border-radius: .75rem; | ||
.gw-variant-lavender .gw-quote-author{color:#7a3ba0} | line-height: 1.5; | ||
.gw-variant-cream{background:#fff8f0;border-color:#d8c2b8;border-left-color:#9b5094} | } | ||
.gw-variant-cream .gw-quote-author{color:#9b5094} | |||
/* | .gw-quote-text { | ||
.gw-quote-text pre{background:transparent;border:0;padding:0;margin:0;white-space:pre-wrap} | font-size: 1.05rem; | ||
.gw-quote-text blockquote{background:transparent;border:0;margin:. | white-space: pre-line; /* keep user line breaks without <pre> grey box */ | ||
} | |||
.gw-quote-meta { | |||
margin-top: .5rem; | |||
font-size: .95rem; | |||
color: #5a4d55; | |||
} | |||
.gw-quote-author { font-weight: 600; color: #b0005a; } | |||
.gw-quote-source { opacity: .85; } | |||
/* alignment helpers */ | |||
.gw-align-left { margin-left: 0; margin-right: auto; } | |||
.gw-align-center { margin-left: auto; margin-right: auto; } | |||
.gw-align-right { margin-left: auto; margin-right: 0; } | |||
/* color variants */ | |||
.gw-variant-lavender { | |||
background: #eee8f2; | |||
border-color: #bfa3b1; | |||
border-left-color: #7a3ba0; | |||
} | |||
.gw-variant-lavender .gw-quote-author { color: #7a3ba0; } | |||
.gw-variant-cream { | |||
background: #fff8f0; | |||
border-color: #d8c2b8; | |||
border-left-color: #9b5094; | |||
} | |||
.gw-variant-cream .gw-quote-author { color: #9b5094; } | |||
/* normalize and style blockquotes inside quotes */ | |||
.gw-quote-text pre { | |||
background: transparent; | |||
border: 0; | |||
padding: 0; | |||
margin: 0; | |||
white-space: pre-wrap; | |||
} | |||
.gw-quote-text blockquote { | |||
background: transparent; | |||
margin: .6rem 0; | |||
padding: 0 0 0 .8rem; | |||
font-size: .95rem; | |||
font-style: italic; | |||
color: #3d3340; | |||
border: 0; | |||
border-left: 3px solid #bfa3b1; | |||
} | |||
.gw-quote-text blockquote p { margin: .4rem 0; } |
Revision as of 02:04, 25 August 2025
/* Gail Wiki Quotebox (TemplateStyles safe) */
.gw-quotebox {
background: #fff5fa;
color: #333333;
border: 1px solid #bfa3b1;
border-left: 8px solid #b0005a;
padding: 1rem 1.25rem;
margin: 1em auto;
box-shadow: 0 1px 2px rgba(0,0,0,.06);
border-radius: .75rem;
line-height: 1.5;
}
.gw-quote-text {
font-size: 1.05rem;
white-space: pre-line; /* keep user line breaks without <pre> grey box */
}
.gw-quote-meta {
margin-top: .5rem;
font-size: .95rem;
color: #5a4d55;
}
.gw-quote-author { font-weight: 600; color: #b0005a; }
.gw-quote-source { opacity: .85; }
/* alignment helpers */
.gw-align-left { margin-left: 0; margin-right: auto; }
.gw-align-center { margin-left: auto; margin-right: auto; }
.gw-align-right { margin-left: auto; margin-right: 0; }
/* color variants */
.gw-variant-lavender {
background: #eee8f2;
border-color: #bfa3b1;
border-left-color: #7a3ba0;
}
.gw-variant-lavender .gw-quote-author { color: #7a3ba0; }
.gw-variant-cream {
background: #fff8f0;
border-color: #d8c2b8;
border-left-color: #9b5094;
}
.gw-variant-cream .gw-quote-author { color: #9b5094; }
/* normalize and style blockquotes inside quotes */
.gw-quote-text pre {
background: transparent;
border: 0;
padding: 0;
margin: 0;
white-space: pre-wrap;
}
.gw-quote-text blockquote {
background: transparent;
margin: .6rem 0;
padding: 0 0 0 .8rem;
font-size: .95rem;
font-style: italic;
color: #3d3340;
border: 0;
border-left: 3px solid #bfa3b1;
}
.gw-quote-text blockquote p { margin: .4rem 0; }