Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/* Styles for staticman fields*/
.staticman-comments {
margin-bottom: 2rem;
}
.staticman-comments .comment-author, .comment-content, .comment-timestamp {
margin-top: 0;
font-size: 0.85rem;
}
.staticman-comments article{
display: grid;
grid-template-columns: 0.5fr 0.5fr;
}
.staticman-comments .comment-author {
grid-column: 1;
grid-row: 1;
}
.staticman-comments .comment-timestamp {
grid-column: 2;
grid-row: 1;
text-align: right;
}
.staticman-comments .comment-content{
margin-top: 0.5rem;
grid-column: 1/3;
grid-row: 2;
}
.staticman-comments .comment-content p {
padding: 5px 1rem 5px 1rem;
}
.staticman-comments input {
border: 1px solid rgba(0,0,0);
padding: 4px 5px;
width: 100%;
font-family:inherit;
font-size: 0.85rem;
margin-top: 0.5rem;
margin-bottom: 1rem;
}
.staticman-comments .g-recaptcha {
padding: 0.5rem 0;
}
.staticman-comments textarea {
border: 1px solid rgba(0,0,0);
padding: 4px 5px;
vertical-align: top;
height: 10em;
width: 100%;
font-family:inherit;
font-size: 0.85rem;
margin-top: 0.5rem;
margin-bottom: 1rem;
}
.staticman-comments label, .staticman-comments button {
margin-top: 0.5rem;
font-size: 0.85rem;
}
fieldset {
border:none;
}
#warningComment{
margin-top: 1rem;
margin-bottom: 1rem;
width: 100%;
display: block;
}
#staticman-button {
width: 100%;
padding: 0.25em 0.75em;
margin-bottom: 1rem;
}
#staticman-comments {
display: none;
}
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.