diff --git a/src/assets/stylesheets/base/_typeset.scss b/src/assets/stylesheets/base/_typeset.scss index 87107398f..9d72c2613 100644 --- a/src/assets/stylesheets/base/_typeset.scss +++ b/src/assets/stylesheets/base/_typeset.scss @@ -206,6 +206,16 @@ kbd { box-shadow: none; } + // Reset code if it's inside a link + a > code { + margin: inherit; + padding: inherit; + border-radius: none; + background: inherit; + color: inherit; + box-shadow: none; + } + // Unformatted code blocks pre { margin: 1.0em 0; @@ -347,6 +357,7 @@ kbd { // Data tables table { + width: 90%; margin: 1.5em 0; font-size: ms(-1); overflow: hidden; @@ -377,6 +388,16 @@ kbd { vertical-align: top; } + th[align="right"], + td[align="right"] { + text-align: right; + } + + th[align="center"], + td[align="center"] { + text-align: center; + } + tr:first-child td { border-top: 0; }