Skip to content

Instantly share code, notes, and snippets.

@andreasvirkus
Created September 14, 2016 15:15
Show Gist options
  • Save andreasvirkus/481a63fd3180ecd59a571f499df42fc9 to your computer and use it in GitHub Desktop.
Save andreasvirkus/481a63fd3180ecd59a571f499df42fc9 to your computer and use it in GitHub Desktop.
html {
font: normal normal 105%/1.7 sans-serif
}
.container {
max-width: 1120px;
margin: 0 auto;
padding: 0 30px;
padding: 0 1.5rem
}
.grid {
margin-left: -3%;
max-width: 105%
}
.unit {
display: inline-block;
*display: inline;
*zoom: 1;
vertical-align: top;
margin-left: 3%;
margin-right: -.25em;
overflow: hidden;
*overflow: visible
}
ul li {
float: right;
margin-right: 1.0em;
list-style: none
}
ul a {
text-decoration: none;
color: #696969;
font-size: 100%
}
.span-grid {
width:97%
}
h1 {
font-family: sans-serif;
font-style: normal;
font-weight: 700;
line-height: 1.0;
letter-spacing: -0.05555556em;
font-size: 60px;
font-size: 3.4em;
color: #333
}
h2 {
font-family: sans-serif;
font-size: 40px;
font-size: 1.7rem;
font-weight: 500;
color: #696969;
line-height: 1.5;
letter-spacing: -0.05555556em
}
p, ul, hr, form, h1, h2 {
margin-bottom: 30px;
margin-bottom: 1.5rem
}
img {
height:auto
}
.head {
height:150px
}
.intro {
float: right;
margin: 1.0em;
max-width:60%
}
@media screen and (max-width:650px) {
img {
height: auto;
color: #c00
}
.intro {
float: right;
margin: 1.0em;
max-width: 100%
}
.grid {
margin-left: 0;
max-width: none
}
.unit {
width: auto;
margin-left: 0;
display: block
}
.head {
height: 100px
}
h1 {
font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
font-style: normal;
font-weight: 600;
line-height: 1.0;
letter-spacing: -0.05555556em;
font-size: 50px;
font-size: 2rem;
color: #333
}
html {
font-size: 90%;
line-height: normal
}
ul {
display: none
}
.intro {
display: block;
margin-left:auto;
margin-right:auto
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment