Skip to content

Commit 3515a88

Browse files
committed
adjusted doc dropdown per @mdboom's suggestion
closes astropy#8
1 parent e63a1e3 commit 3515a88

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

‎css/style.css‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -364,11 +364,12 @@ section#hero div#documentation{
364364

365365
section#hero div#documentation span{
366366
font-size: 10px;
367-
padding:10px 10px 6px 10px;
367+
padding:10px 20px 6px 20px;
368368
}
369369

370370
section#hero div#documentation a{
371371
color: white;
372+
text-align:center;
372373
}
373374

374375
section#hero div#documentation ul{
@@ -378,7 +379,7 @@ section#hero div#documentation ul{
378379
left: 179px; top: 33px;
379380
display: none;
380381
background-color: #FF5000;
381-
width: 87px;
382+
width: 107px;
382383
font-size: 12px;
383384
z-index:1;
384385
}
@@ -394,10 +395,7 @@ section#hero div#documentation ul li:hover{
394395
cursor: pointer;
395396
}
396397

397-
398-
/*Documentation Menu*/
399-
400-
ul.dropdown li a {
398+
section#hero div#documentation ul li a {
401399
display: block;
402400
text-decoration: none;
403401
}

‎index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<a class="button" href="http://docs.astropy.org" target="_blank">Current Documentation</a>
5353
<span class="button">Other Docs ▼</span>
5454
<ul class="dropdown">
55-
<li><a href="http://devdocs.astropy.org/" target="_blank">Developer</a></li>
55+
<li><a href="http://devdocs.astropy.org/" target="_blank">In Development</a></li>
5656
<li><a href="https://astropy.readthedocs.org/en/v0.2.5/index.html" target="_blank">v0.2.5</a></li>
5757
<li><a href="https://astropy.readthedocs.org/en/v0.2.4/index.html" target="_blank">v0.2.4</a></li>
5858
<li><a href="https://astropy.readthedocs.org/en/v0.2.3/index.html" target="_blank">v0.2.3</a></li>

0 commit comments

Comments
 (0)