Associate date's range "bar" to the second date-span element, as a pseudoelement.

This allow a sole <span> element in <div class="date"> to display without a bar, which in turn allows us to achieve sematic consistency between single dates and date ranges.
This commit is contained in:
Min-Zhong "John" Lu 2017-10-07 21:59:46 -07:00
parent 032b9dcdb7
commit 999d9a973a
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@
</section> </section>
<section class="blocks"> <section class="blocks">
<div class="date"> <div class="date">
2014 <span>2014</span>
</div> </div>
<div class="decorator"> <div class="decorator">
</div> </div>

View File

@ -173,7 +173,7 @@ li{
display: block; display: block;
} }
.date span:first-child::after{ .date span:nth-child(2)::before{
position: relative; position: relative;
top: 1pt; top: 1pt;
right: 5.5pt; right: 5.5pt;