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; }