Skip to content

Instantly share code, notes, and snippets.

@SiGaCode
Created January 5, 2018 22:28
Show Gist options
  • Save SiGaCode/7c7aad58f96f14f1f763e14549aa0cc9 to your computer and use it in GitHub Desktop.
Save SiGaCode/7c7aad58f96f14f1f763e14549aa0cc9 to your computer and use it in GitHub Desktop.
Just a bit of table styling for Dynamik/Genesis.
/* ======== A bit of table styling =========== */
table {
width:100%;
font-family: Arial, sans-serif;
font-size: 16px;
}
td,th {
border:1px solid #ddd;
padding:8px;
}
tr:nth-child(even) {
background-color:#f2f2f2;
}
tr:hover {
background-color:#ddd;
}
th {
padding-top:12px;
padding-bottom:12px;
text-align:left;
background-color:#77A834; /*change background-color to something matching the design*/
color:white;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment