Skip to content

Instantly share code, notes, and snippets.

@starryeyez024
Created March 28, 2014 17:54
Show Gist options
  • Save starryeyez024/9838841 to your computer and use it in GitHub Desktop.
Save starryeyez024/9838841 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<body>
<section>
<div class="region-content">
<h2>Sample Title</h2>
<p>text text text</p>
<h3>Sample Title</h3>
<p>text text text</p>
</div>
<div class="super-box">
hello!
</div>
</section>
</body>
// ----
// Sass (v3.3.4)
// Compass (v1.0.0.alpha.18)
// Breakpoint (v2.4.2)
// Singularity.gs (v1.2.0)
// ----
@import "breakpoint"
@import "compass"
@import "singularitygs"
/* Variables */
$blue: #009DFF
@mixin large-title
font-size: 30px
color: $blue
/* Styles */
@media only screen (max-width: 480px) {
.region-content
width: 600px
background-image: url(http://pol.local/sites/all/themes/genon/images/green-bg-doodles.png)
background-repeat: no-repeat
background-position: 0 0
.region-content h2 {
+large-title
font-style: bold
}
.region-content h3
@include small-title
font-weight: bold;
color: 009DFF
.super-box
width: 100px
height: 100px
background: $blue
-webkit-border-top-left-radius: 5px
-webkit-border-top-right-radius: 5px
-webkit-border-bottom-right-radius: 5px
-webkit-border-bottom-left-radius: 5px
-moz-border-radius-topleft: 5px
-moz-border-radius-topright: 5px
-moz-border-radius-bottomright: 5px
-moz-border-radius-bottomleft: 5px
border-top-left-radius: 5px
border-top-right-radius: 5px
border-bottom-right-radius: 5px
border-bottom-left-radius: 5px
Inconsistent indentation: 5 spaces were used for indentation, but the rest of the document was indented using 2 spaces.
<body>
<section>
<div class="region-content">
<h2>Sample Title</h2>
<p>text text text</p>
<h3>Sample Title</h3>
<p>text text text</p>
</div>
<div class="super-box">
hello!
</div>
</section>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment