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:
parent
bb319e2add
commit
c9e87f3044
2 changed files with 3 additions and 7 deletions
2
Cakefile
2
Cakefile
|
@ -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"> – <small>#{formatDate date}</small></span>
|
||||
<span class="timestamp"> — <time datetime="#{date}">#{formatDate date}</time></span>
|
||||
</b>
|
||||
"""
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue