Skip to content

Instantly share code, notes, and snippets.

@eddiemoya
Last active August 29, 2015 14:17
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 eddiemoya/beb5998f28df188906d2 to your computer and use it in GitHub Desktop.
Save eddiemoya/beb5998f28df188906d2 to your computer and use it in GitHub Desktop.
Fix mobile layout bug on ucr-ingress.com
/* All Smartphones in portrait and landscape ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
#join_ucr {
text-align: center;
position : fixed;
font-size: 0px;
font-weight: bold;
padding-top: 0;
padding-bottom: 0;
}
#join_ucr a {
display: block;
margin-left: auto;
margin-right: auto;
padding: 20px;
font-size: 5vw;
margin-top: 0;
margin-bottom: 0;
border-radius: 15px;
}
#call_to_action {
margin-bottom: 15%;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment