diff options
| author | Brandon Mathis <brandon@imathis.com> | 2011-06-27 16:59:21 -0400 |
|---|---|---|
| committer | Brandon Mathis <brandon@imathis.com> | 2011-06-27 16:59:21 -0400 |
| commit | 91f0190184b605a47183d9741ea0f08e208c2cb2 (patch) | |
| tree | f2fe6c99d6992844a0bc0b777ffe554d6d04a913 /themes/classic/sass/partials/_archive.scss | |
| parent | 353ccfd4ebec153a46b12faffff8ab2bba36efc8 (diff) | |
| download | my_new_personal_website-91f0190184b605a47183d9741ea0f08e208c2cb2.tar.xz my_new_personal_website-91f0190184b605a47183d9741ea0f08e208c2cb2.zip | |
Included Sass files which should have been in my previous commit. Oops!
How embarrassing. Also I've updated the gitignore.
Diffstat (limited to 'themes/classic/sass/partials/_archive.scss')
| -rw-r--r-- | themes/classic/sass/partials/_archive.scss | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/themes/classic/sass/partials/_archive.scss b/themes/classic/sass/partials/_archive.scss new file mode 100644 index 00000000..fbf0dac6 --- /dev/null +++ b/themes/classic/sass/partials/_archive.scss @@ -0,0 +1,72 @@ +#articles .blog-archives { + article { + padding: 1em 0 1em; + position: relative; + background: $img-border bottom left repeat-x; + &:last-child { + background: none; + } + } + h2 { + background: none; + display: none; + } + h1, h2 { color: $text-color; margin-bottom: .3em; } + h1 { + font-size: 1.5em; + a { + @include hover-link; + color: inherit; + &:hover { color: $link-color-hover; } + font-weight: normal; + display: inline-block; + } + } + a.category, time { + @extend .sans; + color: $text-color-light; + } + color: $text-color-light; + .entry-content { display: none; } + time { + font-size: .9em; + line-height: 1em; + .month, .day { display: inline-block; } + .month { text-transform: uppercase; } + } + p { margin-bottom: 1em; } + &, .entry-content { a { @include link-colors(inherit, $link-color-hover); }} + a:hover { color: $link-color-hover; } + @media only screen and (min-width: 550px) { + article { margin-left: 5em; } + h2 { + background: none; + display: inline-block; + float: left; + padding-top: .75em; + &:first-child { padding-top: .75em; } + } + time { + position: absolute; + text-align: right; + left: 0em; + top: 1.8em; + } + .year { display: none; } + article { + padding:{left: 4.5em; bottom: .7em;} + } + a.category { + //text-align: right; + line-height: 1.1em; + //float: right; + } + } +} +#articles .blog-archives.category { + article { + margin-left: 0; + padding-left: 6.8em; + } + .year { display: inline; } +} |
