Created
August 8, 2012 19:01
-
-
Save rreeger/3297595 to your computer and use it in GitHub Desktop.
CSS: Blue Sheets Table
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
<!-- Make sure to remove <p> tags from <head> after converting Markdown to HTML. --> | |
<head> | |
<style> | |
table th { | |
white-space:nowrap | |
} | |
table td:nth-child(n+2) { | |
background: rgb(135, 206, 250); | |
font-weight:bold; | |
color:rgb(25, 25, 112); | |
vertical-align:middle; | |
} | |
table td:empty { | |
background: #ffffff; | |
} | |
table td[colspan="11"] { | |
background: #aaa!important | |
} | |
table.foo td:nth-child(n+2) { | |
background: rgb(205, 201, 201); | |
font-weight:bold; | |
color:rgb(100, 100, 100); | |
vertical-align:middle; | |
} | |
</style> | |
</head> | |
<!-- Make sure to enter table class="foo" on second table. --> | |
<p><center><h1>Blues Sheets - Week of %M/%D/%Y</h1></center></p> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment