Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
55 lines (47 sloc)
1 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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; | |
| } |