Skip to content

Commit

Permalink
feat: add general styling for tables
Browse files Browse the repository at this point in the history
* feat: add _table.scss to scss vendor folder

---------

Co-authored-by: Alexander Bilz <[email protected]>
  • Loading branch information
JohnMThompson and lxndrblz authored Jul 24, 2024
1 parent 8bc1efb commit 4eee0da
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
1 change: 1 addition & 0 deletions assets/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@
@import './partials/vendors/mediumzoom';
@import './partials/vendors/contactform';
@import './partials/vendors/tableofcontents';
@import './partials/vendors/table';
17 changes: 17 additions & 0 deletions assets/scss/partials/vendors/_table.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
table {
display: table;
width: 80%;
border-collapse: collapse;
}

tr {
display: table-row;
}

th, td {
display: table-cell;
padding: 8px;
@include themed(){
border: t('border');
}
}

This file was deleted.

This file was deleted.

0 comments on commit 4eee0da

Please sign in to comment.