Created
May 20, 2011 21:55
-
-
Save JerrySievert/983899 to your computer and use it in GitHub Desktop.
stylus bug
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 { | |
width: 600px; | |
} | |
table thead tr th { | |
text-align: center; | |
font-weight: bold; | |
} | |
table tbody tr:nth-child(odd) { | |
background-color: #fff; | |
} | |
table tbody tr:nth-child(even) { | |
background-color: #ddd; | |
} | |
table tbody tr .currency_no_total, | |
table tbody tr td.number_no_total, | |
table tbody tr td.number, | |
table tbody tr td.currency { | |
text-align: right; | |
} | |
table tbody tr td.string { | |
text-align: left; | |
} |
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 | |
width 600px | |
thead tr th | |
text-align center | |
font-weight bold | |
tbody | |
tr:nth-child(odd) | |
background-color white | |
tr:nth-child(even) | |
background-color #ddd | |
tr | |
td.currency_no_total | |
td.number_no_total | |
td.number | |
td.currency | |
text-align right | |
td.string | |
text-align left |
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 { | |
width: 600px; | |
} | |
table thead tr th { | |
text-align: center; | |
font-weight: bold; | |
} | |
table tbody tr:nth-child(odd) { | |
background-color: #fff; | |
} | |
table tbody tr:nth-child(even) { | |
background-color: #ddd; | |
} | |
table tbody tr td.currency_no_total, | |
table tbody tr td.number_no_total, | |
table tbody tr td.number, | |
table tbody tr td.currency { | |
text-align: right; | |
} | |
table tbody tr td.string { | |
text-align: left; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment