From 18342abd236b6885ccf4f7e8e4c6f7c075f22557 Mon Sep 17 00:00:00 2001 From: squeek Date: Wed, 22 Oct 2014 00:21:49 -0700 Subject: [PATCH] Better nav --- index.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 000c424..79b43c3 100644 --- a/index.html +++ b/index.html @@ -26,11 +26,12 @@ ul { margin-top: 1em; } .embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; height: auto; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } - nav { position:relative; clear:both; margin-bottom: 1em; } + nav { position:relative; clear:both; margin-bottom: .75em; } nav ul { list-style: none; background: #333; margin: 0; } nav ul li { float: left; position: relative; margin:0 .5em; } - nav ul li a { display: block; padding:.55em .55em; } - header nav { font-size: 120%; margin-top: .25em; } + nav > ul > li:first-child { margin-left: 0; } + nav ul li a { display: block; padding:.55em .55em; background: #eee; margin-bottom: .5em; } + header nav { font-size: 120%; margin-top: .75em; } div.top { margin-bottom: 2em; } div.bottom { } @@ -49,7 +50,7 @@

Fortress Forever

A free Team Fortress mod on the Source Engine

-

Download

+

Download