Skip to content

Commit

Permalink
Add table style
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Aug 28, 2016
1 parent e91b8f1 commit 8f121ff
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
24 changes: 21 additions & 3 deletions docs/assets/scss/_style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ html .toc-menu {
color: $primary-text-color;
}

.toc-menu:before {
/* TODO: Remove after docpress new release! */
display: none;
}

/*
* Update look of 'code' elements
*/
Expand Down Expand Up @@ -368,11 +373,24 @@ html .markdown-body .file-heading:before {
}

/*
* No headers on tables
* Table look and feel
*/

table.no-head thead {
display: none;
html .markdown-body table {
display: table;
width: 100%;
color: $code-color;
margin: 1.75rem 0;
}

html .markdown-body table tr,
html .markdown-body table td {
background-color: $background-color;
}

html .markdown-body table td,
html .markdown-body table th {
border-color: $gray-darkest;
}

/**
Expand Down
1 change: 0 additions & 1 deletion docs/assets/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,4 @@ $special-text-color : $pink;
$code-color : $gray;
$code-inline-color : $link-color;


$background-color: $black;

0 comments on commit 8f121ff

Please sign in to comment.