Skip to content

Commit

Permalink
Respond quicker, adjust picture of self for very small devices
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Johnson committed Oct 22, 2012
1 parent a4611ed commit 25a69b7
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
15 changes: 12 additions & 3 deletions css/main.css
Expand Up @@ -312,8 +312,11 @@ a, a:visited, a:hover {
font-size: 25px; font-size: 25px;
height: 20px; } height: 20px; }
#container.sticky #sections { #container.sticky #sections {
margin-top: 120px; } } margin-top: 120px; }
@media only screen and (max-width: 720px) {
body {
font-size: 18px; } }
@media only screen and (max-width: 800px) {
/* Style adjustments for viewports that meet the condition */ /* Style adjustments for viewports that meet the condition */
.photo-display { .photo-display {
float: none; float: none;
Expand Down Expand Up @@ -347,7 +350,13 @@ a, a:visited, a:hover {
#container.sticky #nav-group a i { #container.sticky #nav-group a i {
float: none; } float: none; }
#container.sticky #nav-group a span { #container.sticky #nav-group a span {
display: none; } } display: none; }

body {
font-size: 15px; } }
@media only screen and (max-width: 600px) {
#header #right-aside {
float: none; } }
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) { @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) {
/* Style adjustments for high resolution devices */ } /* Style adjustments for high resolution devices */ }
/* ========================================================================== /* ==========================================================================
Expand Down
15 changes: 13 additions & 2 deletions css/main.scss
Expand Up @@ -365,14 +365,18 @@ a, a:visited, a:hover {
margin-top: 120px; margin-top: 120px;
} }
} }
body {
font-size: 18px;
}
} }


@media only screen and (max-width: 720px) { @media only screen and (max-width: 800px) {
/* Style adjustments for viewports that meet the condition */ /* Style adjustments for viewports that meet the condition */
.photo-display { .photo-display {
float: none; float: none;
margin-top: 0; margin-top: 0;
} }

.subsection { .subsection {
.copy { .copy {
width: 100%; width: 100%;
Expand Down Expand Up @@ -410,8 +414,15 @@ a, a:visited, a:hover {
} }
} }
} }
body {
font-size: 15px;
}
}
@media only screen and (max-width: 600px) {
#header #right-aside {
float: none;
}
} }

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min-resolution: 144dpi) { only screen and (min-resolution: 144dpi) {
/* Style adjustments for high resolution devices */ /* Style adjustments for high resolution devices */
Expand Down

0 comments on commit 25a69b7

Please sign in to comment.