diff --git a/faq.html b/faq.html index ae32cb68e1..8d5da68472 100644 --- a/faq.html +++ b/faq.html @@ -13,7 +13,7 @@ position: static; max-width: 900px; font-size: 100%; - opacity: 1; + color: black; } @@ -179,4 +179,4 @@

How can I use different highlighting for tokens with the same name in differ - \ No newline at end of file + diff --git a/style.css b/style.css index 80a674edb9..64f79af69e 100644 --- a/style.css +++ b/style.css @@ -332,10 +332,15 @@ footer { #toc { position: fixed; - left: 1%; - max-width: calc(48% - 450px); + bottom: 15px; + max-width: calc(50% - 450px - 40px); font-size: 80%; - opacity: .3; + z-index: 999; + background: white; + color: rgba(0,0,0,.5); + padding: 0 10px 10px; + border-radius: 0 3px 3px 0; + box-sizing: border-box; } @media (max-width: 1200px) { @@ -345,11 +350,12 @@ footer { } #toc:hover { - opacity: 1; + color: rgba(0,0,0,1); } #toc h1 { font-size: 180%; + margin-top: .75rem; } #toc li {