mobile weaks for social links, etc

This commit is contained in:
Joel Glovier
2015-07-22 11:20:44 -04:00
parent b0759a4578
commit c669227915
2 changed files with 21 additions and 18 deletions
+4 -14
View File
@@ -1,12 +1,6 @@
// Mixins // Mixins
// ---------------------------------------/ // ---------------------------------------/
@function em( $fontSize, $contextSize: 16 ) {
@return 1em * ( $fontSize / $contextSize ); }
@function pct( $size, $context ) {
@return percentage( $size / $context ); }
@mixin border-radius($radius) { @mixin border-radius($radius) {
-webkit-border-radius: $radius; -webkit-border-radius: $radius;
-moz-border-radius: $radius; -moz-border-radius: $radius;
@@ -46,16 +40,12 @@
@media (min-width: $screen_width) { @content; } @media (min-width: $screen_width) { @content; }
} }
@mixin media_1 { @mixin media_larger_than_mobile {
@media (min-width: 700px) { @content; } @media (min-width: 600px) { @content; }
} }
@mixin media_2 { @mixin media_mobile {
@media (min-width: 900px) { @content; } @media (max-width: 600px) { @content; }
}
@mixin media_3 {
@media (min-width: 1100px) { @content; }
} }
// type utilities // type utilities
+17 -4
View File
@@ -50,13 +50,18 @@
font-size: 1.75rem; font-size: 1.75rem;
line-height: 2rem; line-height: 2rem;
letter-spacing: -.05rem; letter-spacing: -.05rem;
margin: 0; text-align: center;
float: left; margin: 0 0 .5rem;
@include media_larger_than_mobile {
float: left;
margin: 0;
}
} }
} }
.executive-summary { .executive-summary {
@media screen and (min-width: 600px) { font-size: 1.125rem; } @include media_larger_than_mobile { font-size: 1.125rem; }
} }
} }
@@ -64,9 +69,17 @@
margin: 0; margin: 0;
padding: 0; padding: 0;
list-style: none; list-style: none;
float: right;
position: relative; position: relative;
top: 4px; top: 4px;
text-align: center;
border-top: 2px solid #c7c7c7;
padding-top: .4rem;
@include media_larger_than_mobile {
float: right;
border-top: none;
padding-top: 0;
}
.icon-link-item { .icon-link-item {
display: inline-block; display: inline-block;