mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
Tables (#13)
* Add styling for tables By default tables have no lines and no separation between cells which can lead to confusion.
This commit is contained in:
committed by
Luiz F. A. de Prá
parent
454ea0146d
commit
0aab556131
@@ -119,6 +119,31 @@ blockquote {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
th, td {
|
||||
padding: 1.6rem;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table td, table th {
|
||||
border: 2px solid @darker-fg-color;
|
||||
}
|
||||
table tr:first-child th {
|
||||
border-top: 0;
|
||||
}
|
||||
table tr:last-child td {
|
||||
border-bottom: 0;
|
||||
}
|
||||
table tr td:first-child,
|
||||
table tr th:first-child {
|
||||
border-left: 0;
|
||||
}
|
||||
table tr td:last-child,
|
||||
table tr th:last-child {
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user