Skip to content

Commit f3bc4f6

Browse files
add .recent class to timestamps with red color styling
1 parent 43c8c49 commit f3bc4f6

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

dist/saratoga.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,10 @@ time, .time, .byline {
166166
font: 0.778rem/1em var(--sans);
167167
}
168168

169+
time.recent, .time.recent {
170+
color: var(--red);
171+
}
172+
169173
.byline a {
170174
color: inherit;
171175
font-weight: bold;

layouts/shortcodes/big-news.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ <h5 class="latest h3">LATEST NEWS</h5>
44
<div class="grid" data-children="3">
55
<article class="package" data-tb-region-item>
66
<h3 class="h4"><a href="#" data-tb-link data-tb-title>Looking for water or gas? Here are some places that have them </a></h3>
7-
<time data-tb-date>February 23, 2018 2PM</time>
7+
<time data-tb-date class="recent">February 23, 2018 2PM</time>
88
</article>
99
<article class="package" data-tb-region-item>
1010
<h3 class="h4"><a href="#" data-tb-link data-tb-title>Hurricane Irma makes landfall in the Carribean: where's she headed next</a></h3>
11-
<time data-tb-date>February 23, 2018 2PM</time>
11+
<time data-tb-date class="recent">February 23, 2018 2PM</time>
1212
</article>
1313
<article class="package" data-tb-region-item>
1414
<h3 class="h4"><a href="#" data-tb-link data-tb-title>Hurricane Irma's menacing eye strenghens</a></h3>
15-
<time data-tb-date>February 23, 2018 2PM</time>
15+
<time data-tb-date class="recent">February 23, 2018 2PM</time>
1616
</article>
1717
</div>
1818
<article id="lead-story" data-tb-region-item>

static/css/atoms.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,10 @@ time, .time, .byline {
179179
font: 0.778rem/1em var(--sans);
180180
}
181181

182+
time.recent, .time.recent {
183+
color: var(--red);
184+
}
185+
182186
.byline a {
183187
color: inherit;
184188
font-weight: bold;

0 commit comments

Comments
 (0)