Skip to content

Commit 18ac319

Browse files
committed
Scala.js version on front page. fixes #196
1 parent 1be064c commit 18ac319

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

_assets/css/style.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,3 +709,8 @@ a[name]:before {
709709
padding-left: 8px;
710710
padding-right: 8px;
711711
}
712+
713+
.smaller {
714+
font-size:60%;
715+
opacity: 0.5;
716+
}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<img width="100" src="{{ '/assets/img/scala-js-logo.svg' | prepend: site.baseurl }}">
1010

1111
<div>
12-
<h2 style="margin-top: 10px;">Scala.js</h2><h4>A safer way to build robust<br/> front-end web applications!</h4>
12+
<h2 style="margin-top: 10px;">Scala.js<span class="smaller">&nbsp;{{ site.versions.scalaJS }}</span></h2><h4>A safer way to build robust<br/> front-end web applications!</h4>
1313
</div>
1414
<div>
1515
<a class="btn btn-theme" href="{{ site.baseurl }}/tutorial/">Learn Scala.js</a>

0 commit comments

Comments
 (0)