Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS modifications #346

Merged
merged 6 commits into from
Aug 8, 2019
Merged

CSS modifications #346

merged 6 commits into from
Aug 8, 2019

Conversation

rich-iannone
Copy link
Member

These changes improve (to my eyes, at least) to default appearance of an HTML table. Thin horizontal lines are used for each data row. All thicker lines has their colors lightened (from #A8A8A8 to #D3D3D3) except for the top and bottom table lines. The default text is lightened from #000000 to #333333 (gray20). This is only slightly noticeable but it has the effect of softening the text somewhat. Padding in the table columns has been reduced and padding between the table Title and Subtitle has been tweaked for better optical positioning.

Here are three examples with the new CSS changes.

new_default_1

new_default_2

new_default_3

@rich-iannone rich-iannone merged commit f620501 into master Aug 8, 2019
@rich-iannone rich-iannone deleted the css-modifications branch August 8, 2019 20:43
@rich-iannone rich-iannone mentioned this pull request Aug 8, 2019
rich-iannone added a commit to batpigandme/gt that referenced this pull request Nov 11, 2019
* master: (59 commits)
  add fmt_markdown to _pkgdown.yml (rstudio#371)
  Use `tidy_grepl()` instead of `expect_match()`
  Use `tidy_grepl()` & `expect_true()`
  Add `dt_*()` methods for all major, internal data structures (rstudio#355)
  Update CLA text (rstudio#373)
  remove reliance on Github version of sass, which is now updated on CRAN (rstudio#366)
  Fix for invisible top borders in rendered HTML tables (rstudio#359)
  CSS modifications (rstudio#346)
  Incorporate alpha option to `cell_fill()` (rstudio#340)
  Enable option to set row group padding in `tab_options()` (rstudio#342)
  Modify `filter()` statement (rstudio#341)
  Allow use of integers in `pct()`/`px()` (rstudio#336)
  Fix for resolving row group cells (rstudio#335)
  Easier access to footnote mark options (rstudio#333)
  Export `as.tags.gt_tbl()` (rstudio#331)
  Several `rlang`-based fixes (rstudio#334)
  Add function to specify column widths: `cols_widths()` (rstudio#293)
  Add `rstudio/sass` to Remotes list (rstudio#326)
  Fix for `cell_borders()` (rstudio#323)
  Allow an empty table with zero rows to create an empty gt table (rstudio#283)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants