123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437 |
- @import "_base";
- @import "compass/reset";
- @include establish-baseline;
- div, section, nav, article, header, footer {
- }
- body {
- background: black;
- @include text-size-adjust(none);
-
- font-family: "Open Sans", sans-serif;
- }
- a {
- text-decoration: none;
- color: $link-color;
- }
- strong {
- font-weight: bold;
- }
- em {
- font-style: italic;
- }
- @import "cookie";
- #top_banner {
- background-repeat: no-repeat ! important;
- background-position: center center ! important;
- @include background-size(cover !important);
- height: 120px;
- background: black;
-
- @include breakpoint(max-width $bp-small) {
- height: 80px;
- }
- }
- #bold_title {
- color: white;
- @include container;
- position: relative;
- font-family: 'Oswald', sans-serif;
- font-weight: normal;
- @include single-text-shadow(black, 0px, 0px, 3px);
-
- h1 {
- font-size: 3em;
- text-align: right;
- position: relative;
- top: 0.75em;
- @include span(3 first);
- @include nowrap();
- }
-
- .tagline {
- font-size: 1.5em;
- text-align: left;
- @include span(3 last);
-
- span {
- position: absolute;
- margin-left: -1*span(2);
- top: 3em;
- }
- }
-
- @include breakpoint(max-width $bp-small) {
- h1 {
- font-size: 2em;
- top: 0.5em;
- @include span(5 split);
- }
-
- .tagline span {
- font-size: 0.75em;
- top: 2.5em;
- }
- }
- }
- .page {
- #content_box {
- #inner_box {
- @include container;
-
- article {
- @include span(full);
- padding-top: 2*$base-line-height;
-
- &.bottom_padding {
- padding-bottom: 2*$base-line-height;
- }
- @include breakpoint(max-width $bp-middle) {
- @include span(full split);
- }
-
- @include breakpoint(max-width $bp-small) {
- padding-top: $base-line-height;
- }
-
- header {
- text-align: center;
-
- h2 {
- font-size: 2em;
- font-family: "Oswald", sans-serif;
- line-height: 2*$base-line-height;
- padding-bottom: $base-line-height;
-
- @include breakpoint(max-width $bp-small) {
- font-size: 1.5em;
- padding-bottom: 0;
- }
- }
- }
-
- h2 {
- font-family: "Oswald", sans-serif;
- font-size: 1.5em;
- line-height: 2*$base-line-height;
- }
-
- h3 {
- @extend h2;
- font-size: 1.25em;
-
- strong {
- text-transform: uppercase;
- }
- }
-
- ul {
- padding-left: 1em;
- margin: $base-line-height/2 0;
-
- &.nomargin {
- margin: 0;
- }
-
- li {
- text-indent: -0.7em;
- }
-
- li:before {
- content: '• ';
- width: 1em;
- }
-
- &.nobullets {
- padding-left: 0;
- li {
- text-indent: 0;
- }
-
- li:before {
- content: '';
- width: 0;
- }
- }
- }
-
- p.calltoaction {
- text-align: center;
- display: block;
- margin: $base-line-height/2 0;
- padding: $base-line-height/2 0;
- background-color: hsl(210, 88, 95);
- font-size: 1.5em;
- font-family: "Oswald", sans-serif;
-
- a {
- }
- }
- section {
- &.full {
- @include span(full);
-
- &.hr {
- height: 1px;
- padding: 0;
- margin: $base-line-height*0.73 0 $base-line-height*0.25 0;
- background: hsl(0,0,80);
- }
- }
- &.left {
- @include span(first 3);
-
- @include breakpoint(max-width $bp-small) {
- @include span(full);
- }
- }
- &.right {
- @include span(last 3);
- @include breakpoint(max-width $bp-small) {
- @include span(full);
- }
- }
- &.focus {
- }
- blockquote {
- padding: gutter() $base-line-height;
- font-style: italic;
- i, em {
- font-style: normal;
- }
- }
- }
-
- figure {
- position: relative;
- margin-top: $base-line-height/2;
- margin-bottom: $base-line-height/2;
-
- img {
- @include border-radius($corner-radius);
- width: 100%;
- display: block;
- }
- figcaption {
- position: absolute;
- width: 100%;
- bottom: 0;
- font-size: 0.75em;
- color: #fff;
- line-height: $base-line-height;
- background: rgba(0, 0, 0, 0.5);
- padding: 0 0 0.2em 0;
- @include border-radius(0 0 $corner-radius $corner-radius);
-
- a {
- color: #fff;
- text-decoration: underline;
- }
-
- span {
- padding: 0 1em;
-
- &:before {
- content: '\203A ';
- }
- }
- }
- }
- }
- }
- }
- }
- .home.page {
- #bold_title {
- h1 {
- text-align: center;
- @include span(6);
-
- .hi {
- font-size: 0.667em;
- vertical-align: super;
- margin-right: 0.25em;
- }
- }
-
- @include breakpoint(max-width $bp-small) {
- h1 {
- font-size: 3em;
- top: 0.35em;
- }
-
- .tagline span {
- background: red;
- font-size: 0.75em;
- }
- }
- }
- }
- #content_box {
- background: white;
- position: relative;
-
- #main_menu {
- background: black;
- @include container;
- overflow: hidden;
-
- ul {
- position: absolute;
- bottom: -42px;
- text-align: center;
- @include nowrap();
- overflow-x: auto;
- overflow-y: hidden;
- -webkit-overflow-scrolling: touch;
- li {
- padding: 10px 15px 5px 0;
- display: inline-block;
- }
- a {
- color: white;
- font-family: "Oswald", sans-serif;
- font-weight: normal;
- }
- @include breakpoint(max-width $bp-middle) {
- @include span(full split);
- background: url('../images/hscroller-01.png') bottom center no-repeat;
- background-size: auto 100%;
- }
- }
- }
- }
- #inner_box {
- @include container;
- }
- .home.page {
- #inner_box {
- padding-bottom: 0;
- }
-
- h2 {
- line-height: 80px;
- text-align: center;
- font-size: 2em;
- font-family: 'Oswald', sans-serif;
- }
-
- .work.column {
- width: 25%;
- height: 300px;
- float: left;
- display: block;
- padding: 0;
- margin: 0;
- position: relative;
- vertical-align:bottom;
- background: gray;
-
- span {
- position: absolute;
- color: white;
- font-family: 'Oswald', sans-serif;
- font-size: 30px;
- white-space: nowrap;
- @include apply-origin(bottom left, false);
- @include rotate(-90deg);
- display: block;
- bottom: 0.33em;
- left: em(16px) + 0.33em;
- overflow: visible;
- }
-
- &.research {
- background-image: url("../images/home-research-2x.png");
- background-position: right bottom;
- background-size: cover;
- }
- &.development {
- background-image: url("../images/home-development-2x.png");
- background-position: right bottom;
- background-size: cover;
- }
- &.writing {
- background-image: url("../images/home-writing-2x.png");
- background-position: right bottom;
- background-size: cover;
- }
- &.other {
- background-image: url("../images/home-contact-2x.png");
- background-position: right bottom;
- background-size: cover;
- }
- }
- }
- #site_footer {
- @include container;
- color: adjust-lightness($link-color, 40);
- line-height: 0.8*$base-line-height;
- .footer_body {
- padding-top: 46px;
- border-bottom: 1px solid hsl(210, 25, 50);
-
- a {
- color: adjust-lightness($link-color, 20);
- }
- .column {
- padding-top: 14px;
- font-size: 0.75em;
-
- &.first {
- @include span(first 1);
- }
- &.second {
- @include span(1);
- }
-
- &.last {
- @include span(last 4);
- }
-
- @include breakpoint(max-width $bp-middle) {
- &.first {
- @include span(2);
- @include pre(gutter()/2);
- }
-
- &.last {
- @include span(last 3);
- @include post(gutter()/2);
- }
- }
- }
- }
- }
- @import "_contact";
- @import "_development";
- @import "_cv";
|