MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(Created page with "→CSS placed here will be applied to all skins: blockquote { background: #f9f9f9; border-left: 10px solid #ccc; margin: 1.5em 10px; padding: 0.5em 10px; quotes: "\201C""\201D""\2018""\2019"; } blockquote:before { color: #ccc; content: open-quote; font-size: 4em; line-height: 0.1em; margin-right: 0.25em; vertical-align: -0.4em; } blockquote p { display: inline; }") |
No edit summary |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
blockquote { | |||
position: relative; | |||
/* background: #ddd; */ | |||
} | |||
blockquote:before { | |||
position: absolute; | |||
content: open-quote; | |||
font-size: 4em; | |||
margin-left: -0.6em; | |||
margin-top: -0.4em; | |||
} | |||
blockquote:after { | |||
position: absolute; | |||
content: close-quote; | |||
font-size: 4em; | |||
bottom: 0; | |||
right: 0; | |||
margin-right: -0.6em; | |||
margin-bottom: -0.8em; | |||
} | |||
blockquote p { | |||
display: inline; | |||
} | |||
/* | |||
blockquote { | blockquote { | ||
background: #f9f9f9; | background: #f9f9f9; | ||
Line 19: | Line 46: | ||
display: inline; | display: inline; | ||
} | } | ||
*/ |
Revision as of 17:23, 30 November 2023
/* CSS placed here will be applied to all skins */ blockquote { position: relative; /* background: #ddd; */ } blockquote:before { position: absolute; content: open-quote; font-size: 4em; margin-left: -0.6em; margin-top: -0.4em; } blockquote:after { position: absolute; content: close-quote; font-size: 4em; bottom: 0; right: 0; margin-right: -0.6em; margin-bottom: -0.8em; } blockquote p { display: inline; } /* blockquote { background: #f9f9f9; border-left: 10px solid #ccc; margin: 1.5em 10px; padding: 0.5em 10px; quotes: "\201C""\201D""\2018""\2019"; } blockquote:before { color: #ccc; content: open-quote; font-size: 4em; line-height: 0.1em; margin-right: 0.25em; vertical-align: -0.4em; } blockquote p { display: inline; } */