Template:Callout/styles.css: Difference between revisions
mNo edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
.callout { | .callout { | ||
border-left: 3px solid #999; | border-left: 3px solid #999; | ||
padding: 0. | padding: 0.1em 0.1em; | ||
margin: 0.25em 0; /* reduced whitespace */ | margin: 0.25em 0; /* reduced whitespace */ | ||
margin: 0.1em 0 0.1em 0; | |||
background: #fafafa; /* consistent background */ | background: #fafafa; /* consistent background */ | ||
background:none; | |||
border-radius: 4px; | border-radius: 4px; | ||
} | } | ||
| Line 15: | Line 17: | ||
.callout-icon { | .callout-icon { | ||
font-size: 1. | font-size: 1.05em; | ||
} | } | ||
| Line 30: | Line 32: | ||
.callout-body { | .callout-body { | ||
margin-left: 0.25em; | margin-left: 0.25em; | ||
line-height: 1. | line-height: 1.5; | ||
} | } | ||
| Line 40: | Line 42: | ||
/* Mobile */ | /* Mobile */ | ||
@media (max-width: 600px) { | @media (max-width: 600px) { | ||
.callout { | .callout { | ||
padding: 0. | padding: 0.35em 0.6em; | ||
} | } | ||
.callout-body { | .callout-body { | ||
margin-left: | margin-left: 1em; | ||
} | } | ||
} | } | ||