summaryrefslogtreecommitdiff
path: root/design
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2015-11-17 11:56:31 -0500
committerluxagraf <sng@luxagraf.net>2015-11-17 11:56:31 -0500
commit06be3368da3cef043d3939b918f7c27fb08c6e10 (patch)
tree911c48a3c49251ec942f62fd75b3c005413197b9 /design
parentc7a9f40e8d06b1914d306c54d2531a2657025942 (diff)
redid resume section and tricked out templates a bit
Diffstat (limited to 'design')
-rw-r--r--design/sass/_resume.scss41
-rw-r--r--design/templates/archives/resume-pubs.html9
-rw-r--r--design/templates/archives/resume.html2
3 files changed, 49 insertions, 3 deletions
diff --git a/design/sass/_resume.scss b/design/sass/_resume.scss
index 70b7e99..1bd9db2 100644
--- a/design/sass/_resume.scss
+++ b/design/sass/_resume.scss
@@ -101,3 +101,44 @@
font-family: sans-serif;
}
}
+.publications-list {
+ text-align: left;
+ @include constrain_narrow;
+ h2 {
+ @include smcaps;
+ @include fontsize(12);
+ font-weight: 400;
+ text-align: left;
+ border-bottom: 1px dotted #333;
+ margin-bottom: 2em;
+ &:first-of-type {
+ margin-top: 3em;
+ }
+ }
+ h3, time {
+ display: inline;
+ }
+ time:before {
+ content: "\00a0 \00a0"
+ }
+}
+
+.pub-title a {
+ color: $brown;
+ text-decoration: none;
+ font-weight: 400;
+}
+.resume h6 {
+ @include constrain_narrow;
+ text-align: left;
+ margin-bottom: 0.5em;
+ font-weight: 400;
+ @include fontsize(12);
+}
+.toc {
+ @include constrain_narrow;
+ text-align: left;
+ a {
+ color: $brown;
+ }
+}
diff --git a/design/templates/archives/resume-pubs.html b/design/templates/archives/resume-pubs.html
index 7569a8f..daed46f 100644
--- a/design/templates/archives/resume-pubs.html
+++ b/design/templates/archives/resume-pubs.html
@@ -14,11 +14,16 @@
</ul>
<main role="main">
<h1 class="hide">Publications</h1>
+ <h6>By Publication</h6>
+ <nav class="toc"><ul>{% for publisher in pub_list %}
+ <li><a href="#{{publisher.name|slugify}}">{{publisher.name}}</a></li>{%endfor%}
+ </ul></nav>
{% regroup object_list by publisher.name as pub_list %}{% for pub in pub_list %}
<ul class="publications-list">
- <li><h2>{{ pub.grouper }}</h2></li>
+ <li><h2 id="{{pub.grouper|slugify}}">{{ pub.grouper }}</h2></li>
<ul>{% for object in pub.list %}
- <li class=""><h3><a href="{{object.get_absolute_url}}">{{object.title|amp|smartypants|widont|safe}}</a></h3>
+ <li class="pub-title"><h3><a href="{{object.get_absolute_url}}">{{object.title|amp|smartypants|widont|safe}}</a></h3>
+ <time class="dt-published published dt-updated" datetime="{{object.pub_date|date:'c'}}" itemprop="datePublished">{{object.pub_date|date:"F"}} <span>{{object.pub_date|date:"j, Y"}}</span></time>
</li>{% endfor %}
</ul>{% endfor %}
</ul>
diff --git a/design/templates/archives/resume.html b/design/templates/archives/resume.html
index 40ede8c..c173460 100644
--- a/design/templates/archives/resume.html
+++ b/design/templates/archives/resume.html
@@ -22,7 +22,7 @@
<p>The personal section of my site, which is primarily about my travels can be found at <a href="https://luxagraf.net/">the root of this URL</a>.</p>
-<p>If you&#8217;d like me to write, edit, develop or consult on a website, you can contact me at sng @ luxagraf.net. </p>
+<p>If you&#8217;d like me to write, edit, develop or consult on a website, you can contact me at sng @ luxagraf.net. For consulting on writing or web development projects, please get in touch via my <a href="https://clarity.fm/scottgilbertson">clarity.fm profile</a>.</p>
<p>Thank you for visiting.</p>