Created
November 22, 2011 20:25
-
-
Save mrdanadams/1386826 to your computer and use it in GitHub Desktop.
Fluid grids and responsive design with wordpress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media screen and (max-width: 650px) { | |
#container, #aside-container, #blog-title, #access { display: block; float: none; width: auto; margin: 0 3% 3% 3%; } | |
body { font-size: 14px; line-height: 16px; } | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* sets the max width and centers the contents */ | |
#wrapper { max-width: 960px; margin: 0px auto; } | |
/* our 2 column containers expressed as % of the container width */ | |
#container { float: left; width: 72.5%; margin-right: 2%; } | |
#aside-container { float: left; width: 24.25%; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment