@media (max-width: 870px) { header { text-align: center; } #logo, nav, .overview div { float: none !important; width: 100% !important; } .about { margin-top: 3em; margin-left: 0 !important; text-align: left; } } @media (max-width: 500px) { .service-row .row-fluid div { float: none; } #services .img { text-align: center; } #services .desc, #services .img { width: 100%; } } @media (min-width: 500px) and (max-width: 767px) { .service-row .row-fluid div { float: left; } .service-row .row-fluid .img { width: 20% !important; } .service-row .row-fluid .desc { width: 80%; } } @media (max-width: 767px) { .service-row { margin: 0; } } @media (max-width: 527px) { nav a { display: block; line-height: 1.2em; margin: 0.5em; } } @media (max-width: 527px) { h1 { font-size: 20px; margin: 6px 0px 10px 0px; } h1 small { font-size: 16px; } h2 { font-size: 16px; line-height: 1.2; margin: 8px 0px 4px 0px; } h2 small { font-size: 13px; } h3 { font-size: 14px; line-height: 1.2; margin: 6px 0px 4px 0px; } h3 small { font-size: 12px; } h4 { font-size: 14px; } h4 small { font-size: 12px; } h1, h2, h3, h4, h5, h6 { line-height: 1.2; } #post-date h1 { margin: 0.0em 0.0em 0.0em 0.0em; } #blog-show small { float: none !important; margin: 0.0em 0em 0.0em 0em !important; font-size: 16px; line-height: 20px } }