Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

css: add permanent, non-dropdown language links

Previously, we had some text saying "Other Languages" in the page's
language, which the user might hover over to get links to other
languages.  This was not very useful if you could not understand the
"Other Languages" text!

Now all of the languages are visible without having to hover.
  • Loading branch information...
commit 5017609f492de885f200d0e5085036f8ff956b47 1 parent 0295cb1
@MarkLodato authored
Showing with 3 additions and 12 deletions.
  1. +3 −12 visual-git-guide.css
View
15 visual-git-guide.css
@@ -17,28 +17,19 @@ ol ol {
padding: 0;
text-align: right;
}
-#language-box a {
- color: blue;
- display: block;
- padding-bottom: .5ex;
-}
#language-box ul {
- display: none;
+ display: inline;
list-style: none;
margin: 0 0 0 -0.5em;
padding: 0.5em;
width: 100%;
- border: 1px black dashed;
- background-color: white;
}
#language-box ul li {
padding: .2ex 0;
+ display: inline;
}
#language-box ul li.selected {
- font-weight: bold;
-}
-#language-box:hover ul {
- display: block;
+ display: none;
}
@media print {
#language-box {
Please sign in to comment.
Something went wrong with that request. Please try again.