Correct table styles, fix inline code link style

This commit is contained in:
Brendan Abbott 2016-12-03 15:17:42 +10:00
parent e1a24279a7
commit 9eae3956b7

View File

@ -206,6 +206,16 @@ kbd {
box-shadow: none; 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 // Unformatted code blocks
pre { pre {
margin: 1.0em 0; margin: 1.0em 0;
@ -347,6 +357,7 @@ kbd {
// Data tables // Data tables
table { table {
width: 90%;
margin: 1.5em 0; margin: 1.5em 0;
font-size: ms(-1); font-size: ms(-1);
overflow: hidden; overflow: hidden;
@ -377,6 +388,16 @@ kbd {
vertical-align: top; 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 { tr:first-child td {
border-top: 0; border-top: 0;
} }