-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3369e4e
commit f56843c
Showing
3 changed files
with
173 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,47 @@ | ||
.cheat-sheet-table { | ||
display: block; | ||
font-weight: 900; | ||
width: 100%; | ||
max-width: 100%; | ||
overflow-x: auto; | ||
border-collapse: collapse; | ||
color: white; | ||
} | ||
|
||
.cheat-sheet-table th { | ||
font-size: larger; | ||
font-size: 1.5rem; | ||
font-size: 1.8rem; | ||
padding: 4px 0; | ||
background: #555; | ||
} | ||
|
||
.cheat-sheet-table td { | ||
text-align: center; | ||
font-size: 1.5rem; | ||
vertical-align: middle; | ||
height: 50px; | ||
border-style: solid; | ||
border-width: 1px; | ||
white-space: nowrap; | ||
padding: 0 8px; | ||
} | ||
|
||
.cheat-sheet-table tr th,td { | ||
border-left-style: solid; | ||
border-right-style: solid; | ||
border-width: 1px; | ||
} | ||
|
||
.cheat-sheet-table tr th:first-of-type,td:first-of-type { | ||
border-left-style: none; | ||
} | ||
|
||
.cheat-sheet-table tr th:last-of-type,td:last-of-type { | ||
border-right-style: none; | ||
} | ||
|
||
@media screen and (max-width: 768px) { | ||
.cheat-sheet-table th { | ||
font-size: 1rem; | ||
font-size: 1.2rem; | ||
} | ||
|
||
.cheat-sheet-table td { | ||
font-size: 1rem; | ||
padding: 0 2px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters