-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
167 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<link rel="icon" type="image/x-icon" href="/favicon.ico"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
layout: table_wrappers | ||
--- | ||
|
||
<!DOCTYPE html> | ||
|
||
<html lang="{{ site.lang | default: 'en-US' }}"> | ||
{% include head.html %} | ||
<body> | ||
<a class="skip-to-main" href="#main-content">Skip to main content</a> | ||
{% include icons/icons.html %} | ||
{% include components/sidebar.html %} | ||
<div class="main" id="top"> | ||
{% include components/header.html %} | ||
<div class="main-content-wrap"> | ||
{% include components/breadcrumbs.html %} | ||
<div id="main-content" class="main-content"> | ||
<main> | ||
{% if site.heading_anchors != false %} | ||
{% include vendor/anchor_headings.html html=content beforeHeading="true" anchorBody="<svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><use xlink:href=\"#svg-link\"></use></svg>" anchorClass="anchor-heading" anchorAttrs="aria-labelledby=\"%html_id%\"" %} | ||
{% else %} | ||
{{ content }} | ||
{% endif %} | ||
|
||
{% if page.has_children == true and page.has_toc != false %} | ||
{% include components/children_nav.html %} | ||
{% endif %} | ||
</main> | ||
{% include components/footer.html %} | ||
</div> | ||
</div> | ||
{% if site.search_enabled != false %} | ||
{% include components/search_footer.html %} | ||
{% endif %} | ||
</div> | ||
|
||
{% if site.mermaid %} | ||
{% include components/mermaid.html %} | ||
{% endif %} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
layout: vendor/compress | ||
--- | ||
|
||
{% assign content_ = content | replace: '<table', '<div class="table-wrapper2"><table' %} | ||
{% assign content_ = content_ | replace: '</table>', '</table></div>' %} | ||
{{ content_ }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
.main-header { | ||
height: 75px; | ||
font-family:monospace; | ||
} | ||
|
||
.site-header { | ||
height: 80px; | ||
max-height: revert; | ||
} | ||
|
||
.table-wrapper2 { | ||
display: block; | ||
width: 100%; | ||
max-width: 100%; | ||
margin-bottom: $sp-5; | ||
overflow-x: auto; | ||
border-radius: $border-radius; | ||
box-shadow: | ||
0 1px 2px rgba(0, 0, 0, 0.12), | ||
0 1px 5px rgba(0, 0, 0, 0.08); | ||
} | ||
|
||
table { | ||
display: table; | ||
min-width: 100%; | ||
border-collapse: separate; | ||
} | ||
|
||
th, | ||
td { | ||
@include fs-3; | ||
min-width: 0px; | ||
padding: $sp-2 $sp-3; | ||
background-color: $table-background-color; | ||
border-bottom: $border rgba($border-color, 0.5); | ||
border-left: $border $border-color; | ||
|
||
&:first-of-type { | ||
border-left: 0; | ||
} | ||
} | ||
|
||
tbody { | ||
tr { | ||
&:last-of-type { | ||
th, | ||
td { | ||
border-bottom: 0; | ||
} | ||
|
||
td { | ||
padding-bottom: $sp-3; | ||
} | ||
} | ||
} | ||
} | ||
|
||
thead { | ||
th { | ||
border-bottom: $border $border-color; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
// Tables | ||
// stylelint-disable max-nesting-depth, selector-no-type, selector-max-type | ||
|
||
.table-wrapper { | ||
display: block; | ||
width: 115%; | ||
max-width: 115%; | ||
margin-bottom: $sp-5; | ||
overflow-x: auto; | ||
border-radius: $border-radius; | ||
box-shadow: | ||
0 1px 2px rgba(0, 0, 0, 0.12), | ||
0 3px 10px rgba(0, 0, 0, 0.08); | ||
} | ||
|
||
table { | ||
display: table; | ||
min-width: 100%; | ||
border-collapse: separate; | ||
} | ||
|
||
th, | ||
td { | ||
@include fs-3; | ||
|
||
min-width: 0rem; | ||
padding: $sp-2 $sp-3; | ||
background-color: $table-background-color; | ||
border-bottom: $border rgba($border-color, 0.5); | ||
border-left: $border $border-color; | ||
|
||
&:first-of-type { | ||
border-left: 0; | ||
} | ||
} | ||
|
||
tbody { | ||
tr { | ||
&:last-of-type { | ||
th, | ||
td { | ||
border-bottom: 0; | ||
} | ||
|
||
td { | ||
padding-bottom: $sp-3; | ||
} | ||
} | ||
} | ||
} | ||
|
||
thead { | ||
th { | ||
border-bottom: $border $border-color; | ||
} | ||
} |