reducing h2 font size for small and medium 2rem for small 2.5rem for medium
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 25 Feb 2016 22:01:56 +0000 (17:01 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 25 Feb 2016 22:01:56 +0000 (17:01 -0500)
css/app.css
scss/_structure.scss

index e9dfc0e..7e124ee 100644 (file)
@@ -7532,6 +7532,14 @@ h2 {
   color: #2c296d;
   letter-spacing: 0.07em; }
 
+@media only screen and (max-width: 40em) {
+  h2 {
+    font-size: 2rem; } }
+
+@media only screen and (min-width:40.063em) and (max-width:64em) {
+  h2 {
+    font-size: 2.5rem; } }
+
 h3 {
   color: #f48f22; }
 
index c4d22a0..398993d 100644 (file)
@@ -26,6 +26,15 @@ h2 {
     color: $purple;
     letter-spacing: 0.07em;
 }
+@media #{$small-only}{
+    h2 {
+        font-size: 2rem;
+    }
+}@media #{$medium-only}{
+    h2{
+        font-size: 2.5rem;
+    }
+}
 h3 {
     color: $orange;
 }