Header improvements

master
Laurent Morvillier 6 years ago
parent 9cb1042df7
commit 43b8cba288
  1. 15
      news/static/news/css/app.css
  2. 2
      news/templates/base.html
  3. 2
      news/templates/news/index.html

@ -47,7 +47,10 @@ header {
} }
.title { .title {
background-color: var(--header-bg-color); border-top: 2px solid var(--header-bg-color);
border-bottom: 2px solid var(--header-bg-color);
/* background-color: var(--header-bg-color); */
} }
header h1 { header h1 {
@ -71,7 +74,7 @@ header h1 a {
} }
header h1 a:hover { header h1 a:hover {
color: #BFA030; color: var(--header-bg-color);
} }
header h2 { header h2 {
margin-top: -10px; margin-top: -10px;
@ -81,8 +84,9 @@ header h2 {
nav { nav {
padding: 4px; padding: 4px;
font-size: 14px; font-size: 13px;
background-color: #333; text-transform: uppercase;
/* background-color: #333; */
} }
footer { footer {
@ -149,6 +153,9 @@ a h1 {
} }
} }
.date {
margin-bottom: 4px;
}
.details { .details {
font-size: 14px; font-size: 14px;
color: #999; color: #999;

@ -42,9 +42,9 @@
<!-- Header --> <!-- Header -->
<header> <header>
<img src="{% static 'image/icon128_transparent.png' %}" alt="Poker Rumble icon" width="96" height="96"/>
<div class="title"> <div class="title">
<h1> <h1>
<!-- <img src="{% static 'image/icon_square.png' %}" alt="Poker Rumble icon" width="64" height="56"/> -->
<a href="{% url 'news:index' %}">poker rumble</a> <a href="{% url 'news:index' %}">poker rumble</a>
</h1> </h1>
</div> </div>

@ -12,7 +12,7 @@
<!-- A post --> <!-- A post -->
<article> <article>
<div class="details lat_padding"> <div class="date details lat_padding">
{{ post.date }} - {{ post.author.username }} {{ post.date }} - {{ post.author.username }}
</div> </div>

Loading…
Cancel
Save