Explorar el Código

Remove unnecessary page-header class and define style for header element instead

Close #75
Talha Mansoor hace 11 años
padre
commit
6cb8cf97a2

+ 4 - 4
static/css/elegant.css

@@ -417,7 +417,7 @@ article div.article-content ul:not(.articles-timeline) a:hover {
 .article-content dt {
     font-size: inherit;
 }
-.page-header h1 {
+header h1 {
     border-bottom: 1px solid #8f8686;
     color: #8B0000;
     font-size: 3em;
@@ -425,13 +425,13 @@ article div.article-content ul:not(.articles-timeline) a:hover {
     margin: 20px 0;
     padding: 5px 5px 15px;
 }
-.page-header h1 small {
+header h1 small {
     color: #8f7474;
 }
-.page-header h1 a {
+header h1 a {
     color: #8B0000;
 }
-.page-header h1 a:hover {
+header h1 a:hover, header h1 a:focus {
     text-decoration: none;
 }
 ul.articles-timeline {

+ 1 - 1
templates/404.html

@@ -9,7 +9,7 @@ Page does not exist at {{ SITENAME|striptags }} blog.
 {% endblock head_description %}
 {% block content %}
 <div class="row-fluid">
-    <header class="page-header span10 offset2">
+    <header class="span10 offset2">
     <h1>That page doesn't exist!</h1>
     </header>
 </div>

+ 1 - 1
templates/archives.html

@@ -11,7 +11,7 @@ Full archives of {{ SITENAME|striptags }} blog.
 {% block content %}
 
 <div class="row-fluid">
-    <header class="page-header span10 offset2">
+    <header class="span10 offset2">
     <h1><a href="{{ SITEURL }}/archives.html">All Posts</a></h1>
     </header>
 </div>

+ 1 - 1
templates/article.html

@@ -19,7 +19,7 @@
 {% block content %}
 <article>
 <div class="row-fluid">
-    <header class="page-header span10 offset2">
+    <header class="span10 offset2">
     <h1><a href="{{ SITEURL }}/{{ article.url }}"> {{ article.title }} {%if article.subtitle %} <small> {{ article.subtitle }} </small> {% endif %} </a></h1>
     </header>
 </div>

+ 1 - 1
templates/categories.html

@@ -15,7 +15,7 @@ All categories of the {{ SITENAME|striptags }} blog.
 
 {% block content %}
 <div class="row-fluid">
-    <header class="page-header span10 offset2">
+    <header class="span10 offset2">
     <h1><a href="{{ SITEURL }}/categories.html">All Categories</a></h1>
     </header>
 </div>

+ 1 - 1
templates/index.html

@@ -7,7 +7,7 @@
 {% block content %}
 <div class="row-fluid">
     {% if LANDING_PAGE_ABOUT and LANDING_PAGE_ABOUT.title %}
-    <header class="page-header span12">
+    <header class="span12">
     <h1><a href="{{ SITEURL }}">{{ LANDING_PAGE_ABOUT.title }}</a></h1>
     </header>
     {% endif %}

+ 1 - 1
templates/page.html

@@ -19,7 +19,7 @@
 {% block content %}
 <article>
 <div class="row-fluid">
-    <header class="page-header span10 offset2">
+    <header class="span10 offset2">
     <h1><a href="{{ SITEURL }}/{{ page.url }}"> {{ page.title }} {%if page.subtitle %} <small> {{ page.subtitle }} </small> {% endif %} </a></h1>
     </header>
 </div>

+ 1 - 1
templates/tags.html

@@ -16,7 +16,7 @@ All tags used in the {{ SITENAME|striptags }} blog.
 {% block content %}
 
 <div class="row-fluid">
-    <header class="page-header span10 offset2">
+    <header class="span10 offset2">
     <h1><a href="{{ SITEURL }}/tags.html">All Tags</a></h1>
     </header>
 </div>