From af8fa420b7b21952d8cb6ab520fbaf5ba02cd8b5 Mon Sep 17 00:00:00 2001 From: jeena Date: Fri, 19 Jul 2013 15:05:27 +0200 Subject: [PATCH] fixed box --- public/style/main.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/style/main.css b/public/style/main.css index ee6478a..1d8f4b8 100644 --- a/public/style/main.css +++ b/public/style/main.css @@ -184,8 +184,8 @@ footer #social { .col1, .col2, .col3, .col4 { clear: both; margin-bottom: 1.5em; padding-top: 2em; } .col1.line, .col2.line, .col3.line, .col4.line { border-top: 5px solid #993533; } -.col > *:first-child { margin-top: 0; padding-top: 0; } -.col > h2:first-child { margin-top: -0.25em; } +.col:not(.box) > *:first-child { margin-top: 0; padding-top: 0; } +.col:not(.box) > h2:first-child { margin-top: -0.25em; } .col { -webkit-box-sizing: border-box; @@ -239,6 +239,7 @@ div .col:last-child { margin-right: 0; } color: white; font-size: 1.1em; padding: 0.5em 1em; + margin: 0; text-align: center; font-family: "Trebuchet MS", "Lucida Grande", verdana, sans-serif; }