Last active
April 25, 2017 04:16
-
-
Save aharshac/37d267d8cf457ea24525c19085b808cd to your computer and use it in GitHub Desktop.
collaborizm-community-fix-1
This file contains hidden or 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
table | |
{ | |
background-color: #fff; | |
width: 100%; | |
max-width: 100%; | |
margin-top: 20px !important; | |
margin-bottom: 20px !important; | |
border-collapse: collapse; | |
} | |
table > thead > tr > th | |
{ | |
padding: 8px; | |
line-height: 1.4285714; | |
border-top: 1px solid #ddd; | |
} | |
table > thead > tr > td, | |
table > tbody > tr > th, | |
table > tbody > tr > td, | |
table > tfoot > tr > th, | |
table > tfoot > tr > td | |
{ | |
padding: 8px; | |
line-height: 1.4285714; | |
vertical-align: top; | |
border-top: 1px solid #ddd; | |
text-align: left; | |
} | |
table > thead > tr > th | |
{ | |
vertical-align: bottom; | |
border-bottom: 2px solid #ddd; | |
font-weight: bold; | |
} | |
table > caption + thead > tr:first-child > th, | |
table > caption + thead > tr:first-child > td, | |
table > colgroup + thead > tr:first-child > th, | |
table > colgroup + thead > tr:first-child > td, | |
table > thead:first-child > tr:first-child > th, | |
table > thead:first-child > tr:first-child > td | |
{ | |
border-top: 0; | |
} | |
table > tbody + tbody | |
{ | |
border-top: 2px solid #ddd; | |
} | |
/* Condensed */ | |
table > thead > tr > th, | |
table > thead > tr > td, | |
table > tbody > tr > th, | |
table > tbody > tr > td, | |
table > tfoot > tr > th, | |
table > tfoot > tr > td | |
{ | |
padding: 5px; | |
} | |
/* Bordered */ | |
table, | |
table > thead > tr > th, | |
table > thead > tr > td, | |
table > tbody > tr > th, | |
table > tbody > tr > td, | |
table > tfoot > tr > th, | |
table > tfoot > tr > td | |
{ | |
border: 1px solid #ddd; | |
} | |
table > thead > tr > th, | |
table > thead > tr > td | |
{ | |
border-bottom-width: 2px; | |
} | |
/* Striped */ | |
table > tbody > tr:nth-child(odd) > td, | |
table > tbody > tr:nth-child(odd) > th | |
{ | |
background-color: #f9f9f9; | |
} | |
/* Hover */ | |
table > tbody > tr:hover > td, | |
table > tbody > tr:hover > th | |
{ | |
background-color: #f5f5f5; | |
} | |
/* code */ | |
*:not(pre) > code { | |
background-color: #f7f7f9; | |
border: 1px solid #e1e1e8; | |
border-radius: 3px; | |
color: #dd1144; | |
padding: 2px 4px; | |
overflow-wrap: break-word; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment