Skip to content

Commit

Permalink
Style for vocab tables
Browse files Browse the repository at this point in the history
  • Loading branch information
lynn committed Jan 11, 2024
1 parent c568954 commit 87b2e75
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _layouts/lessons.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<div>Toaq with Ease</div>
<div class="nav-lessons">
{% for lesson in site.lessons %}
<a {% if page != lesson %} href="..{{ lesson.url | remove: 'index' }}" {% endif %}>{{ lesson.url | remove: 'index' | remove: '/' | replace: '00', 'Intro' }}</a> {% unless forloop.last %}·{% endunless %}
<a {% if page != lesson %} href="..{{ lesson.url | remove: 'index' }}" {% endif %}>{{ lesson.url | remove: 'index' | remove: '/' | replace: '00', 'Intro' | capitalize }}</a> {% unless forloop.last %}·{% endunless %}
{% endfor %}
</div>
</header>
Expand Down
6 changes: 3 additions & 3 deletions _lessons/vocab/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ This page offers an overview of all the words taught in the course, grouped by p
| moaqshaı | forget | [12](../12) |
| mıao | moon | [12](../12) |
| sahu | is false | [12](../12) |
| nuımpoq | ? | [12](../12) |
| nuımpoq | alien | [12](../12) |
| rıaq | place | [12](../12), [13](../13) |
| sao | big | [12](../12) |
| jıaq | world | [12](../12) |
Expand Down Expand Up @@ -244,12 +244,12 @@ This page offers an overview of all the words taught in the course, grouped by p
| oaı | uh-oh | [06](../06) |
| kushe | sorry | [08](../08), [10](../10) |
| jadı | hi | [09](../09) |
| nho | yes? | [09](../09) |
| nho | yes | [09](../09) |
| obe | oh | [09](../09) |
| kıjı | thanks | [09](../09), [10](../10), [11](../11) |
| shadı | welcome | [10](../10) |
| enı | here | [10](../10), [11](../11) |
| em | huh? | [10](../10) |
| em | hmm | [10](../10) |
| aıka | alright | [10](../10) |

## Polarity
Expand Down
10 changes: 10 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -392,3 +392,13 @@ header img {
background-color: #4d4d4d;
}
}

.lesson-vocab table td, .lesson-vocab table th {
padding: 4px 1em;
height: unset;
}

.lesson-vocab table th {
font-weight: bold;
text-align: left
}

0 comments on commit 87b2e75

Please sign in to comment.