diff --git a/frappe/public/css/docs.css b/frappe/public/css/docs.css
index 5df0f07714..592f8800a7 100644
--- a/frappe/public/css/docs.css
+++ b/frappe/public/css/docs.css
@@ -449,12 +449,12 @@ pre {
color: inherit;
}
a.btn-primary {
- color: #fff;
+ color: #7575ff;
}
a.btn-primary:hover,
a.btn-primary:focus,
a.btn-primary:visited {
- color: #fff;
+ color: #7575ff;
}
.btn-next-wrapper {
margin-top: 32px;
diff --git a/frappe/public/css/website.css b/frappe/public/css/website.css
index 1ee132e904..20be163f7a 100644
--- a/frappe/public/css/website.css
+++ b/frappe/public/css/website.css
@@ -411,6 +411,7 @@ a.no-decoration:active {
.web-footer {
padding: 20px 0px;
min-height: 140px;
+ border-top: 1px solid #d1d8dd;
}
.carousel-control .icon {
position: absolute;
@@ -458,7 +459,6 @@ a.no-decoration:active {
padding-left: 15px;
}
.page-header-actions-block {
- padding-top: 20px;
text-align: right;
}
fieldset {
@@ -489,9 +489,8 @@ fieldset {
}
.page-container {
padding: 0px;
-}
-.page-content {
- padding-bottom: 20px;
+ max-width: 970px;
+ margin: auto;
}
.page-content hr {
margin-left: -15px;
@@ -570,39 +569,40 @@ fieldset {
.blog-list-content .website-list .result {
border: 0px;
}
-.blog-list-content .web-list-item {
- padding: 0px;
-}
.blog-list-content .web-list-item:hover {
background: transparent;
}
-.longform {
- padding: 15px 0px;
- line-height: 1.5;
- font-size: 1.1em;
- max-width: 700px;
-}
-.longform p {
- margin-bottom: 30px;
-}
.blog-category {
- margin-top: 60px;
+ text-transform: uppercase;
+ font-size: 12px;
+ text-align: center;
+ margin-bottom: 20px;
}
.blogger {
- padding: 10px 15px;
+ padding-top: 30px;
+ padding-bottom: 15px;
border-top: 1px solid #d1d8dd;
- margin: 0px -15px;
}
.blog-comments,
.help-article-comments {
- margin: 0px -15px;
- border-top: 1px solid #d1d8dd;
- padding: 5px 15px 15px;
+ padding: 5px 15px 15px 70px;
+}
+.comment-view {
+ background-color: #fafbfc;
+ position: relative;
+}
+.comment-view:before {
+ content: "";
+ background-color: #fafbfc;
+ position: absolute;
+ height: 100%;
+ width: 4000px;
+ left: -2000px;
+ z-index: -1;
}
.blog-comment-row {
margin: 0px -15px;
padding: 15px;
- border-bottom: 1px solid #d1d8dd;
}
.blog-comment-row:last-child {
margin-bottom: 30px;
@@ -643,9 +643,6 @@ a.active {
pointer-events: none;
cursor: default;
}
-.page-breadcrumbs {
- padding-top: 20px;
-}
.page-breadcrumbs .breadcrumb {
padding: 0px;
background-color: transparent;
@@ -829,3 +826,96 @@ body {
.btn-next-wrapper {
margin-top: 60px;
}
+.footer-group-label {
+ display: inline-block;
+ padding-bottom: 4px;
+ text-transform: uppercase;
+ font-size: 12px;
+}
+.item-list {
+ padding-top: 20px;
+}
+.sidebar-block,
+.content-block {
+ padding-top: 50px;
+ padding-bottom: 50px;
+}
+.content-header {
+ padding-bottom: 20px;
+}
+.selected-p-item {
+ color: #7575ff;
+}
+a:hover,
+a:visited,
+a:link,
+a:active {
+ text-decoration: none;
+}
+.blog-header {
+ font-size: 36px;
+ margin-bottom: 20px;
+}
+.blog-dot:before {
+ padding-right: 8px;
+ padding-left: 8px;
+ content: "\2022";
+}
+.blog-list-item {
+ margin-top: 25px;
+ margin-bottom: 25px;
+ border: none;
+}
+.post-description {
+ margin-top: 0px;
+}
+.post-by {
+ margin-top: 4px;
+ margin-bottom: 4px;
+ text-transform: uppercase;
+ font-size: 12px;
+}
+li .footer-child-item {
+ margin-bottom: 4px !important;
+}
+li .social-child-item {
+ margin-bottom: 4px !important;
+}
+.blog-info {
+ text-align: center;
+ margin-top: 30px;
+}
+.blog-text {
+ text-align: justify;
+ padding-top: 50px;
+ padding-bottom: 50px;
+ font-size: 18px;
+ max-width: 700px;
+ margin: auto;
+}
+.blog-text p {
+ margin-bottom: 50px;
+}
+.blogger-name {
+ font-size: 24px;
+}
+.comment-header {
+ font-size: 20px;
+ padding-top: 30px;
+ padding-bottom: 20px;
+}
+#item-search {
+ position: relative;
+ outline: none;
+ border: none;
+}
+.vert-line {
+ overflow: hidden;
+}
+.vert-line > div + div {
+ border-left: 1px solid #d1d8dd;
+}
+.vert-line > div {
+ padding-bottom: 2000px;
+ margin-bottom: -2000px;
+}
diff --git a/frappe/public/less/docs.less b/frappe/public/less/docs.less
index 87b8b33196..667b3f39a7 100644
--- a/frappe/public/less/docs.less
+++ b/frappe/public/less/docs.less
@@ -203,9 +203,9 @@ pre {
}
a.btn-primary& {
- color: #fff;
+ color: #7575ff;
&:hover, &:focus, &:visited {
- color: #fff;
+ color: #7575ff;;
}
}
diff --git a/frappe/public/less/website.less b/frappe/public/less/website.less
index be7af0c705..2851288b67 100644
--- a/frappe/public/less/website.less
+++ b/frappe/public/less/website.less
@@ -68,6 +68,7 @@
.web-footer {
padding: 20px 0px;
min-height: 140px;
+ border-top: 1px solid #d1d8dd;
}
.carousel-control .icon {
@@ -123,7 +124,6 @@
}
.page-header-actions-block {
- padding-top: 20px;
text-align: right;
}
@@ -159,10 +159,11 @@ fieldset {
.page-container {
padding: 0px;
+ max-width: 970px;
+ margin: auto;
}
.page-content {
- padding-bottom: 20px;
hr {
margin-left: -15px;
margin-right: -15px;
@@ -223,7 +224,6 @@ fieldset {
.website-list .result {
margin-top: 15px;
- // border: 1px solid @border-color;
}
.web-list-item {
@@ -261,46 +261,46 @@ fieldset {
border: 0px;
}
-.blog-list-content .web-list-item {
- padding: 0px;
-}
-
.blog-list-content .web-list-item:hover {
background: transparent;
}
-.longform {
- padding: 15px 0px;
- line-height: 1.5;
- font-size: 1.1em;
- max-width: 700px;
-
- p {
- margin-bottom: 30px;
- }
-}
-
.blog-category {
- margin-top: 60px;
+ text-transform: uppercase;
+ font-size: 12px;
+ text-align: center;
+ margin-bottom: 20px;
}
.blogger {
- padding: 10px 15px;
+ padding-top: 30px;
+ padding-bottom: 15px;
border-top: 1px solid @border-color;
- margin: 0px -15px;
}
.blog-comments,
.help-article-comments {
- margin: 0px -15px;
- border-top: 1px solid @border-color;
- padding: 5px 15px 15px;
+ padding: 5px 15px 15px 70px;
+}
+.comment-view {
+ background-color: #fafbfc;
+ position: relative;
+
+}
+
+.comment-view:before {
+ content:"";
+ background-color:#fafbfc;
+ position: absolute;
+ height: 100%;
+ width: 4000px;
+ left: -2000px;
+ z-index: -1;
}
.blog-comment-row {
margin: 0px -15px;
padding: 15px;
- border-bottom: 1px solid @border-color;
}
.blog-comment-row:last-child {
@@ -355,10 +355,6 @@ a.active {
// background-color: #ffa;
// }
-.page-breadcrumbs {
- padding-top: 20px;
-}
-
.page-breadcrumbs .breadcrumb {
padding: 0px;
background-color: transparent;
@@ -423,3 +419,106 @@ a.active {
.btn-next-wrapper {
margin-top: 60px;
}
+
+.footer-group-label{
+ display:inline-block;
+ padding-bottom: 4px;
+ text-transform: uppercase;
+ font-size: 12px;
+}
+
+.item-list{
+ padding-top: 20px;
+}
+
+.sidebar-block, .content-block {
+ padding-top:50px;
+ padding-bottom:50px;
+}
+
+.content-header {
+ padding-bottom:20px;
+}
+
+.selected-p-item {
+ color:#7575ff;
+}
+
+a:hover, a:visited, a:link, a:active
+{
+ text-decoration: none;
+}
+
+.blog-header{
+ font-size:36px;
+ margin-bottom: 20px;
+}
+
+.blog-dot:before{
+ padding-right:8px;
+ padding-left:8px;
+ content:"\2022";
+}
+
+.blog-list-item {
+ margin-top:25px;
+ margin-bottom:25px;
+ border:none;
+}
+
+.post-description{
+ margin-top:0px;
+}
+
+.post-by {
+ margin-top:4px;
+ margin-bottom:4px;
+ text-transform: uppercase;
+ font-size: 12px;
+}
+
+li .footer-child-item {
+ margin-bottom:4px !important;
+}
+
+li .social-child-item {
+ margin-bottom:4px !important;
+}
+
+.blog-info{
+ text-align:center;
+ margin-top: 30px;
+}
+
+.blog-text{
+ text-align:justify;
+ padding-top: 50px;
+ padding-bottom: 50px;
+ font-size: 18px;
+ max-width:700px;
+ margin:auto;
+ p {
+ margin-bottom: 50px;
+ }
+}
+
+.blogger-name{
+ font-size:24px;
+}
+
+.comment-header{
+ font-size:20px;
+ padding-top:30px;
+ padding-bottom:20px;
+}
+
+#item-search {
+ position: relative;
+ outline:none;
+ border:none;
+}
+
+.vert-line {overflow:hidden;}
+.vert-line>div+div{border-left:1px solid #d1d8dd;}
+.vert-line>div{
+ padding-bottom:2000px; margin-bottom:-2000px;}
\ No newline at end of file
diff --git a/frappe/templates/generators/blog_post.html b/frappe/templates/generators/blog_post.html
index 2864fff9df..e67c56f7d3 100644
--- a/frappe/templates/generators/blog_post.html
+++ b/frappe/templates/generators/blog_post.html
@@ -1,36 +1,36 @@
{% extends "templates/web.html" %}
-{% block header %}
-
- {{ title }}
-
-{% endblock %}
-
{% block breadcrumbs %}
- {% include "templates/includes/breadcrumbs.html" %}
+
{% endblock %}
{% block page_content %}
-
- {{ blogger_info and blogger_info.full_name or full_name }},
- {{ updated }}
-
+
+
{{blog_category}}
+
+
+ BY {{ blogger_info and blogger_info.full_name or full_name }} {{ frappe.format_date(published_on) }} {{ comment_text }}
+
{{ content }}
-
-
- {{ _("This post is filed under {0}").format(blog_category) }}
-
{% if blogger_info %}
+Author
{% include "templates/includes/blog/blogger.html" %}
{% endif %}
diff --git a/frappe/templates/includes/blog/blog.html b/frappe/templates/includes/blog/blog.html
index 04355aa928..4404eab9d8 100644
--- a/frappe/templates/includes/blog/blog.html
+++ b/frappe/templates/includes/blog/blog.html
@@ -1,19 +1,12 @@
{% extends "templates/web.html" %}
{% block title %}{{ blog_title or "Blog" }}{% endblock %}
-
+{% block header %}{% endblock %}
{% block hero %}{% endblock %}
{% block page_content %}
-{% if blog_subtitle %}
-
-
- {{ blog_subtitle }}
-
-
-{% endif %}
{% include "templates/includes/list/list.html" %}
diff --git a/frappe/templates/includes/blog/blog_row.html b/frappe/templates/includes/blog/blog_row.html
index 95380096d9..868e79ec06 100644
--- a/frappe/templates/includes/blog/blog_row.html
+++ b/frappe/templates/includes/blog/blog_row.html
@@ -1,16 +1,12 @@
{%- set post = doc -%}
-
+
diff --git a/frappe/templates/includes/blog/blogger.html b/frappe/templates/includes/blog/blogger.html
index 30300fc08c..816fe11b34 100644
--- a/frappe/templates/includes/blog/blogger.html
+++ b/frappe/templates/includes/blog/blogger.html
@@ -5,7 +5,7 @@
-
About {{ blogger_info.full_name }}
+
{{ blogger_info.full_name }}
{{ blogger_info.bio }}
All Posts By {{ blogger_info.full_name }}
diff --git a/frappe/templates/includes/comments/comment.html b/frappe/templates/includes/comments/comment.html
index 307c423eb4..f6f010e9df 100644
--- a/frappe/templates/includes/comments/comment.html
+++ b/frappe/templates/includes/comments/comment.html
@@ -6,8 +6,8 @@
{{ comment.sender_full_name }}
-
-
+
+
{{ comment.creation|global_date_format }}
diff --git a/frappe/templates/includes/comments/comments.html b/frappe/templates/includes/comments/comments.html
index 9ea75d3493..eef2314aee 100644
--- a/frappe/templates/includes/comments/comments.html
+++ b/frappe/templates/includes/comments/comments.html
@@ -1,3 +1,5 @@
+
{{ _("Start a new discussion.") }}
@@ -5,11 +7,12 @@{{ _("Add Comment") }}
+{{ _("Leave a Comment") }}
+
@@ -60,10 +62,7 @@ if(n_comments > 50) { $(".add-comment").toggle(false) .parent().append("