Database refactoring and improving blog comments, blog post history and more
This commit is contained in:
@@ -169,7 +169,7 @@
|
||||
.widget.filled-background .media {
|
||||
margin-top: 0;
|
||||
padding: 10px 0;
|
||||
border-bottom: 1px solid rgba(0,0,0,.3);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, .3);
|
||||
transition: transform .2s;
|
||||
}
|
||||
|
||||
@@ -195,3 +195,31 @@
|
||||
right: 30%;
|
||||
}
|
||||
|
||||
.following-post {
|
||||
display: block;
|
||||
height: 108px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.following-post .following-post-image {
|
||||
float: left;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
width: 100px;
|
||||
height: 100%;
|
||||
border-radius: 10px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.following-post.right .following-post-image {
|
||||
float: right;
|
||||
margin-right: 0;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.following-post h4 {
|
||||
max-height: 48px;
|
||||
overflow: hidden;
|
||||
-ms-text-overflow: ellipsis;
|
||||
text-overflow: ellipsis;
|
||||
}
|
@@ -8,6 +8,15 @@ body {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: Roboto, Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: "Roboto Black", Helvetica, "Arial Black", Arial, sans-serif;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.left_col {
|
||||
background: #444;
|
||||
}
|
||||
|
@@ -1407,6 +1407,87 @@ ul#downloadSlider a.active .overlay {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.user-post-item {
|
||||
display: grid;
|
||||
grid-template-areas: "logo username metadata" "logo content content" "logo actions actions";
|
||||
grid-template-rows: 25px auto 35px;
|
||||
grid-template-columns: 90px auto 1fr;
|
||||
grid-gap: 10px 5px;
|
||||
|
||||
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
|
||||
background-color: rgb(255, 255, 255);
|
||||
padding: 3px 10px;
|
||||
border-radius: 10px;
|
||||
/*min-height: 100px;*/
|
||||
}
|
||||
|
||||
.user-post-item:hover {
|
||||
background-color: rgb(245, 245, 245)
|
||||
}
|
||||
|
||||
.user-post-item .item-avatar-container {
|
||||
grid-area: logo;
|
||||
padding: 10px 0 10px 5px;
|
||||
}
|
||||
|
||||
.user-post-item .item-avatar {
|
||||
max-width: 100%;
|
||||
height: 75px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.user-post-item .item-avatar-container .fa {
|
||||
margin-top: 5px;
|
||||
padding: 15px;
|
||||
font-size: 35px;
|
||||
color: #fff;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.user-post-item .item-avatar-container .fa.fa-check {
|
||||
background-color: #08DD73;
|
||||
}
|
||||
|
||||
.user-post-item .item-user {
|
||||
grid-area: username;
|
||||
margin: 5px 0 0 !important;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.user-post-item .item-meta {
|
||||
grid-area: metadata;
|
||||
margin: 9px 10px 0 0;
|
||||
color: rgb(97, 97, 97);
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.user-post-item .item-content {
|
||||
grid-area: content;
|
||||
font-size: 18px;
|
||||
color: #777;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.user-post-item .item-actions {
|
||||
grid-area: actions;
|
||||
height: 35px;
|
||||
}
|
||||
|
||||
.user-post-item .item-actions .item-btn {
|
||||
display: inline-block;
|
||||
margin: 0 5px;
|
||||
padding: 5px 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.user-post-item .item-actions .item-btn:first-child {
|
||||
margin-left: -10px;
|
||||
}
|
||||
|
||||
.like-button-floating {
|
||||
position: fixed;
|
||||
-webkit-transform: translateX(-100%);
|
||||
|
Reference in New Issue
Block a user