Tweak the code block style again - simpler and more robust CSS

This commit is contained in:
Danielle McLean 2017-12-19 14:52:45 +11:00
parent 17f3779596
commit 778bd7d872
Signed by untrusted user: 00dani
GPG key ID: 5A5D2D1AFF12EEC5

View file

@ -14,16 +14,13 @@ a
code, kbd, pre, samp, .code, .kbd, .pre, .samp code, kbd, pre, samp, .code, .kbd, .pre, .samp
font-family SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace font-family SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace
code, .code code, pre, .code, .pre
padding .2rem .4rem padding .2rem .4rem
font-size 90% font-size 90%
color $base0A color $base0A
background-color $base00 background-color $base00
border-radius .25rem border-radius .25rem
pre code
@extends code
.form-control, .form-control:focus .form-control, .form-control:focus
background-color $base01 background-color $base01
border-color $base00 border-color $base00