Change CSS so that table defaults have low specificity
Open
@rich-iannone is already working on this.
Since Aug 16, 2022.
Difficulty: [2] Intermediate
Effort: [3] High
Priority: [3] High
Type: ★ Enhancement
- Dominant language
- R
- Stars
- 2.2k
- Forks
- 225
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 11
Description
Prework
- Read and abide by gt's code of conduct and contributing guidelines.
- Search for duplicates among the existing issues (both open and closed).
Proposal
html {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', 'Fira Sans', 'Droid Sans', Arial, sans-serif;
}
.gt_table {
display: table;
border-collapse: collapse;
margin-left: auto;
margin-right: auto;
color: #FFFFFF;
font-size: 16px;
font-weight: normal;
font-style: normal;
width: auto;
border-top-style: solid;
border-top-width: 2px;
border-top-color: #A8A8A8;
border-right-style: none;
border-right-width: 2px;
border-right-color: #D3D3D3;
border-bottom-style: solid;
border-bottom-width: 2px;
border-bottom-color: #A8A8A8;
border-left-style: none;
border-left-width: 2px;
border-left-color: #D3D3D3;
}
.gt_heading {
text-align: center;
border-left-style: none;
border-left-width: 1px;
border-left-color: #D3D3D3;
border-right-style: none;
border-right-width: 1px;
border-right-color: #D3D3D3;
}
#dbgyypyluh .gt_table {
background-color: #FF0000;
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.