1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-24 07:30:12 +01:00

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;
}
// 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;
}