Skip to content

Instantly share code, notes, and snippets.

@stakira
Last active April 6, 2019 02:56
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stakira/57deac9ec23705b0d927 to your computer and use it in GitHub Desktop.
Save stakira/57deac9ec23705b0d927 to your computer and use it in GitHub Desktop.
GFM table
body {
text-size-adjust: 100%;
color: #333;
font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
font-size: 16px;
line-height: 1.6;
word-wrap: break-word;
}
table {
border-collapse: collapse;
border-spacing: 0;
display: block;
overflow: auto;
word-break: normal;
word-break: keep-all;
}
table th {
font-weight: bold;
}
table th,
table td {
padding: 6px 13px;
border: 1px solid #ddd;
}
table tr {
background-color: #fff;
border-top: 1px solid #ccc;
}
table tr .odd {
background-color: #f8f8f8;
}
table tr .fail {
background-color:#f9f2f4;
color:#c7254e;
font-weight:bold;
}
table tr .pass {
background-color:#dff0d8;
color:#468847;
font-weight:bold;
}
table tr .warn {
background-color:#fcf8e3;
color:#ec971f;
font-weight:bold;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment