From 83233b9a4c6f29a65d2a337f89951e8d25190ee9 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 25 Jan 2015 21:13:18 -0500 Subject: fixed homepage layout and builder --- design/sass/_homepage.scss | 38 +++++++++++++++++++++++++++++++++ design/templates/archives/homepage.html | 16 ++++++-------- 2 files changed, 45 insertions(+), 9 deletions(-) (limited to 'design') diff --git a/design/sass/_homepage.scss b/design/sass/_homepage.scss index 0e30d1c..423b349 100644 --- a/design/sass/_homepage.scss +++ b/design/sass/_homepage.scss @@ -44,9 +44,47 @@ } .homepage--bright { + article { + margin-top: 0; + margin-bottom: 20px; + width: 100%; + } + @include breakpoint(alpha) { + max-width: 100%; + margin-left: 0; + article { + float: left; + width: 47%; + margin-left: 1em; + } + } @include breakpoint(gamma) { float: left; width: 250px; + margin-top: 0; + article { + float: none; + width: 100%; + margin-left: 0; + } + } + @include breakpoint(delta) { + width: 340px; + } + .post--image { + margin-left: 0 !important; + margin-bottom: .5em; + max-height: 130px; + overflow: hidden; + img { + max-width: 100%; + display: block; + /* just in case, to force correct aspect ratio */ + height: auto !important; + width: auto\9; /* ie8+9 */ + /* lt ie8 */ + -ms-interpolation-mode: bicubic; + } } } .homepage--next { diff --git a/design/templates/archives/homepage.html b/design/templates/archives/homepage.html index 7ecd4de..9b8b1af 100644 --- a/design/templates/archives/homepage.html +++ b/design/templates/archives/homepage.html @@ -35,7 +35,7 @@ {%endcomment%}

About Luxagraf

-

I like to think of luxagraf as the notebook you might have found, something I might have accidentally dropped between the cushions of a jostling, camel-powered taxi winding its way through the narrow, bumpy, dusty streets of Tangier circa 1910.

+

I like to think of luxagraf as the notebook you might have found, something I might have accidentally dropped between the cushions of a jostling camel taxi winding its way through the narrow, dusty streets of Tangier circa 1910.

It could just be a website though. Except that I don’t do lists. And I’m not trying to make money.

Luxagraf is a collection of field notes, a record of some of my time on earth. Enjoy.

@@ -55,9 +55,9 @@

{% endfor %} -

Read More

+

Read More

-
+

Most Recent

{% for object in recent %}
@@ -67,12 +67,10 @@

{{object.title|safe|smartypants|widont}}

Scott Gilbertson

-

- - {% if object.country.name == "United States" %}{{object.location.name|smartypants|safe}}, {{object.state.name}}, U.S.{%else%}{{object.location.name|smartypants|safe}}, {{object.country.name}}{%endif%} - - - – +

+ {% if object.country.name == "United States" %}{{object.location.name|smartypants|safe}}, {{object.state.name}}, U.S.{%else%}{{object.location.name|smartypants|safe}}, {{object.country.name}}{%endif%} + +

{% endfor %}
-- cgit v1.2.3