Skip to content

Commit 6fd2e01

Browse files
committed
make whats new centered and include current version
1 parent 5c9ae80 commit 6fd2e01

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

css/style.css

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,20 @@ section.whatsnew{
427427
border-right-style:none;
428428
border-left-style:none;
429429
border-padding=1px;
430+
padding-top: 15px;
431+
padding-bottom: 15px;
432+
}
430433

434+
section.whatsnew .version{
435+
color:grey;
436+
font-size: 12px;
437+
margin-top:6px;
438+
margin-bottom:0px;
439+
}
440+
441+
.whatsnew{
442+
font-size: 24px;
443+
text-align: center;
431444
}
432445

433446
/*Installation Instructions*/
@@ -676,9 +689,9 @@ color: white;
676689
position: absolute;
677690
right: -13px;
678691
top: 9px;
679-
width: 0;
680-
height: 0;
692+
width: 0;
693+
height: 0;
681694
border-left: 5px solid transparent;
682695
border-right: 5px solid transparent;
683696
border-top: 5px solid white;
684-
}
697+
}

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@
8484
</section>
8585

8686
<section class="whatsnew">
87-
<h1>What's new in <a href="http://docs.astropy.org/en/stable/whatsnew/1.3.html">Astropy 1.3?</a></h1>
87+
What's new in <a href="http://docs.astropy.org/en/stable/whatsnew/1.3.html">Astropy 1.3?</a>
88+
<p class="version">Current Version: 1.3.3</p>
8889

8990
</section>
9091
<section class="install">

0 commit comments

Comments
 (0)