Skip to content

Instantly share code, notes, and snippets.

@phil-lgr
Created February 4, 2016 18:14
Show Gist options
  • Save phil-lgr/7f9c27e10b041174b354 to your computer and use it in GitHub Desktop.
Save phil-lgr/7f9c27e10b041174b354 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<head>
<link
href='https://fonts.googleapis.com/css?family=Ubuntu:400,500&subset=latin,latin-ext' rel='stylesheet'
type='text/css'>
</head>
<body>
<header>
<h1>Main Header ☯</h1>
</header>
<article>
<header>
<h2>Article Header ¥</h2>
</header>
<section>
<h2>Section</h2>
<p>Section About a Topic</p>
<article>
<header>
<h3>
Nested Article Header ✎
</h3>
</header>
<h3>Nested Article</h3>
<p>Nested article content</p>
<section>Another section</section>
<footer>
<p>
Nested Article Footer
<time>Time</time>
</p>
</footer>
</article>
</section>
<footer>
<p>
Article Footer
</p>
</footer>
</article>
<address>
Address for the article
<a href="mailto:phil@conspector.com">contact us</a>.
<br>
</address>
<hr>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
<dl>
<dt>Firefox</dt>
<dd>A free, open source, cross-platform, graphical web browser
developed by the Mozilla Corporation and hundreds of volunteers.</dd>
<dt>Hello</dt>
<dd>Description of Hello</dd>
</dl>
</body>
// ----
// libsass (v3.2.5)
// ----
// theme colors
$color-orange: #EC8910;
$color-blue: #0088B8;
$color-white: #FFFFFF;
$color-black: #424347;
$color-grey-light: #F8F8F8;
$color-grey-medium: #e1e2e3;
$color-grey-dark: #565A5C;
// fonts sizes
$font-size: 15px;
$font-line-height: 1.47;
// border widths
$border-width-thin: 0.12rem;
@mixin fonts {
font-family: 'Ubuntu', sans-serif;
font-size: $font-size;
line-height: $font-line-height;
}
// Content sectioning
body {
@include fonts;
touch-action: pan-y;
}
address {
}
article {
padding: 0 0.5rem 0 0.5rem;
background: $color-grey-medium;
}
footer {
}
header {
}
h1 h2 h3 h4 h5 h6 {
}
section {
padding: 0 0.5rem 0 0.5rem;
background: $color-grey-light;
border: $border-width-thin $color-grey-dark solid;
}
nav {
padding: 1rem;
}
// Text content
// Description
dd {
}
// Definition term
dt {
}
// Definition list
dl {
}
time {
color: $color-blue;
}
body {
font-family: 'Ubuntu', sans-serif;
font-size: 15px;
line-height: 1.47;
touch-action: pan-y;
}
article {
padding: 0 0.5rem 0 0.5rem;
background: #e1e2e3;
}
section {
padding: 0 0.5rem 0 0.5rem;
background: #F8F8F8;
border: 0.12rem #565A5C solid;
}
nav {
padding: 1rem;
}
time {
color: #0088B8;
}
<head>
<link
href='https://fonts.googleapis.com/css?family=Ubuntu:400,500&subset=latin,latin-ext' rel='stylesheet'
type='text/css'>
</head>
<body>
<header>
<h1>Main Header ☯</h1>
</header>
<article>
<header>
<h2>Article Header ¥</h2>
</header>
<section>
<h2>Section</h2>
<p>Section About a Topic</p>
<article>
<header>
<h3>
Nested Article Header ✎
</h3>
</header>
<h3>Nested Article</h3>
<p>Nested article content</p>
<section>Another section</section>
<footer>
<p>
Nested Article Footer
<time>Time</time>
</p>
</footer>
</article>
</section>
<footer>
<p>
Article Footer
</p>
</footer>
</article>
<address>
Address for the article
<a href="mailto:phil@conspector.com">contact us</a>.
<br>
</address>
<hr>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
<dl>
<dt>Firefox</dt>
<dd>A free, open source, cross-platform, graphical web browser
developed by the Mozilla Corporation and hundreds of volunteers.</dd>
<dt>Hello</dt>
<dd>Description of Hello</dd>
</dl>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment