add built in css

This commit is contained in:
Thorsten Witteler 2017-10-23 13:37:52 +02:00
parent de3a683cbe
commit 868d7b1231
2 changed files with 70 additions and 3 deletions

68
assets/comments.css Normal file
View File

@ -0,0 +1,68 @@
/*
===============================================================================================================================
Comments Plugin Styles
===============================================================================================================================
*/
.comment {
margin-top: 15px;
border-top: gray solid 2px;
}
.comment:first-child {
margin-top: 0;
}
.comment,
.comment-body {
zoom: 1;
overflow: hidden;
}
.comment-body {
width: 10000px;
}
.comment-object {
display: block;
}
.comment-right,
.comment > .pull-right {
padding-left: 10px;
}
.comment-left,
.comment > .pull-left {
padding-right: 10px;
}
.comment-left,
.comment-right,
.comment-body {
display: table-cell;
vertical-align: top;
}
.comment-middle {
vertical-align: middle;
}
.comment-bottom {
vertical-align: bottom;
}
.comment-heading {
margin-top: 0;
margin-bottom: 5px;
border-bottom: gray dashed 1px;
}
.comment-title, .comment-title h4 {
padding: 0px;
margin: 0px;
}
.comment-meta {
display: inline;
font-size: small;
}
.comment-reply {
display: inline;
float: right;
}
.comment-text {
clear: both;
}
.comment-list {
padding-left: 0;
list-style: none;
}

View File

@ -1,13 +1,12 @@
enabled: true
built_in_css: true
ajax_callback: /nested-comments
enable_on_routes:
- '/blog'
disable_on_routes:
- /blog/blog-post-to-ignore
- /ignore-this-route
#- '/blog/daring-fireball-link'
form:
name: comments
fields: