Compare commits
2 Commits
d26585fed4
...
01c2a1996c
Author | SHA1 | Date | |
---|---|---|---|
01c2a1996c | |||
bb7a01fd2f |
@ -13,11 +13,32 @@ h1, h2, h3, h4, h5, h6 {
|
||||
margin-bottom: 120px;
|
||||
}
|
||||
|
||||
.group-name {
|
||||
.media-body {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.group-name {
|
||||
position: absolute;
|
||||
display: block;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
text-align: right;
|
||||
background-color: #18638f;
|
||||
width: fit-content;
|
||||
color: #fff;
|
||||
font-weight: 700;
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
padding-right: 8px;
|
||||
padding-left: 8px;
|
||||
border-radius: 4px;
|
||||
border: none;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
.group-name:hover {
|
||||
color: #fff;
|
||||
background-color: #19425f;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
@ -36,6 +57,7 @@ h1, h2, h3, h4, h5, h6 {
|
||||
|
||||
.site-header .navbar-nav .nav-link {
|
||||
color: #cbd5db;
|
||||
font-weight: 700;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
margin-top: 0;
|
||||
@ -44,13 +66,9 @@ h1, h2, h3, h4, h5, h6 {
|
||||
padding-top: 35px;
|
||||
}
|
||||
|
||||
.site-header li > .nav-item.nav-link {
|
||||
color: #495057;
|
||||
}
|
||||
|
||||
.site-header .navbar-nav .nav-link:hover {
|
||||
color: #ffffff;
|
||||
background-color: #549ec7;
|
||||
color: #fff;
|
||||
background-color: #19425f;
|
||||
}
|
||||
|
||||
.site-header .navbar-nav .nav-link.active {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{% extends "layout.html" %}
|
||||
{% block content %}
|
||||
{% if current_user.is_authenticated %}
|
||||
<h1>Hej, {{ current_user.first_name }} {{ current_user.first_name }}</h1>
|
||||
<h1>Hej, {{ current_user.first_name }} {{ current_user.last_name }}</h1>
|
||||
<hr>
|
||||
<h2>Opslag</h2>
|
||||
{% for post in posts %}
|
||||
@ -13,9 +13,9 @@
|
||||
</div>
|
||||
<h2><a class="article-title" href="#">{{ post.title }}</a></h2>
|
||||
<p class="article-content">{{ post.content }}</p>
|
||||
<div class="group-name" >
|
||||
<a href="#">{{ post.group_name }}</a>
|
||||
</div>
|
||||
<a class="group-name" href="#">
|
||||
{{ post.group_name }}
|
||||
</a>
|
||||
</div>
|
||||
</article>
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user