Cite, Long Quote, Quote
Style cite elements, long quote elements, and quote elements.
Overview
Resource location: | @import url("https://jorsek.github.io/pdfgen.github.io/styles1.1/modules/dita/cite_long_quote_quote.css"); |
Common Customizations
You can apply customizations by pasting the following code snippets under the @import
rules.
- Encapsulate cite elements in inverted commas
-
/* Encapsulate cites in inverted commas. */ .cite::before { content:'"'; } .cite::after { content:'"'; }
- Make cite elements italic
-
/* Make cite elements italic. */ .cite { font-style: italic; }
- Justify text in long quote elements
-
/* Justify text in lq elements. */ .lq, .lq * { text-align: justify; }
- Increase margins
-
/* Increase margins. */ .lq { margin-left: 15px; margin-right: 15px; padding-left: 15px; padding-right: 15px; }