website/www: fix link styling in lists

This commit is contained in:
Mitchell Hashimoto 2014-01-10 09:45:49 -08:00
parent 551fe889dc
commit 8fde97131c
2 changed files with 21 additions and 10 deletions

View File

@ -14,8 +14,19 @@ download. Some even older versions are available from the
<a href="http://downloads.vagrantup.com/">legacy downloads page</a>. <a href="http://downloads.vagrantup.com/">legacy downloads page</a>.
</p> </p>
<p>
The latest version of Vagrant can be found on the
<a href="/downloads.html">main downloads page</a>.
</p>
<% if $vagrant_versions.length > 1 %>
<ul> <ul>
<% $vagrant_versions.each do |version| %> <% $vagrant_versions[1..-1].each do |version| %>
<li><a href="/download-archive/v<%= version.to_s %>.html"><%= version.to_s %></a></li> <li><a href="/download-archive/v<%= version.to_s %>.html"><%= version.to_s %></a></li>
<% end %> <% end %>
</ul> </ul>
<% else %>
<p>
No old Vagrant versions could be found.
</p>
<% end %>

View File

@ -89,8 +89,9 @@ h6 {
p { p {
letter-spacing: 1px; letter-spacing: 1px;
line-height: 32px; line-height: 32px;
}
a { p a, ul li a {
color: @docs-blue; color: @docs-blue;
text-decoration: none; text-decoration: none;
border-bottom: 1px solid @docs-blue; border-bottom: 1px solid @docs-blue;
@ -101,7 +102,6 @@ p {
border-bottom: 1px solid darken(@blue, 10%); border-bottom: 1px solid darken(@blue, 10%);
} }
} }
}
a { a {
color: inherit; color: inherit;