1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

changelog: use time elements for release dates

This commit is contained in:
David Chambers 2014-02-18 08:49:46 -08:00
parent bb319e2add
commit c9e87f3044
2 changed files with 3 additions and 7 deletions

View file

@ -88,7 +88,7 @@ releaseHeader = (date, version, prevVersion) -> """
<div class="anchor" id="#{version}"></div>
<b class="header">
#{prevVersion and "<a href=\"https://github.com/jashkenas/coffee-script/compare/#{prevVersion}...#{version}\">#{version}</a>" or version}
<span class="timestamp"> &ndash; <small>#{formatDate date}</small></span>
<span class="timestamp"> &mdash; <time datetime="#{date}">#{formatDate date}</time></span>
</b>
"""

View file

@ -81,14 +81,10 @@ code, pre, tt, textarea {
padding-left: 0;
}
.timestamp {
font-size: 12px;
font-size: 11px;
font-weight: normal;
color: black;
text-transform: uppercase;
}
.timestamp small {
font-size: 11px;
text-transform: uppercase;
}
div.anchor {
position: relative;
top: -90px;