First attempt at themeing a bit of the site

This commit is contained in:
Christopher Neugebauer 2017-08-12 10:36:09 -07:00
parent 4d0611e71b
commit 3d4d5c7839
4 changed files with 31 additions and 7 deletions

View file

@ -1,6 +1,7 @@
{% load compress %}
{% load staticfiles %}
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,500,700" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
{% compress css %}
<link rel="stylesheet" type="text/x-scss" href="{% static "scss/site.scss" %}" />

View file

@ -1,7 +1,19 @@
body {
padding-top: 50px;
position: relative;
font-weight: 300; // Not overridable in bootstrap at the moment.
}
// Not overridable in bootstrap at the moment
.dropdown-menu >li >a {
font-weight: 300;
}
// Not overridable in bootstrap at the moment.
strong {
font-weight: 500;
}
section {
padding: 20px 0px;
}
@ -64,7 +76,3 @@ body.reviews.voting-status {
.sponsor-list > div {
margin: 10px 0;
}

View file

@ -1,11 +1,14 @@
// Variables MUST be imported before bootstrap CSS, otherwise nothing gets done.
$icon-font-path: "bootstrap-sass/assets/fonts/bootstrap/";
@import "variables.scss";
// Bootstrap itself
@import "../bootstrap/stylesheets/_bootstrap.scss";
/* @import "bootstrap";
@import "font-awesome"; */
@import "variables.scss";
// Account
@import "account.scss";

View file

@ -1,3 +1,15 @@
$font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
// Used by links, buttons, and other background bits.
$brand-primary: #1f6400;
$font-family-sans-serif: 'Montserrat', Arial, sans-serif;
$font-family-serif: Georgia, "Times New Roman", Times, serif;
$font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
// Navbar
$navbar-default-bg: $brand-primary;
$navbar-default-color: white;
$navbar-default-link-color: darken($navbar-default-color, 6.5%);
$navbar-default-link-hover-color: darken($navbar-default-link-color, 6.5%);
$navbar-default-link-active-color: $navbar-default-link-hover-color;
$navbar-default-link-disabled-color: lighten($navbar-default-bg, 6.5%);