Last active
August 29, 2015 14:19
-
-
Save starryeyez024/dd8faf40bf6cce86440b to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class=""> | |
<div> | |
</div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
// Objective #1 Resolve syntax issues so that this code compiles to CSS. | |
// Objective #2 Fix any potential problems this CSS could cause on redhat.com. | |
// Objective #3 Make the code DRY! | |
$gray: #333; | |
@mixin small-title { | |
} | |
@media screen and (max-width: 480px) { | |
.region-content { | |
width: 600px; | |
background-image: url(http://redhat.local/images/red-bg.png); | |
background-repeat: no-repeat; | |
background-position: 0 0; | |
#block-block-7 a { | |
background: #333; | |
} | |
#block-block-5 a { | |
background: #333; | |
} | |
#block-block-1 a { | |
background: $gray; | |
} | |
} | |
} | |
.region-content h2 { | |
@include small-title; | |
font-size: 92em; | |
font-weight: bold; | |
color: #333; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media screen and (max-width: 480px) { | |
.region-content { | |
width: 600px; | |
background-image: url(http://redhat.local/images/red-bg.png); | |
background-repeat: no-repeat; | |
background-position: 0 0; | |
} | |
.region-content #block-block-7 a { | |
background: #333; | |
} | |
.region-content #block-block-5 a { | |
background: #333; | |
} | |
.region-content #block-block-1 a { | |
background: #333; | |
} | |
} | |
.region-content h2 { | |
font-size: 92em; | |
font-weight: bold; | |
color: #333; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class=""> | |
<div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment