Skip to content

Instantly share code, notes, and snippets.

@braddalton
Created April 3, 2013 10:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save braddalton/5300215 to your computer and use it in GitHub Desktop.
Save braddalton/5300215 to your computer and use it in GitHub Desktop.
/* Sub Widgets
------------------------------------------------------------ */
#sub-widget {
background-color: #ddd;
clear: both;
color: #333;
font-size: 16px;
margin: 0 auto;
overflow: hidden;
padding: 40px 0;
width: 100%;
}
#sub-widget h4 {
color: #333;
font-size: 16px;
font-weight: normal;
}
#sub-widget a,
#sub-widget a:visited {
color: #6ab446;
}
#sub-widget p {
color: inherit;
font-size: inherit;
}
.sub-widget-left {
float: left;
width: 510px;
}
.sub-widget-right {
float: right;
width: 510px;
}
/* Responsive Design
------------------------------------------------------------ */
@media only screen and (max-width: 1200px) {
.sub-widget-right {
width: 460px;
}
.sub-widget-left {
width: 460px;
}
@media only screen and (max-width: 1023px) {
.sub-widget-left,
.sub-widget-right {
width: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment