Changeset - 3d4d5c783972
[Not reviewed]
0 4 0
Christopher Neugebauer - 4 years ago 2017-08-12 17:36:09
chrisjrn@gmail.com
First attempt at themeing a bit of the site
4 files changed with 31 insertions and 7 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/_styles.html
Show inline comments
 
{% 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" %}" />
static/scss/custom.scss
Show inline comments
 
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;
 
}
 

	
 

	
 

	
 

	
static/scss/site.scss
Show inline comments
 

	
 
// 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";
 

	
static/scss/variables.scss
Show inline comments
 
$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%);
0 comments (0 inline, 0 general)