SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit d0fb574e authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Styling edits

parent c676bd80
No related branches found
No related tags found
No related merge requests found
from .base import * from .base import *
# THE MAIN THING HERE # THE MAIN THING HERE
DEBUG = False DEBUG = True
# Debug toolbar settings # Debug toolbar settings
INSTALLED_APPS += ( INSTALLED_APPS += (
......
<div class="card-header mx-0 px-2"> <div class="card-header mx-0 px-2">
<h5 class="text-muted pb-0">{{publication.get_subject_area_display}}
<h3 class="card-title mb-0 "><a href="{{publication.get_absolute_url}}">{{ publication.title }}</a></h3> <h3 class="card-title mb-0 "><a href="{{publication.get_absolute_url}}">{{ publication.title }}</a></h3>
</div> </div>
<div class="card-block publication-{{publication.id}}"> <div class="card-block publication-{{publication.id}}">
......
.breadcrumb { .breadcrumb {
margin-top: -0.75rem; margin-top: -0.75rem;
margin-bottom: 0.75rem; margin-bottom: 0.75rem;
border-top: 1px solid #fff;
border-bottom: 1px solid #f0f0f0;
.breadcrumb-item { .breadcrumb-item {
margin-bottom: 0; margin-bottom: 0;
......
...@@ -3,15 +3,19 @@ ...@@ -3,15 +3,19 @@
&.card-grey { &.card-grey {
background-color: #F4F4F4; background-color: #F4F4F4;
border-color: #f1f1f1; border-color: #ddd;
} }
&.card-publication { &.card-publication {
box-shadow: 0 1px 0 0 #ddd;
.card-header { .card-header {
background-color: #eee; background-color: #eee;
border-bottom: 1px solid #ddd;
} }
.card-block { .card-block {
border-top: 1px solid #fff;
background-color: #f8f8f8; background-color: #f8f8f8;
} }
} }
......
...@@ -55,7 +55,8 @@ nav.submenu { ...@@ -55,7 +55,8 @@ nav.submenu {
padding: 0.75rem 1rem; padding: 0.75rem 1rem;
background-color: #f9f9f9; background-color: #f9f9f9;
border-radius: 0; border-radius: 0;
border-top: 1px solid #ddd; border-top: 1px solid #fff;
border-bottom: 1px solid #f0f0f0;
.item { .item {
padding: 0 0.5rem; padding: 0 0.5rem;
......
...@@ -5,6 +5,10 @@ ...@@ -5,6 +5,10 @@
.navbar { .navbar {
margin-bottom: 0.75rem; margin-bottom: 0.75rem;
&.main-nav {
border-bottom: 1px solid #ddd;
}
.nav-link { .nav-link {
padding-right: .5rem; padding-right: .5rem;
padding-left: .5rem; padding-left: .5rem;
......
<nav class="navbar navbar-scroll navbar-light"> <nav class="navbar navbar-scroll navbar-light main-nav">
<div class="navbar-scroll-inner"> <div class="navbar-scroll-inner">
<ul class="navbar-nav mr-auto"> <ul class="navbar-nav mr-auto">
<li class="nav-item{% if request.path == '/' %} active{% endif %}"> <li class="nav-item{% if request.path == '/' %} active{% endif %}">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment