Skip to content

Instantly share code, notes, and snippets.

@troygoode
Last active June 6, 2018 23:34
Show Gist options
  • Save troygoode/0a911c0257ba9be7668b53cdf112e595 to your computer and use it in GitHub Desktop.
Save troygoode/0a911c0257ba9be7668b53cdf112e595 to your computer and use it in GitHub Desktop.
Lanetix markdown styling updates
.record-field > span > div {
background-color: #f5f5f5;
padding: 1em;
border-radius: 4px;
margin-top: .5em;
}
.record-field > span > div hr {
margin: 1em 0 !important;
border: 0 !important;
height: 1px;
background: #333;
background-image: linear-gradient(to right, #ddd, #aaa, #ddd);
}
.record-field > span > div p, .record-field > span > div ul {
margin-bottom: .5em !important;
}
.record-field > span > div p:last-child, .record-field > span > div ul:last-child {
margin-bottom: 0 !important;
}
.record-field > span > div p strong {
font-weight: bold;
}
.record-field > span > div pre, .record-field > span > div p code {
background-color: #444;
color: #fff;
}
.record-field > span > div blockquote {
border-left: 5px solid #ccc;
}
.record-field > span > div h1, .record-field > span > div h2, .record-field > span > div h3, .record-field > span > div h4, .record-field > span > div h5, .record-field > span > div h6 {
margin: 1em 0 .5em 0 !important;
}
.record-field > span > div h1:first-child, .record-field > span > div h2:first-child, .record-field > span > div h3:first-child, .record-field > span > div h4:first-child, .record-field > span > div h5:first-child, .record-field > span > div h6:first-child {
margin-top: 0 !important;
}
.record-field > span > div h1 {
border-bottom: 1px solid #ddd;
padding-bottom: .5em;
margin-bottom: .75em !important;
}
.record-field > span > div h2 {
border-bottom: 1px solid #ddd;
padding-bottom: .5em;
margin-bottom: .5em !important;
}
@troygoode
Copy link
Author

screenshot 2018-06-06 16 30 15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment