~netlandish/django-wiki

b9f60ac5f33b39ba01799289793e653e19885f13 — Benjamin Bach 4 years ago 0b2c4ca
Re-align article, breadcrumbs and navbar + fix spacing between edit sidebar items
M src/wiki/static/wiki/bootstrap/scss/wiki/wiki-bootstrap.scss => src/wiki/static/wiki/bootstrap/scss/wiki/wiki-bootstrap.scss +1 -2
@@ 1,10 1,9 @@
/*!
 * This is django-wiki's LESS rules built on top of
 * This is django-wiki's SASS rules built on top of
 * Bootstrap. Please do not modify the original Bootstrap
 * files as we try to maintain a simple and clean copy of
 * Bootstrap!!
 */

 // CSS Reset
@import "../bootstrap";
@import "wiki";

M src/wiki/static/wiki/bootstrap/scss/wiki/wiki.scss => src/wiki/static/wiki/bootstrap/scss/wiki/wiki.scss +15 -0
@@ 196,6 196,17 @@ h1#article-title {font-size: 2.5em; margin-top: 0;}
    font-size: $font-size-base;
}

#wiki-edit-sidebar
{
    .card {
        margin-bottom: 5px;
    }
    .card-body
    {
        font-size: $font-size-base*0.8;
    }
}


input[type=file] {float: none; width: auto;}
.asteriskField { font-size: 20px; margin-left: 5px;}


@@ 237,6 248,10 @@ input[type=file] {float: none; width: auto;}
  margin-top: 20px;
}

#article-breadcrumbs {
    margin: 0;
}

#wiki-footer
{
  padding: 30px 0;

M src/wiki/templates/wiki/base_site.html => src/wiki/templates/wiki/base_site.html +4 -1
@@ 19,7 19,8 @@
    {% block wiki_body %}

    {% block wiki_navbar %}
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
  <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
  <div class="container">
    {% block wiki_header_branding %}
          <a class="navbar-brand" href="{% url 'wiki:root' %}">django-\/\/ i K |</a>
    {% endblock %}


@@ 108,6 109,8 @@
        </div>
      </form>
    </div>

  </div>
  </nav>
    {% endblock %}