/* ========================================================================== 9. Media Queries - Smaller than 900px ========================================================================== */ @media only screen and (max-width: 900px) { blockquote { margin-left: 0; } #site-head { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; height: auto; min-height: 240px; padding: 15% 0; } .blog-title { font-size: 4rem; letter-spacing: -1px; } .blog-description { font-size: 1.7rem; line-height: 1.5em; } .post { font-size: 0.9em; line-height: 1.6em; } .post-template .post { padding-bottom: 1rem; } .post-template .post-header { padding: 40px 0; } .post-header #blog-logo:before { margin: 40px auto } h1 { font-size: 4.8rem; text-indent: -2px; } h2 { font-size: 3.8rem; } h3 { font-size: 3.3rem; } h4 { font-size: 2.8rem; } } /* ========================================================================== 10. Media Queries - Smaller than 500px ========================================================================== */ @media only screen and (max-width: 500px) { #blog-logo img { max-height: 80px; } #blog-logo { width: 80px; } #blog-logo:before { width: 80px; height: 80px; } .inner, .pagination { width: auto; margin-left: 16px; margin-right: 16px; } .post { width:auto; margin-left: 16px; margin-right: 16px; font-size: 0.8em; line-height: 1.6em; } #site-head { padding: 10% 0; } .blog-title { font-size: 3rem; } .blog-description { font-size: 1.5rem; } h1, h2 { font-size: 3rem; line-height: 1.1em; letter-spacing: -1px; } h3 { font-size: 2.8rem; } h4 { font-size: 2.3rem; } .post-template .post { padding-bottom: 0; } .post-template .post-header { padding: 30px 0; } .post-header #blog-logo:before { margin: 30px auto } .post-meta { font-size: 1.3rem; } .post-footer { padding: 4rem 0; text-align: center; } .post-footer .author { margin: 0 0 2rem 0; padding: 0 0 1.6rem 0; border-bottom: $border 1px dashed; } .older-posts, .newer-posts { position: static; margin: 10px 0; } .page-number { display: block; } .site-footer { margin-top: 6rem; font-size: 1.1rem; } } /* Animate.css - http://daneden.me/animate LICENSED UNDER THE MIT LICENSE (MIT) Copyright (c) 2012 Dan Eden */ .animated { -webkit-animation-fill-mode: both; -moz-animation-fill-mode: both; -ms-animation-fill-mode: both; -o-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-duration: 1s; -moz-animation-duration: 1s; -ms-animation-duration: 1s; -o-animation-duration: 1s; animation-duration: 1s; } .animated.hinge { -webkit-animation-duration: 2s; -moz-animation-duration: 2s; -ms-animation-duration: 2s; -o-animation-duration: 2s; animation-duration: 2s; } @-webkit-keyframes bounceInDown { 0% { opacity: 0; -webkit-transform: translateY(-2000px); } 60% { opacity: 1; -webkit-transform: translateY(30px); } 80% { -webkit-transform: translateY(-10px); } 100% { -webkit-transform: translateY(0); } } @-moz-keyframes bounceInDown { 0% { opacity: 0; -moz-transform: translateY(-2000px); } 60% { opacity: 1; -moz-transform: translateY(30px); } 80% { -moz-transform: translateY(-10px); } 100% { -moz-transform: translateY(0); } } @-o-keyframes bounceInDown { 0% { opacity: 0; -o-transform: translateY(-2000px); } 60% { opacity: 1; -o-transform: translateY(30px); } 80% { -o-transform: translateY(-10px); } 100% { -o-transform: translateY(0); } } @keyframes bounceInDown { 0% { opacity: 0; transform: translateY(-2000px); } 60% { opacity: 1; transform: translateY(30px); } 80% { transform: translateY(-10px); } 100% { transform: translateY(0); } } .bounceInDown { -webkit-animation-name: bounceInDown; -moz-animation-name: bounceInDown; -o-animation-name: bounceInDown; animation-name: bounceInDown; }