diff options
| author | Shulhan <ms@kilabit.info> | 2026-01-23 03:46:09 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-01-23 03:46:09 +0700 |
| commit | 170d3e23e2b288c026bc4c8263093bef4138f046 (patch) | |
| tree | 179916a15faa134574a5ad17d35e9520bb780045 /default.css | |
| parent | 7346cea5b876c99877d156f7d8428442507a5e98 (diff) | |
| download | asciidoctor-go-170d3e23e2b288c026bc4c8263093bef4138f046.tar.xz | |
all: update default CSS to asciidoctor v2.0.26
Diffstat (limited to 'default.css')
| -rw-r--r-- | default.css | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/default.css b/default.css index 2b73753..ae45f9c 100644 --- a/default.css +++ b/default.css @@ -2,7 +2,11 @@ /* SPDX-License-Identifier: MIT */ /* SPDX-SnippetCopyrightText: Copyright 2012-present Dan Allen, Sarah White, Ryan Waldron, and the individual contributors to Asciidoctor. */ +/* Source: https://raw.githubusercontent.com/asciidoctor/asciidoctor/refs/tags/v2.0.26/src/stylesheets/asciidoctor.css */ + /*! Asciidoctor default stylesheet | MIT License | https://asciidoctor.org */ +/* Uncomment the following line when using as a custom stylesheet */ +/* @import "https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700"; */ html { font-family: sans-serif; -webkit-text-size-adjust: 100%; @@ -196,8 +200,6 @@ body { line-height: 1; position: relative; cursor: auto; - -moz-tab-size: 4; - -o-tab-size: 4; tab-size: 4; word-wrap: anywhere; -moz-osx-font-smoothing: grayscale; @@ -651,10 +653,6 @@ pre pre { line-height: inherit; } -pre > code { - display: block; -} - pre.nowrap, pre.nowrap pre { white-space: pre; @@ -684,7 +682,7 @@ kbd { border-radius: 3px; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), - inset 0 0 0 0.1em #fff; + 0 0 0 0.1em #fff inset; margin: 0 0.15em; padding: 0.2em 0.5em; vertical-align: middle; @@ -1013,7 +1011,7 @@ p a > code:hover { } #footer-text { - color: hsla(0, 0%, 100%, 0.8); + color: rgba(255, 255, 255, 0.8); line-height: 1.44; } @@ -1149,7 +1147,7 @@ details > summary::-webkit-details-marker { details > summary::before { content: ""; border: solid transparent; - border-left: solid; + border-left-color: currentColor; border-width: 0.3em 0 0.3em 0.5em; position: absolute; top: 0.5em; @@ -1159,7 +1157,7 @@ details > summary::before { details[open] > summary::before { border: solid transparent; - border-top: solid; + border-top-color: currentColor; border-width: 0.5em 0.3em 0; transform: translateY(15%); } @@ -1322,6 +1320,10 @@ table.tableblock.fit-content > caption.title { position: relative; } +.listingblock pre > code { + display: block; +} + .listingblock code[data-lang]::before { display: none; content: attr(data-lang); @@ -1410,9 +1412,6 @@ pre.pygments .linenos { border-right: 1px solid; opacity: 0.35; padding-right: 0.5em; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; user-select: none; } |
