Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
table {
border-spacing: 0;
width: 100%; }
table th {
color: #555555;
padding: 1em 0.5em;
text-align: left;
background-color: #a7d3ff; }
table td {
padding: 7px 3em 7px 0.5em; }
table td:last-child {
padding-right: 0.5em; }
table tr:nth-child(2n+1) {
background-color: #ddedfd; } {
font-size: 75%;
border: 1px solid #555555;
width: auto; } th {
padding: 2px;
background-color: white;
color: black;
border-bottom: 1px solid #555555; } td {
padding: 2px 8px 2px 2px; }
= link_to_function "Style Guide", "$('#style-guide').toggle('fast');"
#style-guide{:style => "display:none;"}
%th style
%th markup
%th output
%td bold/strong
%td *strong*
%td italics/emphasis
%td _emphasis_
%td points
%td * bullet
* bullet
%td link
%td "xhfive":
%td{:colspan => 3}
For more instructions visit
= link_to "RedCloth", "", :alt => "", :target => "_blank"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.