Skip to content

Instantly share code, notes, and snippets.

@mistergraphx
Last active August 29, 2015 14:06
Show Gist options
  • Save mistergraphx/12683fc9347488654299 to your computer and use it in GitHub Desktop.
Save mistergraphx/12683fc9347488654299 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.3)
// Compass (v1.0.1)
// Breakpoint (v2.5.0)
// Normalize SCSS (v3.0.1)
// Susy (v2.1.3)
// ----
@import "compass";
@import "normalize-scss";
@import "breakpoint";
@import "susy";
@import url("http://fonts.googleapis.com/css?family=Inconsolata|Lato:400,400italic,700|Merriweather:400");
// --------------------------------------------------------
/* # Variables
*/
$sans-font-family: "Lato", sans-serif ;
$serif-font-family: "Merriweather", serif ;
// Compass Vertical Rhythm Settings
$base-font-size: 16px; // Sets the base font size
$base-line-height: 23px; // Sets the base line height
$round-to-nearest-half-line: true; // Allows compass to round to multiples of 0.5x line height
$rhythm-unit: "rem"; // Sets rhythm unit to rem. Remove to use default em unit.
// Debug
$show-baseline-grid-backgrounds : true;
$grid-background-baseline-color : rgba(0, 0, 0, 0.3);
// Establishes baseline with Compass.
@include establish-baseline;
$desktop-grid: (
columns: 12,
gutters: 1/4,
math: fluid,
output: float,
gutter-position: after,
debug: (
image: show,
color: rgba(#9cd5ed, 0.25),
output: background,
toggle: top right,
),
);
$tablet-grid: (
columns: 4,
gutters: 1/4,
math: fluid,
output: float,
gutter-position: after,
debug: (
image: show,
color: rgba(#9cd5ed, 0.25),
output: background,
toggle: top right,
),
);
/* # Brekpoint /mediaqueries
<http://susy.readthedocs.org/en/latest/toolkit/#breakpoint>
<https://github.com/Team-Sass/breakpoint/wiki/Basic-Media-Queries>
$phone - 0 320px;
$desktop - 900px;
$tablet - 400px 899px;
$breakpoint-to-ems - {boolean} (! false) ;
*/
$phone : 0 320px;
$desktop : 900px;
$tablet : 400px 899px;
// --------------------------------------------------------
/*
Styleguide typo
*/
html {
font-size: 16px;
font-family: $sans-font-family;
line-height: 24px;
font-weight:normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
@include breakpoint($tablet){
@include container;
@include layout($tablet-grid);
@include show-grid(background);
}
@include breakpoint($desktop){
@include container(80em);
@include layout($desktop-grid);
@include show-grid(background);
}
}
p.weight1 {
font-family: "Merriweather";
font-weight: 300;
font-style: italic;
font-size: 36px;
line-height: 30px;
}
p.weight2 {
font-family: "Merriweather";
font-weight: 300;
font-style: normal;
font-size: 36px;
line-height: 30px;
}
p.weight3 {
font-family: "Merriweather";
font-weight: 400;
font-style: italic;
font-size: 36px;
line-height: 30px;
}
p.weight4 {
font-family: "Merriweather";
font-weight: 400;
font-style: normal;
font-size: 36px;
line-height: 30px;
}
p.weight5 {
font-family: "Merriweather";
font-weight: 700;
font-style: italic;
font-size: 36px;
line-height: 30px;
}
p.weight6 {
font-family: "Merriweather";
font-weight: 700;
font-style: normal;
font-size: 36px;
line-height: 30px;
}
p.weight7 {
font-family: "Merriweather";
font-weight: 900;
font-style: italic;
font-size: 36px;
line-height: 30px;
}
p.weight8 {
font-family: "Merriweather";
font-weight: 900;
font-style: normal;
font-size: 36px;
line-height: 30px;
}
h1 {
font-size: 64px;
line-height: 73px;
margin-bottom: 25px;
}
p {
font-size: 1em;
line-height: 1.4em;
margin-bottom: 35px;
font-family: "Lato", sans-serif;
font-weight: 400;
font-style: normal;
}
p.weights {
letter-spacing: 2px;
font-size: 13px;
color: rgba(173,173,173,1);
margin-bottom: 35px;
border-width: 0px 0px 1px 0px;
border-style: dotted;
margin-top: 45px;
}
p.pullquote {
font-size: 17px;
line-height: 26px;
margin-bottom: 35px;
padding-left: 15px;
border-width: 0px 0px 0px 3px;
border-style: solid;
}
p.map {
font-weight: 400;
font-style: normal;
margin-bottom: 0px;
text-align: justify;
font-size: 27px;
line-height: 54px;
margin-top: 0px;
}
p.heading {
letter-spacing: 2px;
font-size: 13px;
margin-bottom: 35px;
border-width: 0px 0px 1px 0px;
border-style: dotted;
margin-top: 45px;
color: rgba(0,0,0,1);
}
p.intro {
margin-bottom: 35px;
font-size: 21px;
line-height: 28px;
}
p.inverse-big {
background-color: rgba(51,51,51,1);
color: rgba(255,255,255,1);
padding: 30px;
margin-bottom: 0px;
}
p.inverse-med {
background-color: rgba(51,51,51,1);
color: rgba(255,255,255,1);
padding: 30px;
margin-bottom: 0px;
padding-top: 0px;
font-size: 15px;
}
p.inverse-small {
padding-top: 0px;
padding-left: 30px;
padding-right: 30px;
padding-bottom: 30px;
background-color: rgba(51,51,51,1);
color: rgba(255,255,255,1);
font-size: 13px;
}
p.inverse-heading {
background-color: rgba(51,51,51,1);
color: rgba(255,255,255,1);
padding: 30px;
margin-bottom: 0px;
padding-bottom: 0px;
font-size: 15px;
letter-spacing: 2px;
margin-top: 50px;
}
/* Simple blockquote styling
<http://css-tricks.com/snippets/css/simple-and-nice-blockquote-styling/>
<http://24ways.org/2005/swooshy-curly-quotes-without-images/>
<http://typeplate.com/#block-quotes>
Compatibility untested
Styleguide typo.blockquotes
*/
$line-height: 1.4;
blockquote {
background: #f9f9f9;
border-left: 10px solid #ccc;
margin: 1.5em 10px;
padding: 0.5em 10px;
quotes: "\201C""\201D""\2018""\2019";
font-family: $serif-font-family;
}
blockquote:before {
color: #ccc;
content: open-quote;
font-size: 4em;
line-height: 0.1em;
margin-right: 0.15em;
vertical-align: -0.4em;
font-family: $serif-font-family;
}
blockquote:after {
color: #ccc;
content: close-quote;
font-size: 4em;
line-height: 0.1em;
margin-left: 0.15em;
vertical-align: -0.5em;
font-family: $serif-font-family;
}
blockquote p {
display: inline;
font-family: $serif-font-family;
font-style:italic;
}
/* # Layout
*/
header[role="banner"]{
height:60px;
padding-left:25%;
background-color:#330028;
color:white;
overflow:hidden;
> h1 {
margin:0;
font-family: $sans-font-family;
font-size:1.5em;
font-weight:400;
text-transform:uppercase;
& a {
color:white;
text-decoration:none;
}
& span {
font-size:0.7em;
text-transform:lowercase;
color:#ff0040;
}
}
}
main[role="main"]{
width:100%;
margin:0 auto;
& section > header {
height:200px;
padding-left:25%;
background-color:#4d003c;
overflow:hidden;
position:relative;
font-weight:400;
font-family: $serif-font-family;
&:before {
background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTM2IiBoZWlnaHQ9IjEzNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyB0cmFuc2Zvcm09InJvdGF0ZSgtNDUgNjggNjgpIHRyYW5zbGF0ZSgtMjcgLTI3KSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iLjI1IiBzdHJva2Utd2lkdGg9IjIiIGZpbGw9Im5vbmUiPjxyZWN0IHdpZHRoPSIxOTAiIGhlaWdodD0iMTkwIi8+PHJlY3QgeD0iNCIgeT0iNCIgd2lkdGg9IjE4MiIgaGVpZ2h0PSIxODIiLz48cmVjdCB4PSI4IiB5PSI4IiB3aWR0aD0iMTc0IiBoZWlnaHQ9IjE3NCIvPjxyZWN0IHg9IjEyIiB5PSIxMiIgd2lkdGg9IjE2NiIgaGVpZ2h0PSIxNjYiLz48cmVjdCB4PSIxNiIgeT0iMTYiIHdpZHRoPSIxNTgiIGhlaWdodD0iMTU4Ii8+PHJlY3QgeD0iMjAiIHk9IjIwIiB3aWR0aD0iMTUwIiBoZWlnaHQ9IjE1MCIvPjxyZWN0IHg9IjI0IiB5PSIyNCIgd2lkdGg9IjE0MiIgaGVpZ2h0PSIxNDIiLz48cmVjdCB4PSIyOCIgeT0iMjgiIHdpZHRoPSIxMzQiIGhlaWdodD0iMTM0Ii8+PHJlY3QgeD0iMzIiIHk9IjMyIiB3aWR0aD0iMTI2IiBoZWlnaHQ9IjEyNiIvPjxyZWN0IHg9IjM2IiB5PSIzNiIgd2lkdGg9IjExOCIgaGVpZ2h0PSIxMTgiLz48cmVjdCB4PSI0MCIgeT0iNDAiIHdpZHRoPSIxMTAiIGhlaWdodD0iMTEwIi8+PHJlY3QgeD0iNDQiIHk9IjQ0IiB3aWR0aD0iMTAyIiBoZWlnaHQ9IjEwMiIvPjxyZWN0IHg9IjQ4IiB5PSI0OCIgd2lkdGg9Ijk0IiBoZWlnaHQ9Ijk0Ii8+PHJlY3QgeD0iNTIiIHk9IjUyIiB3aWR0aD0iODYiIGhlaWdodD0iODYiLz48cmVjdCB4PSI1NiIgeT0iNTYiIHdpZHRoPSI3OCIgaGVpZ2h0PSI3OCIvPjxyZWN0IHg9IjYwIiB5PSI2MCIgd2lkdGg9IjcwIiBoZWlnaHQ9IjcwIi8+PHJlY3QgeD0iNjQiIHk9IjY0IiB3aWR0aD0iNjIiIGhlaWdodD0iNjIiLz48cmVjdCB4PSI2OCIgeT0iNjgiIHdpZHRoPSI1NCIgaGVpZ2h0PSI1NCIvPjxyZWN0IHg9IjcyIiB5PSI3MiIgd2lkdGg9IjQ2IiBoZWlnaHQ9IjQ2Ii8+PHJlY3QgeD0iNzYiIHk9Ijc2IiB3aWR0aD0iMzgiIGhlaWdodD0iMzgiLz48cmVjdCB4PSI4MCIgeT0iODAiIHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCIvPjxyZWN0IHg9Ijg0IiB5PSI4NCIgd2lkdGg9IjIyIiBoZWlnaHQ9IjIyIi8+PHJlY3QgeD0iODgiIHk9Ijg4IiB3aWR0aD0iMTQiIGhlaWdodD0iMTQiLz48cmVjdCB4PSI5MiIgeT0iOTIiIHdpZHRoPSI2IiBoZWlnaHQ9IjYiLz48L2c+PC9zdmc+') repeat;
content: " ";
position:absolute;
display:block;
opacity:1;
top:0;
left:0;
right:0;
bottom:0;
}
& h1 {
font-size:1.8em;
color:#ff0040;
margin:0;
font-weight:400;
opacity:1;
position:relative;
}
& p {
font-size:1.2em;
font-family: $serif-font-family;
color:rgba(255,255,255,0.75);
font-weight:normal;
margin:0;
padding:0;
width:85%;
position:relative;
> a {
color:white;
}
}
}
}
.galery {
width: 100%;
list-style-type: none;
margin:0;
padding: 0;
& li {
@include susy-breakpoint($phone, 2) {
@include gallery(1 of 2);
margin-bottom: 1em;
}
@include susy-breakpoint($tablet, 4) {
@include gallery(1 of 4);
margin-bottom: 1em;
}
@include susy-breakpoint($desktop, 8) {
@include gallery(1 of 8);
margin-bottom: 1em;
}
}
& img {
width: 100%;
height: auto;
display: block;
}
& h1 {
font-size:1.3em;
font-family:$serif-font-family;
margin-bottom:0;
padding-bottom:0;
}
}
<header role="banner">
<h1><a href="#">24way<span>app slogan</span></a></h1>
</header>
<main role="main">
<section>
<header>
<h1>Section Title</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum imperdiet tortor, a scelerisque mi venenatis in. Etiam mattis sit amet ante quis sodales. Vestibulum eget tellus non turpis euismod elementum pharetra id nibh. Suspendisse potenti.
<a href="">Learn More</a>
</p>
</header>
<ol class="galery">
<li>
<article>
<header>
<h1>Article Title</h1>
<time>24 Febrary 2014</time>
</header>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum imperdiet tortor, a scelerisque mi venenatis in. Etiam</p>
</article>
</li>
</ol>
</section>
<blockquote cite="http://authors_url">
<p>
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
</p>
<p>
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
</p>
</blockquote>
</main>
<header role="banner">
<h1><a href="#">24way<span>app slogan</span></a></h1>
</header>
<main role="main">
<section>
<header>
<h1>Section Title</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum imperdiet tortor, a scelerisque mi venenatis in. Etiam mattis sit amet ante quis sodales. Vestibulum eget tellus non turpis euismod elementum pharetra id nibh. Suspendisse potenti.
<a href="">Learn More</a>
</p>
</header>
<ol class="galery">
<li>
<article>
<header>
<h1><a href="#">Article Title</a></h1>
<time>24 Febrary 2014</time>
</header>
<figure>
<img src="http://lorempixel.com/400/200/">
</figure>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum imperdiet tortor, a scelerisque mi venenatis in. Etiam</p>
</article>
</li>
<li>
<article>
<header>
<h1><a href="#">Article Title</a></h1>
<time>24 Febrary 2014</time>
</header>
<figure>
<img src="http://lorempixel.com/400/200/">
</figure>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum imperdiet tortor, a scelerisque mi venenatis in. Etiam</p>
</article>
</li>
<li>
<article>
<header>
<h1><a href="#">Article Title</a></h1>
<time>24 Febrary 2014</time>
</header>
<figure>
<img src="http://lorempixel.com/400/200/">
</figure>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum imperdiet tortor, a scelerisque mi venenatis in. Etiam</p>
</article>
</li>
<li>
<article>
<header>
<h1><a href="#">Article Title</a></h1>
<time>24 Febrary 2014</time>
</header>
<figure>
<img src="http://lorempixel.com/400/200/">
</figure>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum imperdiet tortor, a scelerisque mi venenatis in. Etiam</p>
</article>
</li>
<li>
<article>
<header>
<h1><a href="#">Article Title</a></h1>
<time>24 Febrary 2014</time>
</header>
<figure>
<img src="http://lorempixel.com/400/200/">
</figure>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum imperdiet tortor, a scelerisque mi venenatis in. Etiam</p>
</article>
</li>
<li>
<article>
<header>
<h1><a href="#">Article Title</a></h1>
<time>24 Febrary 2014</time>
</header>
<figure>
<img src="http://lorempixel.com/400/200/">
</figure>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum imperdiet tortor, a scelerisque mi venenatis in. Etiam</p>
</article>
</li>
<li>
<article>
<header>
<h1><a href="#">Article Title</a></h1>
<time>24 Febrary 2014</time>
</header>
<figure>
<img src="http://lorempixel.com/400/200/">
</figure>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum imperdiet tortor, a scelerisque mi venenatis in. Etiam</p>
</article>
</li>
</ol>
</section>
<blockquote cite="http://authors_url">
<p>
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
</p>
<p>
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
</p>
</blockquote>
</main>
<footer role="contentinfo">
<p class="copyright">© 24ways - <a hre="">Link 1 </a></p>
<p class="social"></p>
</footer>
// ----
// Sass (v3.4.6)
// Compass (v1.0.1)
// Breakpoint (v2.5.0)
// Normalize SCSS (v3.0.1)
// Susy (v2.1.3)
// ----
@import "compass";
@import "normalize-scss";
@import "breakpoint";
@import "susy";
@import url("http://fonts.googleapis.com/css?family=Inconsolata|Lato:400,400italic,700|Merriweather:400");
// --------------------------------------------------------
/* # Variables
*/
$sans-font-family: "Lato", sans-serif ;
$serif-font-family: "Merriweather", serif ;
// Compass Vertical Rhythm Settings
$base-font-size: 16px; // Sets the base font size
$base-line-height: 23px; // Sets the base line height
$round-to-nearest-half-line: true; // Allows compass to round to multiples of 0.5x line height
$rhythm-unit: "rem"; // Sets rhythm unit to rem. Remove to use default em unit.
// Debug
$show-baseline-grid-backgrounds : true;
$grid-background-baseline-color : rgba(0, 0, 0, 0.3);
// Establishes baseline with Compass.
@include establish-baseline;
$desktop-grid: (
columns: 12,
gutters: 1/4,
math: fluid,
output: float,
gutter-position: split,
debug: (
image: hide,
color: rgba(#9cd5ed, 0.25),
output: background,
toggle: top right,
),
);
$tablet-grid: (
columns: 4,
gutters: 0.1,
math: fluid,
output: float,
gutter-position: split,
debug: (
image: hide,
color: rgba(#9cd5ed, 0.25),
output: background,
toggle: top right,
),
);
/* # Brekpoint /mediaqueries
<http://susy.readthedocs.org/en/latest/toolkit/#breakpoint>
<https://github.com/Team-Sass/breakpoint/wiki/Basic-Media-Queries>
$phone - 0 320px;
$desktop - 900px;
$tablet - 400px 899px;
$breakpoint-to-ems - {boolean} (! false) ;
*/
$phone : 0 320px;
$desktop : 900px;
$tablet : 400px 899px;
// --------------------------------------------------------
/*
Styleguide typo
*/
html {
//font-size: 16px;
font-family: $sans-font-family;
//line-height: 24px;
font-weight:normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
@include breakpoint($tablet){
@include container;
@include layout($tablet-grid);
@include show-grid(background);
}
@include breakpoint($desktop){
@include container;
@include layout($desktop-grid);
@include show-grid(background);
}
}
a {
color:#37a;
&:hover,:focus,:active{
color:#275c83;
}
}
p.weight1 {
font-family: "Merriweather";
font-weight: 300;
font-style: italic;
font-size: 36px;
line-height: 30px;
}
p.weight2 {
font-family: "Merriweather";
font-weight: 300;
font-style: normal;
font-size: 36px;
line-height: 30px;
}
p.weight3 {
font-family: "Merriweather";
font-weight: 400;
font-style: italic;
font-size: 36px;
line-height: 30px;
}
p.weight4 {
font-family: "Merriweather";
font-weight: 400;
font-style: normal;
font-size: 36px;
line-height: 30px;
}
p.weight5 {
font-family: "Merriweather";
font-weight: 700;
font-style: italic;
font-size: 36px;
line-height: 30px;
}
p.weight6 {
font-family: "Merriweather";
font-weight: 700;
font-style: normal;
font-size: 36px;
line-height: 30px;
}
p.weight7 {
font-family: "Merriweather";
font-weight: 900;
font-style: italic;
font-size: 36px;
line-height: 30px;
}
p.weight8 {
font-family: "Merriweather";
font-weight: 900;
font-style: normal;
font-size: 36px;
line-height: 30px;
}
h1 {
font-size: 64px;
line-height: 73px;
margin-bottom: 25px;
}
p {
font-size: 1em;
line-height: 1.4em;
margin-bottom: 35px;
font-family: "Lato", sans-serif;
font-weight: 400;
font-style: normal;
}
p.weights {
letter-spacing: 2px;
font-size: 13px;
color: rgba(173,173,173,1);
margin-bottom: 35px;
border-width: 0px 0px 1px 0px;
border-style: dotted;
margin-top: 45px;
}
p.pullquote {
font-size: 17px;
line-height: 26px;
margin-bottom: 35px;
padding-left: 15px;
border-width: 0px 0px 0px 3px;
border-style: solid;
}
p.map {
font-weight: 400;
font-style: normal;
margin-bottom: 0px;
text-align: justify;
font-size: 27px;
line-height: 54px;
margin-top: 0px;
}
p.heading {
letter-spacing: 2px;
font-size: 13px;
margin-bottom: 35px;
border-width: 0px 0px 1px 0px;
border-style: dotted;
margin-top: 45px;
color: rgba(0,0,0,1);
}
p.intro {
margin-bottom: 35px;
font-size: 21px;
line-height: 28px;
}
p.inverse-big {
background-color: rgba(51,51,51,1);
color: rgba(255,255,255,1);
padding: 30px;
margin-bottom: 0px;
}
p.inverse-med {
background-color: rgba(51,51,51,1);
color: rgba(255,255,255,1);
padding: 30px;
margin-bottom: 0px;
padding-top: 0px;
font-size: 15px;
}
p.inverse-small {
padding-top: 0px;
padding-left: 30px;
padding-right: 30px;
padding-bottom: 30px;
background-color: rgba(51,51,51,1);
color: rgba(255,255,255,1);
font-size: 13px;
}
p.inverse-heading {
background-color: rgba(51,51,51,1);
color: rgba(255,255,255,1);
padding: 30px;
margin-bottom: 0px;
padding-bottom: 0px;
font-size: 15px;
letter-spacing: 2px;
margin-top: 50px;
}
/* Simple blockquote styling
<http://css-tricks.com/snippets/css/simple-and-nice-blockquote-styling/>
<http://24ways.org/2005/swooshy-curly-quotes-without-images/>
<http://typeplate.com/#block-quotes>
Compatibility untested
Styleguide typo.blockquotes
*/
$line-height: 1.4;
blockquote {
background: #f9f9f9;
border-left: 10px solid #ccc;
margin: 1.5em 10px;
padding: 0.5em 10px;
quotes: "\201C""\201D""\2018""\2019";
font-family: $serif-font-family;
}
blockquote:before {
color: #ccc;
content: open-quote;
font-size: 4em;
line-height: 0.1em;
margin-right: 0.15em;
vertical-align: -0.4em;
font-family: $serif-font-family;
}
blockquote:after {
color: #ccc;
content: close-quote;
font-size: 4em;
line-height: 0.1em;
margin-left: 0.15em;
vertical-align: -0.5em;
font-family: $serif-font-family;
}
blockquote p {
display: inline;
font-family: $serif-font-family;
font-style:italic;
}
/* # Layout
*/
header[role="banner"]{
height:60px;
padding-left:25%;
background-color:#330028;
color:white;
overflow:hidden;
> h1 {
margin:0;
font-family: $sans-font-family;
font-size:1.5em;
font-weight:400;
text-transform:uppercase;
& a {
color:white;
text-decoration:none;
}
& span {
font-size:0.7em;
text-transform:lowercase;
color:#ff0040;
}
}
}
main[role="main"]{
width:100%;
margin:0 auto;
& section > header {
height:200px;
padding-left:25%;
background-color:#4d003c;
overflow:hidden;
position:relative;
font-weight:400;
font-family: $serif-font-family;
&:before {
background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTM2IiBoZWlnaHQ9IjEzNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyB0cmFuc2Zvcm09InJvdGF0ZSgtNDUgNjggNjgpIHRyYW5zbGF0ZSgtMjcgLTI3KSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iLjI1IiBzdHJva2Utd2lkdGg9IjIiIGZpbGw9Im5vbmUiPjxyZWN0IHdpZHRoPSIxOTAiIGhlaWdodD0iMTkwIi8+PHJlY3QgeD0iNCIgeT0iNCIgd2lkdGg9IjE4MiIgaGVpZ2h0PSIxODIiLz48cmVjdCB4PSI4IiB5PSI4IiB3aWR0aD0iMTc0IiBoZWlnaHQ9IjE3NCIvPjxyZWN0IHg9IjEyIiB5PSIxMiIgd2lkdGg9IjE2NiIgaGVpZ2h0PSIxNjYiLz48cmVjdCB4PSIxNiIgeT0iMTYiIHdpZHRoPSIxNTgiIGhlaWdodD0iMTU4Ii8+PHJlY3QgeD0iMjAiIHk9IjIwIiB3aWR0aD0iMTUwIiBoZWlnaHQ9IjE1MCIvPjxyZWN0IHg9IjI0IiB5PSIyNCIgd2lkdGg9IjE0MiIgaGVpZ2h0PSIxNDIiLz48cmVjdCB4PSIyOCIgeT0iMjgiIHdpZHRoPSIxMzQiIGhlaWdodD0iMTM0Ii8+PHJlY3QgeD0iMzIiIHk9IjMyIiB3aWR0aD0iMTI2IiBoZWlnaHQ9IjEyNiIvPjxyZWN0IHg9IjM2IiB5PSIzNiIgd2lkdGg9IjExOCIgaGVpZ2h0PSIxMTgiLz48cmVjdCB4PSI0MCIgeT0iNDAiIHdpZHRoPSIxMTAiIGhlaWdodD0iMTEwIi8+PHJlY3QgeD0iNDQiIHk9IjQ0IiB3aWR0aD0iMTAyIiBoZWlnaHQ9IjEwMiIvPjxyZWN0IHg9IjQ4IiB5PSI0OCIgd2lkdGg9Ijk0IiBoZWlnaHQ9Ijk0Ii8+PHJlY3QgeD0iNTIiIHk9IjUyIiB3aWR0aD0iODYiIGhlaWdodD0iODYiLz48cmVjdCB4PSI1NiIgeT0iNTYiIHdpZHRoPSI3OCIgaGVpZ2h0PSI3OCIvPjxyZWN0IHg9IjYwIiB5PSI2MCIgd2lkdGg9IjcwIiBoZWlnaHQ9IjcwIi8+PHJlY3QgeD0iNjQiIHk9IjY0IiB3aWR0aD0iNjIiIGhlaWdodD0iNjIiLz48cmVjdCB4PSI2OCIgeT0iNjgiIHdpZHRoPSI1NCIgaGVpZ2h0PSI1NCIvPjxyZWN0IHg9IjcyIiB5PSI3MiIgd2lkdGg9IjQ2IiBoZWlnaHQ9IjQ2Ii8+PHJlY3QgeD0iNzYiIHk9Ijc2IiB3aWR0aD0iMzgiIGhlaWdodD0iMzgiLz48cmVjdCB4PSI4MCIgeT0iODAiIHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCIvPjxyZWN0IHg9Ijg0IiB5PSI4NCIgd2lkdGg9IjIyIiBoZWlnaHQ9IjIyIi8+PHJlY3QgeD0iODgiIHk9Ijg4IiB3aWR0aD0iMTQiIGhlaWdodD0iMTQiLz48cmVjdCB4PSI5MiIgeT0iOTIiIHdpZHRoPSI2IiBoZWlnaHQ9IjYiLz48L2c+PC9zdmc+') repeat;
content: " ";
position:absolute;
display:block;
opacity:1;
top:0;
left:0;
right:0;
bottom:0;
}
& h1 {
font-size:1.8em;
color:#ff0040;
margin:0;
font-weight:400;
opacity:1;
position:relative;
}
& p {
font-size:1.2em;
font-family: $serif-font-family;
color:rgba(255,255,255,0.75);
font-weight:normal;
margin:0;
padding:0;
width:85%;
position:relative;
> a {
color:white;
}
}
}
}
.galery {
width: 100%;
list-style-type: none;
margin:0;
padding:0;
@include clearfix();
& li {
@include susy-breakpoint($phone, 2) {
@include gallery(1 of 2);
margin-bottom: 1em;
}
@include susy-breakpoint($tablet, 4) {
@include gallery(1 of 4);
margin-bottom: 1em;
}
@include susy-breakpoint($desktop, 4) {
@include gallery(1 of 4);
margin-bottom: 1em;
}
}
& img {
width: 100%;
height: auto;
display: block;
}
& article {
// padding: 0.25em 0 0 0.25em;
@include box-shadow(1px 1px 0 rgba(136,136,153,0.15));
padding:1em;
}
& h1, h1 > a {
font-size: 1.25em;
font-weight: 400;
line-height: 1.2;
font-family:$serif-font-family;
text-decoration:none;
margin:0;
padding:0;
}
& figure {
margin:0;
}
& p {
font-size: 0.9em;
line-height: 1.4;
}
}
@charset "UTF-8";
/* normalize-scss 3.0.1+normalize.3.0.1 | MIT/GPLv2 License | bit.ly/normalize-scss */
/* Base
========================================================================== */
/**
* Establish a vertical rhythm unit using $base-font-size, $base-line-height,
* and $rhythm-unit variables. Also, correct text resizing oddly in IE 6/7 when
* body `font-size` is set using `em` units.
*/
@import url("http://fonts.googleapis.com/css?family=Inconsolata|Lato:400,400italic,700|Merriweather:400");
html {
font-size: 100%;
line-height: 1.5em;
}
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif;
/* 1 */
-ms-text-size-adjust: 100%;
/* 2 */
-webkit-text-size-adjust: 100%;
/* 2 */
}
/**
* Remove default margin.
*/
body {
margin: 0;
}
/* HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
/**
* 1. Correct `inline-block` display not defined in IE 8/9.
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/
audio,
canvas,
progress,
video {
display: inline-block;
/* 1 */
*display: inline;
*zoom: 1;
vertical-align: baseline;
/* 2 */
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Address `[hidden]` styling not present in IE 8/9/10.
*/
[hidden] {
display: none;
}
/**
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
*/
template {
display: none;
}
/* Links
========================================================================== */
/**
* Remove the gray background color from active links in IE 10.
*/
a {
background: transparent;
}
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
outline: 0;
}
/* Text-level semantics
========================================================================== */
/**
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/
b,
strong {
font-weight: bold;
}
/**
* Set 1 unit of vertical rhythm on the top and bottom margin.
*/
blockquote {
margin: 1.5em 40px;
}
/**
* Address styling not present in Safari and Chrome.
*/
dfn {
font-style: italic;
}
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari, and Chrome.
*/
h1 {
/* Set the font-size and line-height while keeping a proper vertical rhythm. */
font-size: 2em;
line-height: 1.5em;
/* Set 1 unit of vertical rhythm on the top and bottom margins. */
margin-top: 0.75em;
margin-bottom: 0.75em;
}
h2 {
font-size: 1.5em;
line-height: 2em;
margin-top: 1em;
margin-bottom: 1em;
}
h3 {
font-size: 1.17em;
line-height: 1.28205em;
margin-top: 1.28205em;
margin-bottom: 1.28205em;
}
h4 {
font-size: 1em;
line-height: 1.5em;
margin-top: 1.5em;
margin-bottom: 1.5em;
}
h5 {
font-size: 0.83em;
line-height: 1.80723em;
margin-top: 1.80723em;
margin-bottom: 1.80723em;
}
h6 {
font-size: 0.67em;
line-height: 2.23881em;
margin-top: 2.23881em;
margin-bottom: 2.23881em;
}
/**
* Address styling not present in IE 8/9.
*/
mark {
background: #ff0;
color: #000;
}
/**
* Set 1 unit of vertical rhythm on the top and bottom margin.
*/
p,
pre {
margin: 1.5em 0;
}
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* Lists
========================================================================== */
/**
* Address margins set differently in IE 6/7.
*/
dl,
menu,
ol,
ul {
margin: 1.5em 0;
}
dd {
margin: 0 0 0 40px;
}
/**
* Address paddings set differently in IE 6/7.
*/
menu,
ol,
ul {
padding: 0 0 0 40px;
}
/**
* Correct list images handled incorrectly in IE 7.
*/
nav ul,
nav ol {
list-style: none;
list-style-image: none;
}
/* Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9/10.
*/
img {
border: 0;
/* Improve image quality when scaled in IE 7. */
-ms-interpolation-mode: bicubic;
}
/**
* Correct overflow not hidden in IE 9/10/11.
*/
svg:not(:root) {
overflow: hidden;
}
/* Grouping content
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari.
*/
figure {
margin: 1.5em 40px;
}
/**
* Address differences between Firefox and other browsers.
*/
hr {
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
/**
* Contain overflow in all browsers.
*/
pre {
overflow: auto;
}
/**
* Address odd `em`-unit font size rendering in all browsers.
*/
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
/* Forms
========================================================================== */
/**
* Known limitation: by default, Chrome and Safari on OS X allow very limited
* styling of `select`, unless a `border` property is set.
*/
/**
* Correct margin displayed oddly in IE 6/7.
*/
form {
margin: 0;
}
/**
* 1. Correct color not being inherited.
* Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
* 4. Address `font-family` inconsistency between `textarea` and other form in IE 7
* 5. Improve appearance and consistency with IE 6/7.
*/
button,
input,
optgroup,
select,
textarea {
color: inherit;
/* 1 */
font: inherit;
/* 2 */
margin: 0;
/* 3 */
*font-family: sans-serif;
/* 4 */
*vertical-align: middle;
/* 5 */
}
/**
* Address `overflow` set to `hidden` in IE 8/9/10/11.
*/
button {
overflow: visible;
}
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
* Correct `select` style inheritance in Firefox.
*/
button,
select {
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
* 4. Remove inner spacing in IE 7 without affecting normal text inputs.
* Known issue: inner spacing remains in IE 6.
*/
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
/* 2 */
cursor: pointer;
/* 3 */
*overflow: visible;
/* 4 */
}
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default;
}
/**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
input {
line-height: normal;
}
/**
* It's recommended that you don't attempt to style these elements.
* Firefox's implementation doesn't respect box-sizing, padding, or width.
*
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
* 3. Remove excess padding in IE 7.
* Known issue: excess padding remains in IE 6.
*/
input[type="checkbox"],
input[type="radio"] {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
/* 1 */
padding: 0;
/* 2 */
*height: 13px;
/* 3 */
*width: 13px;
/* 3 */
}
/**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.
*/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
* (include `-moz` to future-proof).
*/
input[type="search"] {
-webkit-appearance: textfield;
/* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box;
/* 2 */
/**
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
* Safari (but not Chrome) clips the cancel button when the search input has
* padding (and `textfield` appearance).
*/
}
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* Define consistent border, margin, and padding.
*/
fieldset {
margin: 0 2px;
/* Apply borders and padding that keep the vertical rhythm. */
border-color: #c0c0c0;
border-top-width: 0.0625em;
border-top-style: solid;
padding-top: 0.4625em;
border-bottom-width: 0.0625em;
border-bottom-style: solid;
padding-bottom: 0.9125em;
border-left-width: 0.0625em;
border-left-style: solid;
padding-left: 0.875em;
border-right-width: 0.0625em;
border-right-style: solid;
padding-right: 0.875em;
}
/**
* 1. Correct `color` not being inherited in IE 8/9/10/11.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
* 3. Correct alignment displayed oddly in IE 6/7.
*/
legend {
border: 0;
/* 1 */
padding: 0;
/* 2 */
*margin-left: -7px;
/* 3 */
}
/**
* Remove default vertical scrollbar in IE 8/9/10/11.
*/
textarea {
overflow: auto;
}
/**
* Don't inherit the `font-weight` (applied by a rule above).
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
*/
optgroup {
font-weight: bold;
}
/* Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0;
}
td,
th {
padding: 0;
}
/* # Variables
*/
html {
font-size: 100%;
line-height: 1.4375em;
}
/* # Brekpoint /mediaqueries
<http://susy.readthedocs.org/en/latest/toolkit/#breakpoint>
<https://github.com/Team-Sass/breakpoint/wiki/Basic-Media-Queries>
$phone - 0 320px;
$desktop - 900px;
$tablet - 400px 899px;
$breakpoint-to-ems - {boolean} (! false) ;
*/
/*
Styleguide typo
*/
html {
font-family: "Lato", sans-serif;
font-weight: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@media (min-width: 400px) and (max-width: 899px) {
body {
max-width: 100%;
margin-left: auto;
margin-right: auto;
}
body:after {
content: " ";
display: block;
clear: both;
}
}
@media (min-width: 900px) {
body {
max-width: 100%;
margin-left: auto;
margin-right: auto;
}
body:after {
content: " ";
display: block;
clear: both;
}
}
a {
color: #37a;
}
a:hover, a :focus, a :active {
color: #275c83;
}
p.weight1 {
font-family: "Merriweather";
font-weight: 300;
font-style: italic;
font-size: 36px;
line-height: 30px;
}
p.weight2 {
font-family: "Merriweather";
font-weight: 300;
font-style: normal;
font-size: 36px;
line-height: 30px;
}
p.weight3 {
font-family: "Merriweather";
font-weight: 400;
font-style: italic;
font-size: 36px;
line-height: 30px;
}
p.weight4 {
font-family: "Merriweather";
font-weight: 400;
font-style: normal;
font-size: 36px;
line-height: 30px;
}
p.weight5 {
font-family: "Merriweather";
font-weight: 700;
font-style: italic;
font-size: 36px;
line-height: 30px;
}
p.weight6 {
font-family: "Merriweather";
font-weight: 700;
font-style: normal;
font-size: 36px;
line-height: 30px;
}
p.weight7 {
font-family: "Merriweather";
font-weight: 900;
font-style: italic;
font-size: 36px;
line-height: 30px;
}
p.weight8 {
font-family: "Merriweather";
font-weight: 900;
font-style: normal;
font-size: 36px;
line-height: 30px;
}
h1 {
font-size: 64px;
line-height: 73px;
margin-bottom: 25px;
}
p {
font-size: 1em;
line-height: 1.4em;
margin-bottom: 35px;
font-family: "Lato", sans-serif;
font-weight: 400;
font-style: normal;
}
p.weights {
letter-spacing: 2px;
font-size: 13px;
color: #adadad;
margin-bottom: 35px;
border-width: 0px 0px 1px 0px;
border-style: dotted;
margin-top: 45px;
}
p.pullquote {
font-size: 17px;
line-height: 26px;
margin-bottom: 35px;
padding-left: 15px;
border-width: 0px 0px 0px 3px;
border-style: solid;
}
p.map {
font-weight: 400;
font-style: normal;
margin-bottom: 0px;
text-align: justify;
font-size: 27px;
line-height: 54px;
margin-top: 0px;
}
p.heading {
letter-spacing: 2px;
font-size: 13px;
margin-bottom: 35px;
border-width: 0px 0px 1px 0px;
border-style: dotted;
margin-top: 45px;
color: black;
}
p.intro {
margin-bottom: 35px;
font-size: 21px;
line-height: 28px;
}
p.inverse-big {
background-color: #333333;
color: white;
padding: 30px;
margin-bottom: 0px;
}
p.inverse-med {
background-color: #333333;
color: white;
padding: 30px;
margin-bottom: 0px;
padding-top: 0px;
font-size: 15px;
}
p.inverse-small {
padding-top: 0px;
padding-left: 30px;
padding-right: 30px;
padding-bottom: 30px;
background-color: #333333;
color: white;
font-size: 13px;
}
p.inverse-heading {
background-color: #333333;
color: white;
padding: 30px;
margin-bottom: 0px;
padding-bottom: 0px;
font-size: 15px;
letter-spacing: 2px;
margin-top: 50px;
}
/* Simple blockquote styling
<http://css-tricks.com/snippets/css/simple-and-nice-blockquote-styling/>
<http://24ways.org/2005/swooshy-curly-quotes-without-images/>
<http://typeplate.com/#block-quotes>
Compatibility untested
Styleguide typo.blockquotes
*/
blockquote {
background: #f9f9f9;
border-left: 10px solid #ccc;
margin: 1.5em 10px;
padding: 0.5em 10px;
quotes: "“" "”" "‘" "’";
font-family: "Merriweather", serif;
}
blockquote:before {
color: #ccc;
content: open-quote;
font-size: 4em;
line-height: 0.1em;
margin-right: 0.15em;
vertical-align: -0.4em;
font-family: "Merriweather", serif;
}
blockquote:after {
color: #ccc;
content: close-quote;
font-size: 4em;
line-height: 0.1em;
margin-left: 0.15em;
vertical-align: -0.5em;
font-family: "Merriweather", serif;
}
blockquote p {
display: inline;
font-family: "Merriweather", serif;
font-style: italic;
}
/* # Layout
*/
header[role="banner"] {
height: 60px;
padding-left: 25%;
background-color: #330028;
color: white;
overflow: hidden;
}
header[role="banner"] > h1 {
margin: 0;
font-family: "Lato", sans-serif;
font-size: 1.5em;
font-weight: 400;
text-transform: uppercase;
}
header[role="banner"] > h1 a {
color: white;
text-decoration: none;
}
header[role="banner"] > h1 span {
font-size: 0.7em;
text-transform: lowercase;
color: #ff0040;
}
main[role="main"] {
width: 100%;
margin: 0 auto;
}
main[role="main"] section > header {
height: 200px;
padding-left: 25%;
background-color: #4d003c;
overflow: hidden;
position: relative;
font-weight: 400;
font-family: "Merriweather", serif;
}
main[role="main"] section > header:before {
background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTM2IiBoZWlnaHQ9IjEzNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyB0cmFuc2Zvcm09InJvdGF0ZSgtNDUgNjggNjgpIHRyYW5zbGF0ZSgtMjcgLTI3KSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iLjI1IiBzdHJva2Utd2lkdGg9IjIiIGZpbGw9Im5vbmUiPjxyZWN0IHdpZHRoPSIxOTAiIGhlaWdodD0iMTkwIi8+PHJlY3QgeD0iNCIgeT0iNCIgd2lkdGg9IjE4MiIgaGVpZ2h0PSIxODIiLz48cmVjdCB4PSI4IiB5PSI4IiB3aWR0aD0iMTc0IiBoZWlnaHQ9IjE3NCIvPjxyZWN0IHg9IjEyIiB5PSIxMiIgd2lkdGg9IjE2NiIgaGVpZ2h0PSIxNjYiLz48cmVjdCB4PSIxNiIgeT0iMTYiIHdpZHRoPSIxNTgiIGhlaWdodD0iMTU4Ii8+PHJlY3QgeD0iMjAiIHk9IjIwIiB3aWR0aD0iMTUwIiBoZWlnaHQ9IjE1MCIvPjxyZWN0IHg9IjI0IiB5PSIyNCIgd2lkdGg9IjE0MiIgaGVpZ2h0PSIxNDIiLz48cmVjdCB4PSIyOCIgeT0iMjgiIHdpZHRoPSIxMzQiIGhlaWdodD0iMTM0Ii8+PHJlY3QgeD0iMzIiIHk9IjMyIiB3aWR0aD0iMTI2IiBoZWlnaHQ9IjEyNiIvPjxyZWN0IHg9IjM2IiB5PSIzNiIgd2lkdGg9IjExOCIgaGVpZ2h0PSIxMTgiLz48cmVjdCB4PSI0MCIgeT0iNDAiIHdpZHRoPSIxMTAiIGhlaWdodD0iMTEwIi8+PHJlY3QgeD0iNDQiIHk9IjQ0IiB3aWR0aD0iMTAyIiBoZWlnaHQ9IjEwMiIvPjxyZWN0IHg9IjQ4IiB5PSI0OCIgd2lkdGg9Ijk0IiBoZWlnaHQ9Ijk0Ii8+PHJlY3QgeD0iNTIiIHk9IjUyIiB3aWR0aD0iODYiIGhlaWdodD0iODYiLz48cmVjdCB4PSI1NiIgeT0iNTYiIHdpZHRoPSI3OCIgaGVpZ2h0PSI3OCIvPjxyZWN0IHg9IjYwIiB5PSI2MCIgd2lkdGg9IjcwIiBoZWlnaHQ9IjcwIi8+PHJlY3QgeD0iNjQiIHk9IjY0IiB3aWR0aD0iNjIiIGhlaWdodD0iNjIiLz48cmVjdCB4PSI2OCIgeT0iNjgiIHdpZHRoPSI1NCIgaGVpZ2h0PSI1NCIvPjxyZWN0IHg9IjcyIiB5PSI3MiIgd2lkdGg9IjQ2IiBoZWlnaHQ9IjQ2Ii8+PHJlY3QgeD0iNzYiIHk9Ijc2IiB3aWR0aD0iMzgiIGhlaWdodD0iMzgiLz48cmVjdCB4PSI4MCIgeT0iODAiIHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCIvPjxyZWN0IHg9Ijg0IiB5PSI4NCIgd2lkdGg9IjIyIiBoZWlnaHQ9IjIyIi8+PHJlY3QgeD0iODgiIHk9Ijg4IiB3aWR0aD0iMTQiIGhlaWdodD0iMTQiLz48cmVjdCB4PSI5MiIgeT0iOTIiIHdpZHRoPSI2IiBoZWlnaHQ9IjYiLz48L2c+PC9zdmc+") repeat;
content: " ";
position: absolute;
display: block;
opacity: 1;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
main[role="main"] section > header h1 {
font-size: 1.8em;
color: #ff0040;
margin: 0;
font-weight: 400;
opacity: 1;
position: relative;
}
main[role="main"] section > header p {
font-size: 1.2em;
font-family: "Merriweather", serif;
color: rgba(255, 255, 255, 0.75);
font-weight: normal;
margin: 0;
padding: 0;
width: 85%;
position: relative;
}
main[role="main"] section > header p > a {
color: white;
}
.galery {
width: 100%;
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
*zoom: 1;
}
@media (min-width: 0) and (max-width: 320px) {
.galery li {
width: 40%;
float: left;
margin-bottom: 1em;
}
.galery li:nth-child(2n + 1) {
margin-left: 5%;
margin-right: -100%;
clear: both;
}
.galery li:nth-child(2n + 2) {
margin-left: 55%;
margin-right: -100%;
clear: none;
}
}
@media (min-width: 400px) and (max-width: 899px) {
.galery li {
width: 20%;
float: left;
margin-bottom: 1em;
}
.galery li:nth-child(4n + 1) {
margin-left: 2.5%;
margin-right: -100%;
clear: both;
}
.galery li:nth-child(4n + 2) {
margin-left: 27.5%;
margin-right: -100%;
clear: none;
}
.galery li:nth-child(4n + 3) {
margin-left: 52.5%;
margin-right: -100%;
clear: none;
}
.galery li:nth-child(4n + 4) {
margin-left: 77.5%;
margin-right: -100%;
clear: none;
}
}
@media (min-width: 900px) {
.galery li {
width: 20%;
float: left;
margin-bottom: 1em;
}
.galery li:nth-child(4n + 1) {
margin-left: 2.5%;
margin-right: -100%;
clear: both;
}
.galery li:nth-child(4n + 2) {
margin-left: 27.5%;
margin-right: -100%;
clear: none;
}
.galery li:nth-child(4n + 3) {
margin-left: 52.5%;
margin-right: -100%;
clear: none;
}
.galery li:nth-child(4n + 4) {
margin-left: 77.5%;
margin-right: -100%;
clear: none;
}
}
.galery img {
width: 100%;
height: auto;
display: block;
}
.galery article {
-moz-box-shadow: 1px 1px 0 rgba(136, 136, 153, 0.15);
-webkit-box-shadow: 1px 1px 0 rgba(136, 136, 153, 0.15);
box-shadow: 1px 1px 0 rgba(136, 136, 153, 0.15);
padding: 1em;
}
.galery h1, .galery h1 > a {
font-size: 1.25em;
font-weight: 400;
line-height: 1.2;
font-family: "Merriweather", serif;
text-decoration: none;
margin: 0;
padding: 0;
}
.galery figure {
margin: 0;
}
.galery p {
font-size: 0.9em;
line-height: 1.4;
}
<header role="banner">
<h1><a href="#">24way<span>app slogan</span></a></h1>
</header>
<main role="main">
<section>
<header>
<h1>Section Title</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum imperdiet tortor, a scelerisque mi venenatis in. Etiam mattis sit amet ante quis sodales. Vestibulum eget tellus non turpis euismod elementum pharetra id nibh. Suspendisse potenti.
<a href="">Learn More</a>
</p>
</header>
<ol class="galery">
<li>
<article>
<header>
<h1><a href="#">Article Title</a></h1>
<time>24 Febrary 2014</time>
</header>
<figure>
<img src="http://lorempixel.com/400/200/">
</figure>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum imperdiet tortor, a scelerisque mi venenatis in. Etiam</p>
</article>
</li>
<li>
<article>
<header>
<h1><a href="#">Article Title</a></h1>
<time>24 Febrary 2014</time>
</header>
<figure>
<img src="http://lorempixel.com/400/200/">
</figure>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum imperdiet tortor, a scelerisque mi venenatis in. Etiam</p>
</article>
</li>
<li>
<article>
<header>
<h1><a href="#">Article Title</a></h1>
<time>24 Febrary 2014</time>
</header>
<figure>
<img src="http://lorempixel.com/400/200/">
</figure>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum imperdiet tortor, a scelerisque mi venenatis in. Etiam</p>
</article>
</li>
<li>
<article>
<header>
<h1><a href="#">Article Title</a></h1>
<time>24 Febrary 2014</time>
</header>
<figure>
<img src="http://lorempixel.com/400/200/">
</figure>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum imperdiet tortor, a scelerisque mi venenatis in. Etiam</p>
</article>
</li>
<li>
<article>
<header>
<h1><a href="#">Article Title</a></h1>
<time>24 Febrary 2014</time>
</header>
<figure>
<img src="http://lorempixel.com/400/200/">
</figure>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum imperdiet tortor, a scelerisque mi venenatis in. Etiam</p>
</article>
</li>
<li>
<article>
<header>
<h1><a href="#">Article Title</a></h1>
<time>24 Febrary 2014</time>
</header>
<figure>
<img src="http://lorempixel.com/400/200/">
</figure>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum imperdiet tortor, a scelerisque mi venenatis in. Etiam</p>
</article>
</li>
<li>
<article>
<header>
<h1><a href="#">Article Title</a></h1>
<time>24 Febrary 2014</time>
</header>
<figure>
<img src="http://lorempixel.com/400/200/">
</figure>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vestibulum imperdiet tortor, a scelerisque mi venenatis in. Etiam</p>
</article>
</li>
</ol>
</section>
<blockquote cite="http://authors_url">
<p>
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
</p>
<p>
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
</p>
</blockquote>
</main>
<footer role="contentinfo">
<p class="copyright">© 24ways - <a hre="">Link 1 </a></p>
<p class="social"></p>
</footer>
@charset "UTF-8";
/* normalize-scss 3.0.1+normalize.3.0.1 | MIT/GPLv2 License | bit.ly/normalize-scss */
/* Base
========================================================================== */
/**
* Establish a vertical rhythm unit using $base-font-size, $base-line-height,
* and $rhythm-unit variables. Also, correct text resizing oddly in IE 6/7 when
* body `font-size` is set using `em` units.
*/
@import url("http://fonts.googleapis.com/css?family=Inconsolata|Lato:400,400italic,700|Merriweather:400");
html {
font-size: 100%;
line-height: 1.5em;
}
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif;
/* 1 */
-ms-text-size-adjust: 100%;
/* 2 */
-webkit-text-size-adjust: 100%;
/* 2 */
}
/**
* Remove default margin.
*/
body {
margin: 0;
}
/* HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
/**
* 1. Correct `inline-block` display not defined in IE 8/9.
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/
audio,
canvas,
progress,
video {
display: inline-block;
/* 1 */
*display: inline;
*zoom: 1;
vertical-align: baseline;
/* 2 */
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Address `[hidden]` styling not present in IE 8/9/10.
*/
[hidden] {
display: none;
}
/**
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
*/
template {
display: none;
}
/* Links
========================================================================== */
/**
* Remove the gray background color from active links in IE 10.
*/
a {
background: transparent;
}
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
outline: 0;
}
/* Text-level semantics
========================================================================== */
/**
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/
b,
strong {
font-weight: bold;
}
/**
* Set 1 unit of vertical rhythm on the top and bottom margin.
*/
blockquote {
margin: 1.5em 40px;
}
/**
* Address styling not present in Safari and Chrome.
*/
dfn {
font-style: italic;
}
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari, and Chrome.
*/
h1 {
/* Set the font-size and line-height while keeping a proper vertical rhythm. */
font-size: 2em;
line-height: 1.5em;
/* Set 1 unit of vertical rhythm on the top and bottom margins. */
margin-top: 0.75em;
margin-bottom: 0.75em;
}
h2 {
font-size: 1.5em;
line-height: 2em;
margin-top: 1em;
margin-bottom: 1em;
}
h3 {
font-size: 1.17em;
line-height: 1.28205em;
margin-top: 1.28205em;
margin-bottom: 1.28205em;
}
h4 {
font-size: 1em;
line-height: 1.5em;
margin-top: 1.5em;
margin-bottom: 1.5em;
}
h5 {
font-size: 0.83em;
line-height: 1.80723em;
margin-top: 1.80723em;
margin-bottom: 1.80723em;
}
h6 {
font-size: 0.67em;
line-height: 2.23881em;
margin-top: 2.23881em;
margin-bottom: 2.23881em;
}
/**
* Address styling not present in IE 8/9.
*/
mark {
background: #ff0;
color: #000;
}
/**
* Set 1 unit of vertical rhythm on the top and bottom margin.
*/
p,
pre {
margin: 1.5em 0;
}
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* Lists
========================================================================== */
/**
* Address margins set differently in IE 6/7.
*/
dl,
menu,
ol,
ul {
margin: 1.5em 0;
}
dd {
margin: 0 0 0 40px;
}
/**
* Address paddings set differently in IE 6/7.
*/
menu,
ol,
ul {
padding: 0 0 0 40px;
}
/**
* Correct list images handled incorrectly in IE 7.
*/
nav ul,
nav ol {
list-style: none;
list-style-image: none;
}
/* Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9/10.
*/
img {
border: 0;
/* Improve image quality when scaled in IE 7. */
-ms-interpolation-mode: bicubic;
}
/**
* Correct overflow not hidden in IE 9/10/11.
*/
svg:not(:root) {
overflow: hidden;
}
/* Grouping content
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari.
*/
figure {
margin: 1.5em 40px;
}
/**
* Address differences between Firefox and other browsers.
*/
hr {
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
/**
* Contain overflow in all browsers.
*/
pre {
overflow: auto;
}
/**
* Address odd `em`-unit font size rendering in all browsers.
*/
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
/* Forms
========================================================================== */
/**
* Known limitation: by default, Chrome and Safari on OS X allow very limited
* styling of `select`, unless a `border` property is set.
*/
/**
* Correct margin displayed oddly in IE 6/7.
*/
form {
margin: 0;
}
/**
* 1. Correct color not being inherited.
* Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
* 4. Address `font-family` inconsistency between `textarea` and other form in IE 7
* 5. Improve appearance and consistency with IE 6/7.
*/
button,
input,
optgroup,
select,
textarea {
color: inherit;
/* 1 */
font: inherit;
/* 2 */
margin: 0;
/* 3 */
*font-family: sans-serif;
/* 4 */
*vertical-align: middle;
/* 5 */
}
/**
* Address `overflow` set to `hidden` in IE 8/9/10/11.
*/
button {
overflow: visible;
}
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
* Correct `select` style inheritance in Firefox.
*/
button,
select {
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
* 4. Remove inner spacing in IE 7 without affecting normal text inputs.
* Known issue: inner spacing remains in IE 6.
*/
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
/* 2 */
cursor: pointer;
/* 3 */
*overflow: visible;
/* 4 */
}
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default;
}
/**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
input {
line-height: normal;
}
/**
* It's recommended that you don't attempt to style these elements.
* Firefox's implementation doesn't respect box-sizing, padding, or width.
*
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
* 3. Remove excess padding in IE 7.
* Known issue: excess padding remains in IE 6.
*/
input[type="checkbox"],
input[type="radio"] {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
/* 1 */
padding: 0;
/* 2 */
*height: 13px;
/* 3 */
*width: 13px;
/* 3 */
}
/**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.
*/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
* (include `-moz` to future-proof).
*/
input[type="search"] {
-webkit-appearance: textfield;
/* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box;
/* 2 */
/**
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
* Safari (but not Chrome) clips the cancel button when the search input has
* padding (and `textfield` appearance).
*/
}
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* Define consistent border, margin, and padding.
*/
fieldset {
margin: 0 2px;
/* Apply borders and padding that keep the vertical rhythm. */
border-color: #c0c0c0;
border-top-width: 0.0625em;
border-top-style: solid;
padding-top: 0.4625em;
border-bottom-width: 0.0625em;
border-bottom-style: solid;
padding-bottom: 0.9125em;
border-left-width: 0.0625em;
border-left-style: solid;
padding-left: 0.875em;
border-right-width: 0.0625em;
border-right-style: solid;
padding-right: 0.875em;
}
/**
* 1. Correct `color` not being inherited in IE 8/9/10/11.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
* 3. Correct alignment displayed oddly in IE 6/7.
*/
legend {
border: 0;
/* 1 */
padding: 0;
/* 2 */
*margin-left: -7px;
/* 3 */
}
/**
* Remove default vertical scrollbar in IE 8/9/10/11.
*/
textarea {
overflow: auto;
}
/**
* Don't inherit the `font-weight` (applied by a rule above).
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
*/
optgroup {
font-weight: bold;
}
/* Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0;
}
td,
th {
padding: 0;
}
/* # Variables
*/
html {
font-size: 100%;
line-height: 1.4375em;
}
/* # Brekpoint /mediaqueries
<http://susy.readthedocs.org/en/latest/toolkit/#breakpoint>
<https://github.com/Team-Sass/breakpoint/wiki/Basic-Media-Queries>
$phone - 0 320px;
$desktop - 900px;
$tablet - 400px 899px;
$breakpoint-to-ems - {boolean} (! false) ;
*/
/*
Styleguide typo
*/
html {
font-size: 16px;
font-family: "Lato", sans-serif;
line-height: 24px;
font-weight: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@media (min-width: 400px) and (max-width: 899px) {
body {
max-width: 100%;
margin-left: auto;
margin-right: auto;
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuMCIgeTE9IjAuNSIgeDI9IjEuMCIgeTI9IjAuNSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzljZDVlZCIgc3RvcC1vcGFjaXR5PSIwLjI1Ii8+PHN0b3Agb2Zmc2V0PSI4MCUiIHN0b3AtY29sb3I9IiNkZGYwZjkiIHN0b3Atb3BhY2l0eT0iMC4yNSIvPjxzdG9wIG9mZnNldD0iODAlIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjAuMCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=='), url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjAuMyIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjAiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyYWQpIiAvPjwvc3ZnPiA=');
background-size: 100%;
background-image: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, rgba(156, 213, 237, 0.25)), color-stop(80%, rgba(221, 240, 249, 0.25)), color-stop(80%, rgba(0, 0, 0, 0))), -webkit-gradient(linear, 50% 0%, 50% 1, color-stop(100%, rgba(0, 0, 0, 0.3)), color-stop(100%, rgba(0, 0, 0, 0)));
background-image: -moz-linear-gradient(left, rgba(156, 213, 237, 0.25), rgba(221, 240, 249, 0.25) 80%, rgba(0, 0, 0, 0) 80%), -moz-linear-gradient(top, rgba(0, 0, 0, 0.3) 1px, rgba(0, 0, 0, 0) 1px);
background-image: -webkit-linear-gradient(left, rgba(156, 213, 237, 0.25), rgba(221, 240, 249, 0.25) 80%, rgba(0, 0, 0, 0) 80%), -webkit-linear-gradient(top, rgba(0, 0, 0, 0.3) 1px, rgba(0, 0, 0, 0) 1px);
background-image: linear-gradient(to right, rgba(156, 213, 237, 0.25), rgba(221, 240, 249, 0.25) 80%, rgba(0, 0, 0, 0) 80%), linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 1px, rgba(0, 0, 0, 0) 1px);
background-size: 26.31579%, 100% 23px;
background-origin: content-box, border-box;
background-clip: content-box, border-box;
background-position: left top;
}
body:after {
content: " ";
display: block;
clear: both;
}
}
@media (min-width: 900px) {
body {
max-width: 80em;
margin-left: auto;
margin-right: auto;
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuMCIgeTE9IjAuNSIgeDI9IjEuMCIgeTI9IjAuNSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzljZDVlZCIgc3RvcC1vcGFjaXR5PSIwLjI1Ii8+PHN0b3Agb2Zmc2V0PSI4MCUiIHN0b3AtY29sb3I9IiNkZGYwZjkiIHN0b3Atb3BhY2l0eT0iMC4yNSIvPjxzdG9wIG9mZnNldD0iODAlIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjAuMCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=='), url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjAuMyIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjAiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyYWQpIiAvPjwvc3ZnPiA=');
background-size: 100%;
background-image: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, rgba(156, 213, 237, 0.25)), color-stop(80%, rgba(221, 240, 249, 0.25)), color-stop(80%, rgba(0, 0, 0, 0))), -webkit-gradient(linear, 50% 0%, 50% 1, color-stop(100%, rgba(0, 0, 0, 0.3)), color-stop(100%, rgba(0, 0, 0, 0)));
background-image: -moz-linear-gradient(left, rgba(156, 213, 237, 0.25), rgba(221, 240, 249, 0.25) 80%, rgba(0, 0, 0, 0) 80%), -moz-linear-gradient(top, rgba(0, 0, 0, 0.3) 1px, rgba(0, 0, 0, 0) 1px);
background-image: -webkit-linear-gradient(left, rgba(156, 213, 237, 0.25), rgba(221, 240, 249, 0.25) 80%, rgba(0, 0, 0, 0) 80%), -webkit-linear-gradient(top, rgba(0, 0, 0, 0.3) 1px, rgba(0, 0, 0, 0) 1px);
background-image: linear-gradient(to right, rgba(156, 213, 237, 0.25), rgba(221, 240, 249, 0.25) 80%, rgba(0, 0, 0, 0) 80%), linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 1px, rgba(0, 0, 0, 0) 1px);
background-size: 26.31579%, 100% 23px;
background-origin: content-box, border-box;
background-clip: content-box, border-box;
background-position: left top;
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuMCIgeTE9IjAuNSIgeDI9IjEuMCIgeTI9IjAuNSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzljZDVlZCIgc3RvcC1vcGFjaXR5PSIwLjI1Ii8+PHN0b3Agb2Zmc2V0PSI4MCUiIHN0b3AtY29sb3I9IiNkZGYwZjkiIHN0b3Atb3BhY2l0eT0iMC4yNSIvPjxzdG9wIG9mZnNldD0iODAlIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjAuMCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=='), url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjAuMyIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjAiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyYWQpIiAvPjwvc3ZnPiA=');
background-size: 100%;
background-image: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, rgba(156, 213, 237, 0.25)), color-stop(80%, rgba(221, 240, 249, 0.25)), color-stop(80%, rgba(0, 0, 0, 0))), -webkit-gradient(linear, 50% 0%, 50% 1, color-stop(100%, rgba(0, 0, 0, 0.3)), color-stop(100%, rgba(0, 0, 0, 0)));
background-image: -moz-linear-gradient(left, rgba(156, 213, 237, 0.25), rgba(221, 240, 249, 0.25) 80%, rgba(0, 0, 0, 0) 80%), -moz-linear-gradient(top, rgba(0, 0, 0, 0.3) 1px, rgba(0, 0, 0, 0) 1px);
background-image: -webkit-linear-gradient(left, rgba(156, 213, 237, 0.25), rgba(221, 240, 249, 0.25) 80%, rgba(0, 0, 0, 0) 80%), -webkit-linear-gradient(top, rgba(0, 0, 0, 0.3) 1px, rgba(0, 0, 0, 0) 1px);
background-image: linear-gradient(to right, rgba(156, 213, 237, 0.25), rgba(221, 240, 249, 0.25) 80%, rgba(0, 0, 0, 0) 80%), linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 1px, rgba(0, 0, 0, 0) 1px);
background-size: 8.47458%, 100% 23px;
background-origin: content-box, border-box;
background-clip: content-box, border-box;
background-position: left top;
}
body:after {
content: " ";
display: block;
clear: both;
}
}
p.weight1 {
font-family: "Merriweather";
font-weight: 300;
font-style: italic;
font-size: 36px;
line-height: 30px;
}
p.weight2 {
font-family: "Merriweather";
font-weight: 300;
font-style: normal;
font-size: 36px;
line-height: 30px;
}
p.weight3 {
font-family: "Merriweather";
font-weight: 400;
font-style: italic;
font-size: 36px;
line-height: 30px;
}
p.weight4 {
font-family: "Merriweather";
font-weight: 400;
font-style: normal;
font-size: 36px;
line-height: 30px;
}
p.weight5 {
font-family: "Merriweather";
font-weight: 700;
font-style: italic;
font-size: 36px;
line-height: 30px;
}
p.weight6 {
font-family: "Merriweather";
font-weight: 700;
font-style: normal;
font-size: 36px;
line-height: 30px;
}
p.weight7 {
font-family: "Merriweather";
font-weight: 900;
font-style: italic;
font-size: 36px;
line-height: 30px;
}
p.weight8 {
font-family: "Merriweather";
font-weight: 900;
font-style: normal;
font-size: 36px;
line-height: 30px;
}
h1 {
font-size: 64px;
line-height: 73px;
margin-bottom: 25px;
}
p {
font-size: 1em;
line-height: 1.4em;
margin-bottom: 35px;
font-family: "Lato", sans-serif;
font-weight: 400;
font-style: normal;
}
p.weights {
letter-spacing: 2px;
font-size: 13px;
color: #adadad;
margin-bottom: 35px;
border-width: 0px 0px 1px 0px;
border-style: dotted;
margin-top: 45px;
}
p.pullquote {
font-size: 17px;
line-height: 26px;
margin-bottom: 35px;
padding-left: 15px;
border-width: 0px 0px 0px 3px;
border-style: solid;
}
p.map {
font-weight: 400;
font-style: normal;
margin-bottom: 0px;
text-align: justify;
font-size: 27px;
line-height: 54px;
margin-top: 0px;
}
p.heading {
letter-spacing: 2px;
font-size: 13px;
margin-bottom: 35px;
border-width: 0px 0px 1px 0px;
border-style: dotted;
margin-top: 45px;
color: black;
}
p.intro {
margin-bottom: 35px;
font-size: 21px;
line-height: 28px;
}
p.inverse-big {
background-color: #333333;
color: white;
padding: 30px;
margin-bottom: 0px;
}
p.inverse-med {
background-color: #333333;
color: white;
padding: 30px;
margin-bottom: 0px;
padding-top: 0px;
font-size: 15px;
}
p.inverse-small {
padding-top: 0px;
padding-left: 30px;
padding-right: 30px;
padding-bottom: 30px;
background-color: #333333;
color: white;
font-size: 13px;
}
p.inverse-heading {
background-color: #333333;
color: white;
padding: 30px;
margin-bottom: 0px;
padding-bottom: 0px;
font-size: 15px;
letter-spacing: 2px;
margin-top: 50px;
}
/* Simple blockquote styling
<http://css-tricks.com/snippets/css/simple-and-nice-blockquote-styling/>
<http://24ways.org/2005/swooshy-curly-quotes-without-images/>
<http://typeplate.com/#block-quotes>
Compatibility untested
Styleguide typo.blockquotes
*/
blockquote {
background: #f9f9f9;
border-left: 10px solid #ccc;
margin: 1.5em 10px;
padding: 0.5em 10px;
quotes: "“" "”" "‘" "’";
font-family: "Merriweather", serif;
}
blockquote:before {
color: #ccc;
content: open-quote;
font-size: 4em;
line-height: 0.1em;
margin-right: 0.15em;
vertical-align: -0.4em;
font-family: "Merriweather", serif;
}
blockquote:after {
color: #ccc;
content: close-quote;
font-size: 4em;
line-height: 0.1em;
margin-left: 0.15em;
vertical-align: -0.5em;
font-family: "Merriweather", serif;
}
blockquote p {
display: inline;
font-family: "Merriweather", serif;
font-style: italic;
}
/* # Layout
*/
header[role="banner"] {
height: 60px;
padding-left: 25%;
background-color: #330028;
color: white;
overflow: hidden;
}
header[role="banner"] > h1 {
margin: 0;
font-family: "Lato", sans-serif;
font-size: 1.5em;
font-weight: 400;
text-transform: uppercase;
}
header[role="banner"] > h1 a {
color: white;
text-decoration: none;
}
header[role="banner"] > h1 span {
font-size: 0.7em;
text-transform: lowercase;
color: #ff0040;
}
main[role="main"] {
width: 100%;
margin: 0 auto;
}
main[role="main"] section > header {
height: 200px;
padding-left: 25%;
background-color: #4d003c;
overflow: hidden;
position: relative;
font-weight: 400;
font-family: "Merriweather", serif;
}
main[role="main"] section > header:before {
background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTM2IiBoZWlnaHQ9IjEzNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyB0cmFuc2Zvcm09InJvdGF0ZSgtNDUgNjggNjgpIHRyYW5zbGF0ZSgtMjcgLTI3KSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utb3BhY2l0eT0iLjI1IiBzdHJva2Utd2lkdGg9IjIiIGZpbGw9Im5vbmUiPjxyZWN0IHdpZHRoPSIxOTAiIGhlaWdodD0iMTkwIi8+PHJlY3QgeD0iNCIgeT0iNCIgd2lkdGg9IjE4MiIgaGVpZ2h0PSIxODIiLz48cmVjdCB4PSI4IiB5PSI4IiB3aWR0aD0iMTc0IiBoZWlnaHQ9IjE3NCIvPjxyZWN0IHg9IjEyIiB5PSIxMiIgd2lkdGg9IjE2NiIgaGVpZ2h0PSIxNjYiLz48cmVjdCB4PSIxNiIgeT0iMTYiIHdpZHRoPSIxNTgiIGhlaWdodD0iMTU4Ii8+PHJlY3QgeD0iMjAiIHk9IjIwIiB3aWR0aD0iMTUwIiBoZWlnaHQ9IjE1MCIvPjxyZWN0IHg9IjI0IiB5PSIyNCIgd2lkdGg9IjE0MiIgaGVpZ2h0PSIxNDIiLz48cmVjdCB4PSIyOCIgeT0iMjgiIHdpZHRoPSIxMzQiIGhlaWdodD0iMTM0Ii8+PHJlY3QgeD0iMzIiIHk9IjMyIiB3aWR0aD0iMTI2IiBoZWlnaHQ9IjEyNiIvPjxyZWN0IHg9IjM2IiB5PSIzNiIgd2lkdGg9IjExOCIgaGVpZ2h0PSIxMTgiLz48cmVjdCB4PSI0MCIgeT0iNDAiIHdpZHRoPSIxMTAiIGhlaWdodD0iMTEwIi8+PHJlY3QgeD0iNDQiIHk9IjQ0IiB3aWR0aD0iMTAyIiBoZWlnaHQ9IjEwMiIvPjxyZWN0IHg9IjQ4IiB5PSI0OCIgd2lkdGg9Ijk0IiBoZWlnaHQ9Ijk0Ii8+PHJlY3QgeD0iNTIiIHk9IjUyIiB3aWR0aD0iODYiIGhlaWdodD0iODYiLz48cmVjdCB4PSI1NiIgeT0iNTYiIHdpZHRoPSI3OCIgaGVpZ2h0PSI3OCIvPjxyZWN0IHg9IjYwIiB5PSI2MCIgd2lkdGg9IjcwIiBoZWlnaHQ9IjcwIi8+PHJlY3QgeD0iNjQiIHk9IjY0IiB3aWR0aD0iNjIiIGhlaWdodD0iNjIiLz48cmVjdCB4PSI2OCIgeT0iNjgiIHdpZHRoPSI1NCIgaGVpZ2h0PSI1NCIvPjxyZWN0IHg9IjcyIiB5PSI3MiIgd2lkdGg9IjQ2IiBoZWlnaHQ9IjQ2Ii8+PHJlY3QgeD0iNzYiIHk9Ijc2IiB3aWR0aD0iMzgiIGhlaWdodD0iMzgiLz48cmVjdCB4PSI4MCIgeT0iODAiIHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCIvPjxyZWN0IHg9Ijg0IiB5PSI4NCIgd2lkdGg9IjIyIiBoZWlnaHQ9IjIyIi8+PHJlY3QgeD0iODgiIHk9Ijg4IiB3aWR0aD0iMTQiIGhlaWdodD0iMTQiLz48cmVjdCB4PSI5MiIgeT0iOTIiIHdpZHRoPSI2IiBoZWlnaHQ9IjYiLz48L2c+PC9zdmc+") repeat;
content: " ";
position: absolute;
display: block;
opacity: 1;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
main[role="main"] section > header h1 {
font-size: 1.8em;
color: #ff0040;
margin: 0;
font-weight: 400;
opacity: 1;
position: relative;
}
main[role="main"] section > header p {
font-size: 1.2em;
font-family: "Merriweather", serif;
color: rgba(255, 255, 255, 0.75);
font-weight: normal;
margin: 0;
padding: 0;
width: 85%;
position: relative;
}
main[role="main"] section > header p > a {
color: white;
}
.galery {
width: 100%;
list-style-type: none;
margin: 0;
padding: 0;
}
@media (min-width: 0) and (max-width: 320px) {
.galery li {
width: 44.44444%;
float: left;
margin-bottom: 1em;
}
.galery li:nth-child(2n + 1) {
margin-left: 0;
margin-right: -100%;
clear: both;
margin-left: 0;
}
.galery li:nth-child(2n + 2) {
margin-left: 55.55556%;
margin-right: -100%;
clear: none;
}
}
@media (min-width: 400px) and (max-width: 899px) {
.galery li {
width: 21.05263%;
float: left;
margin-bottom: 1em;
}
.galery li:nth-child(4n + 1) {
margin-left: 0;
margin-right: -100%;
clear: both;
margin-left: 0;
}
.galery li:nth-child(4n + 2) {
margin-left: 26.31579%;
margin-right: -100%;
clear: none;
}
.galery li:nth-child(4n + 3) {
margin-left: 52.63158%;
margin-right: -100%;
clear: none;
}
.galery li:nth-child(4n + 4) {
margin-left: 78.94737%;
margin-right: -100%;
clear: none;
}
}
@media (min-width: 900px) {
.galery li {
width: 10.25641%;
float: left;
margin-bottom: 1em;
}
.galery li:nth-child(8n + 1) {
margin-left: 0;
margin-right: -100%;
clear: both;
margin-left: 0;
}
.galery li:nth-child(8n + 2) {
margin-left: 12.82051%;
margin-right: -100%;
clear: none;
}
.galery li:nth-child(8n + 3) {
margin-left: 25.64103%;
margin-right: -100%;
clear: none;
}
.galery li:nth-child(8n + 4) {
margin-left: 38.46154%;
margin-right: -100%;
clear: none;
}
.galery li:nth-child(8n + 5) {
margin-left: 51.28205%;
margin-right: -100%;
clear: none;
}
.galery li:nth-child(8n + 6) {
margin-left: 64.10256%;
margin-right: -100%;
clear: none;
}
.galery li:nth-child(8n + 7) {
margin-left: 76.92308%;
margin-right: -100%;
clear: none;
}
.galery li:nth-child(8n + 8) {
margin-left: 89.74359%;
margin-right: -100%;
clear: none;
}
}
.galery img {
width: 100%;
height: auto;
display: block;
}
.galery h1 {
font-size: 1.3em;
font-family: "Merriweather", serif;
margin-bottom: 0;
padding-bottom: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment