Created
March 7, 2012 13:12
-
-
Save programus/1993032 to your computer and use it in GitHub Desktop.
CSS & head to set data table format in Octopress
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 { | |
border-style:solid; | |
border-width:1px; | |
border-color:#e7e3e7; | |
} | |
* + table th, * + table td { | |
border-style:dashed; | |
border-width:1px; | |
border-color:#e7e3e7; | |
padding-left: 3px; | |
padding-right: 3px; | |
} | |
* + table th { | |
border-style:solid; | |
font-weight:bold; | |
background: url("/images/noise.png?1330434582") repeat scroll left top #F7F3F7; | |
} | |
* + table th[align="left"], * + table td[align="left"] { | |
text-align:left; | |
} | |
* + table th[align="right"], * + table td[align="right"] { | |
text-align:right; | |
} | |
* + table th[align="center"], * + table td[align="center"] { | |
text-align:center; | |
} |
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
<link href="{{ root_url }}/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css"> | |
{% if page.styles contains 'data-table' %} | |
<link href="{{ root_url }}/stylesheets/data-table.css" media="screen, projection" rel="stylesheet" type="text/css" /> | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment