Added css style for table
This commit is contained in:
parent
ff5aab479e
commit
24f861280d
|
@ -72,6 +72,34 @@ nav ul li {
|
|||
display: inline;
|
||||
}
|
||||
|
||||
table {
|
||||
font-family: DOS;
|
||||
border-style: dashed;
|
||||
border-width: 1px;
|
||||
border-collapse: collapse;
|
||||
border-color: $table-border-color;
|
||||
background-color: $table-background-color;
|
||||
margin: 2em;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
thead {
|
||||
background-color: $table-header-background-color;
|
||||
}
|
||||
|
||||
tbody tr:nth-child(even) {
|
||||
background-color: $table-row-even-background-color;
|
||||
}
|
||||
|
||||
tbody tr:nth-child(odd) {
|
||||
background-color: $table-row-odd-background-color;
|
||||
}
|
||||
|
||||
.boxed {
|
||||
border-bottom: 1px dashed $border-color;
|
||||
max-width: 1024px;
|
||||
|
|
|
@ -10,6 +10,11 @@ $anchor-active-color: {{ .Site.Params.style.anchorActiveColor | default "#bbd1ea
|
|||
$anchor-hover-color: {{ .Site.Params.style.anchorHoverColor | default "#bbd1ea" }};
|
||||
$pre-text-color: {{ .Site.Params.style.preTextColor | default "#f8f8f2" }};
|
||||
$pre-background-color: {{ .Site.Params.style.preBackgroundColor | default "#272822" }};
|
||||
$table-background-color: {{ .Site.Params.style.tableBackgroundColor | default "#000000" }};
|
||||
$table-border-color: {{ .Site.Params.style.tableBackgroundColor | default "#dae3e5" }};
|
||||
$table-header-background-color: {{ .Site.Params.style.tableHeaderBackgroudColor | default "#000000" }};
|
||||
$table-row-even-background-color: {{ .Site.Params.style.tableRowEvenBackgroundColor | default "#282227" }};
|
||||
$table-row-odd-background-color: {{ .Site.Params.style.tableRowOddBackgroundColor | default "#272822" }};
|
||||
|
||||
@charset "UTF-8";
|
||||
@font-face {
|
||||
|
|
Loading…
Reference in New Issue