diff options
Diffstat (limited to 'design')
-rw-r--r-- | design/sass/_src.scss | 22 | ||||
-rw-r--r-- | design/templates/archives/src_home.html | 3 |
2 files changed, 24 insertions, 1 deletions
diff --git a/design/sass/_src.scss b/design/sass/_src.scss index 4b5d131..e9542f4 100644 --- a/design/sass/_src.scss +++ b/design/sass/_src.scss @@ -1,3 +1,19 @@ +.src-archive { + text-align: left; + article { + margin-bottom: 3em; + } + h2 { + @include constrain_narrow; + @include fontsize(24); + @include generic_sans; + font-weight: 400; + margin-bottom: .25em; + a { + color: $body_font; + } + } +} .src-topics { @include smcaps; @include fontsize(11); @@ -5,3 +21,9 @@ .post--body pre { margin: 1em auto !important; } +code.language-bash:before { + content: "$ "; +} +code > .comment::after { + display:none; +} diff --git a/design/templates/archives/src_home.html b/design/templates/archives/src_home.html index 2eee4eb..8b85a8d 100644 --- a/design/templates/archives/src_home.html +++ b/design/templates/archives/src_home.html @@ -12,7 +12,8 @@ <main role="main" id="src-archive" class="src-archive"> <h1 class="hide">Luxagraf:src</h1>{% for object in object_list %}{% if object.slug != 'about' %} <article class="h-entry hentry {% cycle 'odd' 'even' %} {% cycle 'first' 'second' 'third' %}" itemscope itemType="http://schema.org/Article"> - <h2>{{object.title|safe}}</h2> + <h2><a href="{{object.get_absolute_url}}">{{object.title|safe}}</a></h2> + <p>{{object.meta_description}} <a href="{{object.get_absolute_url}}">Read ⇢</a></p> </article>{%endif%} {%endfor%} </main> |