Skip to content

Commit

Permalink
Merge pull request #151 from openstax/K12-44/Update-table-caption-styles
Browse files Browse the repository at this point in the history
Update table caption styles
  • Loading branch information
MReyna12 authored Apr 5, 2024
2 parents 80b3965 + 5cf1787 commit 5c13ae6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/styles.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Add as a class attribute to a table html tag.

```html
<table class="os-raise-textheavytable">
<caption> Texas Essential Knowledge and Skills (TEKS)
<caption> Texas Essential Knowledge and Skills (TEKS) </caption>
<thead>
<tr>
<th scope="col">TEKS</th>
Expand Down
9 changes: 5 additions & 4 deletions src/styles/content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ $raise-graybox: #f5f5f5;
$raise-graybox-border: #d9d9d9;
$raise-motivation-box: #f0f6fb;
$raise-table-color: #0b5b51;
$raise-table-caption-color: #1D2125;
$raise-light-black: #424242;
$raise-light-gray: #919191;
$os-dark-green: #0A5B50;
Expand Down Expand Up @@ -72,9 +73,9 @@ table.os-raise-standardtable {
border-radius: .3125rem;

caption {
color: $raise-light-black;
color: $raise-table-caption-color;
font-size: 1.5rem;
font-weight: 600;
font-weight: 700;
text-align: left;
}

Expand Down Expand Up @@ -132,9 +133,9 @@ table.os-raise-doubleheadertable {
border-collapse: collapse;

caption {
color: $raise-light-black;
color: $raise-table-caption-color;
font-size: 1.5rem;
font-weight: 600;
font-weight: 700;
text-align: left;
}

Expand Down

0 comments on commit 5c13ae6

Please sign in to comment.