Skip to content

Instantly share code, notes, and snippets.

@nqthqn
Created April 20, 2015 17:44
Show Gist options
  • Select an option

  • Save nqthqn/7c8716b68fb6698c51cc to your computer and use it in GitHub Desktop.

Select an option

Save nqthqn/7c8716b68fb6698c51cc to your computer and use it in GitHub Desktop.
Responsive CSS
@media all and (max-width: 900px) {
section#content,
section#content section#login {
max-width: 100%;
}
header{
max-width: 100%;
}
header div.user-tools{
position:initial;
}
header hgroup h2{
position: initial;
width:100%;
text-indent:initial;
background-image: none;
position: initial;
margin: 10px;
display:initial;
top:initial;
left:initial;
text-align: center;
height:initial;
background:white;
padding:5px;
border-radius:3px;
color:#47318a;
font-family: cursive;
}
footer{
width:80%
}
header nav ul{
max-width:100%;
position:initial;
}
header hgroup h1 a, header hgroup h1 a:visited{
position:initial;
margin:0px auto 20px auto;
}
section#content section.half,section#content section.full{
width:95%;
margin:10px;
}
section#content a.secondary-button,
section#content a.secondary-button:visited {
position:initial;
margin:20px;
}
section#content table#bb-activity{
width:80%;
}
header img{
display:none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment