Skip to content

Commit 477a467

Browse files
committed
fix(typography): use consistent font and color for project list
1 parent c85b7b8 commit 477a467

File tree

3 files changed

+12
-25
lines changed

3 files changed

+12
-25
lines changed

static/css/elegant.css

Lines changed: 9 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ table.highlighttable tbody > tr:nth-child(odd) > td {
120120
background-color: transparent;
121121
}
122122
/* Tags */
123+
ul.list-projects,
123124
.list-of-tags {
124125
list-style: none;
125126
margin: 0;
@@ -259,37 +260,25 @@ a:not(.collapsed).accordion-toggle.category-title-inside-accordion {
259260
border-radius: var(--borderRadius);
260261
color: #fff;
261262
}
262-
/* Archives */
263-
ul.list-all-articles {
264-
list-style: none;
265-
margin: 0;
266-
}
267-
ul.list-all-articles li {
268-
border-bottom: 1px dotted #000;
269-
font-family: "Trebuchet MS", Trebuchet, "Lucida Sans Unicode", "Lucida Grande",
270-
"Lucida Sans", Arial, Sans-Serif;
271-
font-size: 1.1em;
272-
padding: 0.3em 0;
273-
overflow: auto;
274-
}
275263
div.blog-archives h2 {
276264
float: left;
277265
position: relative;
278266
margin: 0;
279267
}
268+
.proj-desc {
269+
color: var(--mutedTextColor);
270+
}
271+
ul.list-projects li,
280272
div.blog-archives div,
281273
div.recent-posts-article {
282274
border-bottom: 1px dotted var(--mutedTextColor);
275+
overflow: auto;
276+
padding: 0.3rem 0.2rem;
277+
position: relative;
283278
}
284279
ul.list-articles-under-tag-category li {
285280
padding: 0.1rem 0.2rem;
286281
}
287-
div.blog-archives div,
288-
div.recent-posts-article {
289-
padding: 0.3rem 0.2rem;
290-
position: relative;
291-
overflow: auto;
292-
}
293282
div.blog-archives div {
294283
margin-left: 6em;
295284
}
@@ -390,18 +379,14 @@ div.recent-posts-posted {
390379
}
391380
/* Index page */
392381
#allposts {
393-
color: #999;
382+
color: var(--mutedTextColor);
394383
float: right;
395384
font-size: 75%;
396385
font-weight: normal;
397386
}
398387
a#allposts:hover {
399388
color: #333;
400389
}
401-
.proj-desc {
402-
color: #999;
403-
font: 0.9em "PT Sans", "Helvetica Neue", Arial, Sans-Serif;
404-
}
405390
/* reST specific rules*/
406391
.literal {
407392
background-color: #f7f7f9;

static/css/typography.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,14 @@ a.category-title-inside-accordion {
162162
.author-blurb {
163163
font-style: italic;
164164
}
165+
ul.list-projects li,
165166
div.blog-archives div,
166167
div.recent-posts-article,
167168
ul.list-articles-under-tag-category li {
168169
font-family: var(--sansFontFamily);
169170
font-size: 0.963rem;
170171
}
172+
.proj-desc,
171173
div.blog-archives time,
172174
div.recent-posts time,
173175
ul.list-articles-under-tag-category li time,

templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ <h1 id="about-me">{{ landing_page.page.title }}</h1>
7373
<h1 id="my-projects">{{ PROJECTS_TITLE }}</h1>
7474
</header>
7575
{% for project in PROJECTS %}
76-
<ul class="list-all-articles">
76+
<ul class="list-projects">
7777
<li>
7878
<a href="{{ project.url }}" title="{{ project.name }}">{{ project.name }}</a> <span class="proj-desc">{{ project.description }}</span>
7979
</li>

0 commit comments

Comments
 (0)