summaryrefslogtreecommitdiff
path: root/data/stylesheets/coderay-asciidoctor.css
AgeCommit message (Collapse)Author
2022-06-22recompile stylesheets using new browserslist defaultDan Allen
2021-08-13resolves #4128 prevent line numbers on source block in HTML output from ↵Dan Allen
being selected (PR #4132) - set user-select to none on enclosing line numbers element for CodeRay, Rouge, and Pygments
2021-08-12use stylesheet build to manage CodeRay stylesheetDan Allen
2019-01-26resolves #2106 make syntax highlighter pluggable (PR #3016)Dan Allen
- define the Asciidoctor::SyntaxHighlighter module to handle all aspects of syntax highlighting - define built-in SyntaxHighlighter adapters for coderay, pygments, highlight.js, html-pipeline, and prettify - move all embedded syntax highlighting logic into SyntaxHighlighter adapters - allow SyntaxHighlighter adapter class to self register with a source highlighter name using register_for - load SyntaxHighlighter adapters lazily (except for highlight.js and html-pipeline) - add :syntax_highlighters and :syntax_highlighter_factory options to API to allow syntax highlighter resolution to be customized - instantiate SyntaxHighlighter adapter once header is finalized if source-highlighter attribute is set on document and basebackend is html - provide SyntaxHighlighter factory modules for registering syntax highlighter adapters (default, custom, and default proxy) - allow SyntaxHighlighter adapters to contribute docinfo at :head and :footer slots in HTML output document - move retrieval and writing of stylesheets for syntax highlighters to SyntaxHighlighter adapters - wire methods in Stylesheets class that pertain to syntax highlighting to SyntaxHighlighter adapters - remove hard-coded styles in Pygments output - update default stylesheets to support Pygments styles and drop CSS workarounds - don't fail if value of pygments-style attribute is not recognized; instead fallback to default style - don't remove nested pre tags in HTML produced by Pygments when linenums are enabled - update default stylesheet to avoid styling nested pre tags - rename pygments table class to pygments-table - change pygments base CSS selector from .listingblock .pygments to pre.pygments - allow color for generic text, line numbers, and line number border to inherit from Pygments style - align stylesheet for default CodeRay style with other syntax highlighters - set default background color for prettify using a selector with the lowest precedence - update and add tests - add tests for the Pygments integration - add pygments.rb dependency and enable Pygments integration tests if the environment variable PYGMENTS=true is set - move syntax highlighter tests to dedicated test file
2015-07-20resolves #1429 allow text of selected lines to be highlighted in source blockDan Allen
- use highlight attribute on source block to specify lines to be highlighted - add method to resolve the highlight lines spec - disable bold_every option in CodeRay - darken bolded line numbers in default CodeRay theme
2015-07-19set line height of table cells used for syntax highlightingDan Allen
2015-07-19fix invalid color value in default CodeRay themeDan Allen
2014-08-10update default stylesheetsDan Allen
- clean up abstract block styles - darken lead paragraph color - increase line-height on block title, decrease margin - update & shrink CodeRay styles - drop generic font-family names - style quote blocks like quote blocks - style verse blocks like verse blocks - lighten table header background color - make toc title responsive - properly align floating section anchor - add background color on listing blocks when not added by highlighter theme - reduce size, reposition of floating language text in listingblock - increase size of conum - tweak letter and word spacings - don't use color on qanda question text - add background color to exampleblock - darken listingblock color in sidebarblock - fix appearance of listingblock in print styles
2014-08-07shrink CSS & minor style tweaksDan Allen
- shrink CSS - change line-height of headers to 1.2 - adjust width of floating section anchors - set z-index on floating section anchors to overlay sidebar toc - style abstract - use ems for callout bullet size
2014-08-07update styles for preformatted text & syntax highlightingDan Allen
- change default Pygments style to "default" - change default highlight.js style to "github" - upgrade to highlight.js 8.1
2014-07-10resolves #879 switch to Open Source fonts in default stylesheetDan Allen
- Open Sans (Light) for section and block titles - Noto Serif for body text - Droid Sans Mono for code and literal text - fallback to DejaVu fonts if fonts aren't loaded - control loading of fonts using webfonts attribute - align colors to color palette - remove background color and border on inline monospaced text - use style class for admonition icons that won't conflict with FontAwesome - remove several unused style declarations - add background color to toc sidebar - fix margins in sidebar toc - don't underline links in TOC - fix padding in labeled list terms - fix spacings in blockquote - add program language label for "Go" - fix padding around listing block content
2014-02-26resolves #778, rewrite converter API; resolves #638, integrate thread_safe gemDan Allen
- rewrite converter API - separate built-in converters from template converter - rename renderer/render to converter/convert - make converter an extension point (resolves #778) - base built-in converters on the converter API - rename template_name property to node_name on AbstractNode - make block_ prefix on file name of block-level templates optional - use thread_safe gem for template and converter caches (resolves #638) - introduce Stylesheets API to manage stylesheets - move file write logic to Document - delegate file write logic to converter that implements Writer - remove compact logic, deprecate related options - duplicate options and attributes passed to APIs, add tests - assign doctype / backend attributes correctly when document is loaded, add tests - report proper error if nil is passed to load_file and convert_file - use span tag to group kbd combination in html5 backend - setup toc in preamble if toc attribute is preamble - Opal compatibility fixes, use built-in HTML5 converter - make the outline method accessible to all html converters - document the converter APIs along with some minor cleanups in terminology - load stylesheets from data directory - rename ruler block to thematic_break - add inline? and block? query methods to AbstractNode - use Timings class to measure and report timings from processor steps - fix cucumber tests - upgrade tilt dependency to 2.0.0 - minor optimizations