diff options
Diffstat (limited to 'aux/workflow/style.css')
-rw-r--r-- | aux/workflow/style.css | 46 |
1 files changed, 31 insertions, 15 deletions
diff --git a/aux/workflow/style.css b/aux/workflow/style.css index 56e4712..99980aa 100644 --- a/aux/workflow/style.css +++ b/aux/workflow/style.css @@ -1,19 +1,4 @@ <style> - @media(prefers-color-scheme: dark) { - :root { - color: white; - background-color: black; - } - - a { - color: hsl(211, 100%, 60%); - } - - a:visited { - color: hsl(242, 100%, 80%); - } - } - body { max-width: 800px; margin: 0 auto 0 auto; @@ -25,6 +10,7 @@ .header-anchor { opacity: 0.5; + display: inline-block; } .tag { @@ -59,4 +45,34 @@ .CANCELLED, .DONE, .WONTFIX { color: green; } + + pre, code { + background-color: #ddd; + border-radius: 5px; + padding: 5px; + } + + pre > code { + overflow: auto; + white-space: pre; + } + + @media(prefers-color-scheme: dark) { + :root { + color: white; + background-color: black; + } + + a { + color: hsl(211, 100%, 60%); + } + + a:visited { + color: hsl(242, 100%, 80%); + } + + pre, code { + background-color: #222; + } + } </style> |