From c53ec528b934c9db649a7db1dec4e048db4494c7 Mon Sep 17 00:00:00 2001 From: mathias Date: Fri, 11 Dec 2015 22:49:50 +0200 Subject: [PATCH] Update index.html --- index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 0b6c342..19b9aaf 100644 --- a/index.html +++ b/index.html @@ -303,16 +303,16 @@ input:focus, textarea:focus, button:hover, button:focus, #intro a:hover, #intro a:focus { outline: 0; } - #intro a:first-child { + #intro a:first-of-type { border-radius: 21px 0px 0px 21px; padding: 6px 10px 6px 12px; } - #intro a:last-child { + #intro a:last-of-type { border-radius: 0px 21px 21px 0px; border-left: 1px solid #aa0000; padding: 6px 13px 6px 10px; } - #intro a:first-child:before, #about h2:before { + #intro a:first-of-type:before, #about h2:before { font-family: 'icons'; content: "\e605"; } @@ -320,11 +320,11 @@ font-family: 'icons'; content: "\e602"; } - #intro a:last-child:before, #contact h2:before{ + #intro a:last-of-type:before, #contact h2:before{ font-family: 'icons'; content: "\e600"; } - #intro a:first-child:before { + #intro a:first-of-type:before { top: 1px; position: relative; } @@ -332,7 +332,7 @@ top: 1px; position: relative; } - #intro a:last-child:before { + #intro a:last-of-type:before { top: 2px; position: relative; }