-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
blockquote.css
33 lines (29 loc) · 1.03 KB
/
blockquote.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* BLOCKQUOTE */
/* Put decorational quotation marks around blockquote elements. */
blockquote {
font-style: italic; /* Quotations are usually typeset in italics. */
position: relative; /* So that position: absolute is relative to this. */
}
blockquote:before /*, blockquote:after */ {
position: absolute; /* Don't interfere with regular layout. */
color: #dbdbdb; /* Just decorational, so don't stand out too much. */
font-size: 5em;
}
blockquote:before {
content: "“";
left: -.6em;
top: .25em;
}
/* Optional: place a mark after the quote, too. I personally don't like it as
* often times the last line won't end at the line, and there just seems to be a
* "dangling" quotation mark there.
*
* Note: add blockquote:after to the first selector above too.
*/
/*
blockquote:after {
content: "„"; /* Use the German-style opening quote as it's easier to align, and it should look the same. *
right: -.6em;
bottom: .25em;
}
*/