summaryrefslogtreecommitdiff
path: root/design
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2016-05-17 09:58:50 -0400
committerluxagraf <sng@luxagraf.net>2016-05-17 09:58:50 -0400
commit5a4f7455ffb3c02d6ddf4fd67cba3f73d254f20b (patch)
treedd36a6832bca92e1bf3d0be0abd4d3f9ab46d944 /design
parent7945a5a48599677c07aff9740a625a428515eeb4 (diff)
tweaked colors, created black version of posts and got rid of
unnecessary custom fonts
Diffstat (limited to 'design')
-rw-r--r--design/sass/_fonts.scss40
-rw-r--r--design/sass/_mixins.scss5
-rw-r--r--design/sass/_writing_details.scss28
-rw-r--r--design/templates/details/entry.html2
4 files changed, 28 insertions, 47 deletions
diff --git a/design/sass/_fonts.scss b/design/sass/_fonts.scss
index 0721356..dfe632a 100644
--- a/design/sass/_fonts.scss
+++ b/design/sass/_fonts.scss
@@ -8,43 +8,3 @@
font-style: normal;
}
-
-@font-face {
- font-family: "robotoslab";
- src: url("robotoslab-regular-webfont.eot");
- src: url("robotoslab-regular-webfont.eot?#iefix") format("embedded-opentype"), url("robotoslab-regular-webfont.woff") format("woff"), url("robotoslab-regular-webfont.ttf") format("truetype");
- font-weight: normal;
- font-style: normal;
-}
-
-
-@font-face {
- font-family: "robotoslab-bold";
- src: url("robotoslab-bold-webfont.eot");
- src: url("robotoslab-bold-webfont.eot?#iefix") format("embedded-opentype"), url("robotoslab-bold-webfont.woff") format("woff"), url("robotoslab-bold-webfont.ttf") format("truetype");
- font-weight: normal;
- font-style: normal;
-}
-
-@font-face {
- font-family: 'latoregular';
- src: url('lato-regular-webfont.eot');
- src: url('lato-regular-webfont.eot?#iefix') format('embedded-opentype'),
- url('lato-regular-webfont.woff2') format('woff2'),
- url('lato-regular-webfont.woff') format('woff'),
- url('lato-regular-webfont.ttf') format('truetype');
- font-weight: normal;
- font-style: normal;
-
-}
-@font-face {
- font-family: 'latobold';
- src: url('lato-bold-webfont.eot');
- src: url('lato-bold-webfont.eot?#iefix') format('embedded-opentype'),
- url('lato-bold-webfont.woff2') format('woff2'),
- url('lato-bold-webfont.woff') format('woff'),
- url('lato-bold-webfont.ttf') format('truetype');
- font-weight: normal;
- font-style: normal;
-
-}
diff --git a/design/sass/_mixins.scss b/design/sass/_mixins.scss
index ca60c3c..29b424e 100644
--- a/design/sass/_mixins.scss
+++ b/design/sass/_mixins.scss
@@ -32,11 +32,12 @@ $body_font_light: #b3aeae;
}
@mixin fancy-sans {
- font-family: latoregular, sans-serif;
+ font-family: Helvetica, sans-serif;
}
@mixin fancy-sans-bold {
- font-family: latobold, sans-serif;
+ font-family: Helvetica, sans-serif;
+ font-weight: 600;
}
%clearfix {
diff --git a/design/sass/_writing_details.scss b/design/sass/_writing_details.scss
index bf4c33e..c34f0c3 100644
--- a/design/sass/_writing_details.scss
+++ b/design/sass/_writing_details.scss
@@ -91,8 +91,7 @@
line-height: 1.9;
text-align: right;
@include fancy_sans;
- @include fontsize(11);
- font-weight: bold;
+ @include fontsize(12);
text-transform: uppercase;
letter-spacing: .5px;
color: #999;
@@ -105,9 +104,30 @@
padding: 0 2px;
@include fontsize(16);
}
-.dark .footnote-ref {
- padding: 0px 3px 0 4px;
+.dark, .black {
+ .footnote-ref {
+ padding: 0px 3px 0 4px;
+ }
+ figure.picfull {
+ border-color: #424040;
+ }
+ figcaption {
+ color: #8F8B8B;
+ }
}
+.black {
+ .post--article {
+ color: #9C9292;
+ }
+ .post--article img {
+ padding: none;
+ background: none;
+ }
+ #page-navigation a {
+ color: $body_font_light;
+ }
+}
+
//### Inline Maps ###
#detail-map-canvas {
diff --git a/design/templates/details/entry.html b/design/templates/details/entry.html
index 2b8ec51..05e2004 100644
--- a/design/templates/details/entry.html
+++ b/design/templates/details/entry.html
@@ -33,7 +33,7 @@
{%endblock%}
{%block htmlclass%}{% with object.template_name as t %}
-class="{%if t == 0 or t == 2 %}single{%endif%}{%if t == 1 or t == 3 %}double{%endif%}{%if t == 2 or t == 3 %} dark{%endif%}"{%endwith%}{%endblock%}
+class="{%if t == 1 or t == 3 or t == 5 %}double{%else%}single{%endif%}{%if t == 2 or t == 3 %} dark{%endif%}{%if t == 4 or t == 5 %} black{%endif%}"{%endwith%}{%endblock%}
{% block primary %}