mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-28 01:10:58 +01:00
Correct table styles, fix inline code link style
This commit is contained in:
parent
e1a24279a7
commit
9eae3956b7
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user