Skip to content

Commit

Permalink
Better table styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Breck Yunits authored and Breck Yunits committed Apr 22, 2024
1 parent 3eaa3bf commit 7a1cab9
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 3 deletions.
Binary file modified blog/datasets.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions blog/datasets.scroll
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ wideColumns 1

title Scroll Datasets: source code for CSVs

byLine https://breckyunits.com Breck Yunits

image datasets.png
caption More examples of Scroll Datasets from datasets.scroll.pub.
http://datasets.scroll.pub/ datasets.scroll.pub
Expand Down Expand Up @@ -270,4 +268,6 @@ moons: 14

::

byLine https://breckyunits.com Breck Yunits

import footer.scroll
4 changes: 4 additions & 0 deletions grammar/gazetteTheme.grammar
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ gazetteCssParser

.scrollTable
table-layout fixed
font-family "SF Pro", "Helvetica Neue", "Segoe UI", "Arial"
margin .5rem 0
overflow hidden
font-size .8rem
Expand All @@ -126,6 +127,9 @@ gazetteCssParser
td,th
padding .1875rem
overflow hidden
white-space nowrap
th
text-transform capitalize
th
border-bottom 2px solid rgba(0,0,0,.6)
text-align left
Expand Down
1 change: 1 addition & 0 deletions grammar/tables.grammar
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ tableSearchParser
extends abstractScrollWithRequirementsParser
string requireOnce
<script defer src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<style>.dt-search{font-family: "SF Pro", "Helvetica Neue", "Segoe UI", "Arial";}</style>
<link rel="stylesheet" href="https://cdn.datatables.net/2.0.5/css/dataTables.dataTables.min.css" />
<script defer src="https://cdn.datatables.net/2.0.5/js/dataTables.min.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scroll-cli",
"version": "77.1.0",
"version": "77.2.0",
"description": "Tools for thoughts.",
"main": "scroll.js",
"engines": {
Expand Down
3 changes: 3 additions & 0 deletions releaseNotes.scroll
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ title Scroll Release Notes

startColumns

# 77.2.0 4/22/2024
- 🎨 improved default table styles

# 77.1.0 4/21/2024
- 🎉 Simplified datasets further after user tests.

Expand Down

0 comments on commit 7a1cab9

Please sign in to comment.