-
Notifications
You must be signed in to change notification settings - Fork 3
/
fancy-blockquote.css
55 lines (47 loc) · 1 KB
/
fancy-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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Block quote
```css
/* for editor */
.cm-quote {
color: var(--text-normal) !important;
}
/* for preview */
.markdown-preview-view blockquote {
border: 2px solid;
border-color: #8272d0 !important;
border-left-width: 2px !important;
border-radius: 8px 8px 8px 8px;
font-size: 15px;
line-height: 1.5em;
margin: 10px 10px;
padding-top: 10px;
padding-bottom: 10px;
}
.markdown-preview-view blockquote {
position: relative;
}
.markdown-preview-view blockquote:after {
content: '\201C';
position: absolute;
top: 0.30em;
left: -0.45em;
font-size: 6em;
color: #d9d4f0;
}
/* if paraphrasing, wrap your quote in <blockquote class=paraphrase>text</blockquote> */
.markdown-preview-view blockquote.paraphrase:after {
display: none;
}
/* for citations */
cite {
background-color: #8272d0;
color: white;
margin-left: -10px;
margin-right: -10px;
padding-left: 10px;
padding-right: 10px;
text-align: right;
display: block;
}
cite a:link {
color: white;
}