mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-22 01:57:08 +00:00
Create table class
This commit is contained in:
parent
c794ee3174
commit
dddcfdba62
1 changed files with 35 additions and 1 deletions
|
@ -382,7 +382,6 @@ span + .entry-title {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Table of Contents
|
// Table of Contents
|
||||||
// table of contents
|
|
||||||
#markdown-toc {
|
#markdown-toc {
|
||||||
font-family: $alt-font;
|
font-family: $alt-font;
|
||||||
margin-top: $gutter;
|
margin-top: $gutter;
|
||||||
|
@ -416,6 +415,41 @@ span + .entry-title {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Tables
|
||||||
|
.table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
margin: ((0px + $doc-line-height) / 2) 0;
|
||||||
|
margin: ((0rem + ($doc-line-height / $doc-font-size)) / 2) 0;
|
||||||
|
width: 100%;
|
||||||
|
tbody {
|
||||||
|
tr:hover > td, tr:hover > th {
|
||||||
|
background-color: $table-hover-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
thead {
|
||||||
|
tr:first-child td {
|
||||||
|
border-bottom: 2px solid $table-border-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
th {
|
||||||
|
padding: (0px + $doc-line-height) / 2;
|
||||||
|
padding: (0rem + ($doc-line-height / $doc-font-size)) / 2;
|
||||||
|
font-family: $alt-font;
|
||||||
|
font-weight: bold;
|
||||||
|
text-align: left;
|
||||||
|
background-color: $table-header-color;
|
||||||
|
border-bottom: 1px solid darken($border-color, 15%);
|
||||||
|
}
|
||||||
|
td {
|
||||||
|
border-bottom: 1px solid $border-color;
|
||||||
|
padding: (0px + $doc-line-height) / 2;
|
||||||
|
padding: (0rem + ($doc-line-height / $doc-font-size)) / 2;
|
||||||
|
@include font-size(18);
|
||||||
|
}
|
||||||
|
tr, td, th {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Footer
|
// Footer
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue