diff --git a/frappe/public/css/website.css b/frappe/public/css/website.css
index 6f2ce80f87..e817756041 100644
--- a/frappe/public/css/website.css
+++ b/frappe/public/css/website.css
@@ -382,6 +382,15 @@ h5,
h6 {
font-weight: 400;
}
+h1 a,
+h2 a,
+h3 a,
+h4 a,
+h5 a,
+h6 a {
+ color: inherit !important;
+ text-decoration: none;
+}
.navbar-brand {
max-width: none;
}
@@ -582,7 +591,8 @@ fieldset {
margin-top: 15px;
}
.web-list-item {
- padding: 15px 0px;
+ padding-top: 15px;
+ padding-bottom: 45px;
border-bottom: 1px solid #EBEFF2;
}
.web-list-item h1,
@@ -590,15 +600,6 @@ fieldset {
.web-list-item h3 {
margin-top: 10px;
}
-.web-list-item h1 a,
-.web-list-item h2 a,
-.web-list-item h3 a,
-.web-list-item h4 a,
-.web-list-item h5 a,
-.web-list-item h6 a {
- color: inherit !important;
- text-decoration: none;
-}
.blog-info {
text-align: center;
margin-top: 30px;
diff --git a/frappe/public/less/website.less b/frappe/public/less/website.less
index 28f0acf6b6..cf6973e381 100644
--- a/frappe/public/less/website.less
+++ b/frappe/public/less/website.less
@@ -20,6 +20,13 @@ a& {
h1, h2, h3, h4, h5, h6 {
font-weight: 400;
+
+ // anchor inside header should not be styled
+ a {
+ color: inherit !important;
+ text-decoration: none;
+ }
+
}
@@ -269,19 +276,13 @@ fieldset {
}
.web-list-item {
- padding: 15px 0px;
+ padding-top: 15px;
+ padding-bottom: 45px;
border-bottom: 1px solid @light-border-color;
h1, h2, h3 {
margin-top: 10px;
}
-
- h1, h2, h3, h4, h5, h6 {
- a {
- color: inherit !important;
- text-decoration: none;
- }
- }
}
// .web-list-item:hover {
diff --git a/frappe/templates/includes/blog/blog.html b/frappe/templates/includes/blog/blog.html
index e4d5a1eabd..18617a3cf7 100644
--- a/frappe/templates/includes/blog/blog.html
+++ b/frappe/templates/includes/blog/blog.html
@@ -16,12 +16,4 @@
{% block script %}
-{% endblock %}
-
-{% block style %}
-
-{% endblock %}
+{% endblock %}
\ No newline at end of file