@import "bootstrap.less"; #reset > .global-reset; // Content @contentColor: rgba(72,92,93,1); // LINKS @linkColor: lighten(@contentColor,20%); @linkColorHover: darken(@linkColor, 10); a { color: @linkColor; text-decoration: none; &:hover { color: darken(@linkColor, 10); } } // LAYOUT html, body { color: @contentColor; font-size: 10px; height: 100%; overflow: hidden; } #container { height: 100%; overflow-x: hidden; overflow-y: scroll; #flexbox > .display-box; #flexbox > .box-flex(1); #flexbox > .box-orient(vertical); &::-webkit-scrollbar { background: #f7f7f7; width: 8px; } &::-webkit-scrollbar-thumb { background: #ebebeb; } &::-webkit-scrollbar-corner { } } #footer { bottom: 0; height: 8%; min-height: 50px; position: absolute; text-transform: uppercase; width: 100%; z-index:4000; #font > .sans-serif(normal,1.8em,1.2em); img { display:none; } h1 { bottom: 0; left: 5%; position: fixed; a { background: url(../img/head.png) no-repeat; display: block; height: 145px; text-indent: -5000px; width: 205px; } } /* h1 { float: left; height: 100%; margin: -22px 10px 0 5%; position: relative; text-transform: none; z-index: 5000; a { background: darken(@contentColor, 15%); color: #FFF; display: block; height: 100%; padding: 4px 18px 20px 20px; .transition(background .5s ease-in); .border-radius(2px 2px 0 0); #font > .script(normal,2.3em,1.6); &:hover { color: #FFF; } } } */ ul { bottom: 0; right: 5%; height: 90%; position: absolute; } li { background: rgba(255,255,255,70%); display:inline-block; height: 100%; padding-top: 3px; .transition(background .5s ease-in); .border-radius(2px 2px 0 0); .border-radius(2px 2px 0 0); a { color: darken(@contentColor,15%); display: block; vertical-align: middle; padding: 5px 10px 5px; &:hover { text-decoration: underline; } } &.current-menu-item { background: darken(@contentColor,15%); a { color: #FFF !important; text-decoration: none !important; } } } } // POSTS .post-nav { left: 5%; padding-left: 6px; position: absolute; top: 10px; z-index: 10; li { float: left; margin-right: 1px; } a { background:rgba(255,255,255,70%); display: block; height: 30px; position: relative; width: 30px; .border-radius(5px); &:before { border: @contentColor 3px solid; border-width: 0 3px 3px 0; content: " "; display: block; height: 12px; margin: -10px 0 0 -7px; position: absolute; left: 50%; top: 50%; width: 12px; .transform(rotate(45deg)); } &:hover { &:before { border-color: @linkColor; } } } .post-nav-previous { a:before { margin: -2px 0 0 -7px; .transform(rotate(225deg)); } } } #posts { height: 100%; article { border-bottom: #EBEBEB 1px solid; min-height: 100%; position: relative; #flexbox > .display-box; #flexbox > .box-orient(vertical); #flexbox > .box-pack(center); #flexbox > .box-align(center); width: 100%; .post-body { margin: 0 auto; min-width: 500px; max-width: 800px; padding: 60px 0; width: 75%; aside { height: 100%; float: left; padding: 12px 0 20px; position: relative; width: 25%; #font > .serif(normal,2em,1.4em); time { display: block; } p { color: lighten(@contentColor,25%); font-size: 1em; font-style: italic; margin: 0; } /* &:after { background:rgba(56,61,61,10%); content: " "; height: 100%; position: absolute; right: 0; top: 0; width: 1px; .box-shadow(rgba(56,61,61,20%) 2px 0 6px); }*/ } section { margin-left: 28%; } h2 { #font > .sans-serif(500,6.5em,1.1em); a { color: darken(@contentColor,15%); text-shadow: #FFF 0 1px 0; } } .doc { background: lighten(@contentColor,100%); margin: 30px -30px; padding: 10px 30px; .box-shadow(fadeout(@contentColor,.8) 0 1px 2px); h4 { font-size: 2.5em; font-weight: normal; } ul { list-style: disc; font-size: 1.8em; margin: 1em 1.5em; #font > .serif(normal,2em,1.4em); em { font-style:italic; } } } h3 { color: lighten(@contentColor,30%); margin-top: 1em; #font > .sans-serif(500,3.5em,1.1em); a { color: darken(@contentColor,15%); text-shadow: #FFF 0 1px 0; } } h4 { color: lighten(@contentColor,30%); margin-top: 1em; #font > .sans-serif(500,2.8em,1.1em); a { color: darken(@contentColor,15%); text-shadow: #FFF 0 1px 0; } } p { margin: 1em 0; #font > .serif(normal,2em,1.4em); em { font-style:italic; } } h2 + p { font-size: 2.7em; } blockquote { margin-left: 2em; margin-bottom: 4em; p:first-child { font-size: 2.5em; line-height: 1.5; margin-bottom: -10px; quotes: "\201c" "\201d"; &:before, &:after { color: rgba(56,61,61,20%); display: inline-block; font-size: 3em; line-height: .2; vertical-align: bottom; } &:before { content: open-quote; margin: 0 .1em 0 -.6em; } &:after { content:close-quote; margin: 0 -.6em 0 .1em; } } cite { color: lighten(@contentColor, 20%); display: block; text-align: right; &:before { content: "- "; } } } } .meta { #font > .serif(normal,1.6em,1.2em); } // STATUS &.format-status { .post-body { } } // QUOTE &.format-quote { section { margin: 0; padding: 0 60px; } blockquote { p:first-child { font-size: 3em; &:before, &:after { font-size: 3em; } } } } // IMAGE &.format-image { .post-body { height: 100%; min-width: 0; max-width: 100%; padding: 0; width: 100%; } } &:first-child { .post-nav-previous { a { cursor: default; .opacity(20); &:hover { &:before { border-color:@contentColor ; } } } } } &:last-child { border-width: 0; .post-nav-next { a { cursor: default; .opacity(20); &:hover { &:before { border-color:@contentColor ; } } } } } } #respond { border-top: fadeout(@contentColor,85%) 3px solid; margin-top: 30px; padding: 20px 0 20px 28%; h2 { font-size: 3.5em; } } } .instagram { height: 80%; margin: 0 auto; text-align: center; width: 90%; dt { height: 90%; top: 10%; z-index: 1; p, img { height: 100%; max-height: 600px; } img { border:#000 2px solid; } } dd { h2 { color: darken(@contentColor,15%); font-size: 2em !important; padding: 0; z-index:2; } time { display:block; #font > .serif(normal,1.4em,1.6em); } } } // Tags .tags { margin: 30px 0 0; #font > .sans-serif(normal,.7em,1.6em); li { margin-bottom: 5px; a { background: rgba(190,204,204,20%); display: inline-block; padding: 0 10px 2px; .border-radius(10px); .opacity(70); } } } // Blackbird Pie .bbpBox { font-family: helvetica, arial, sans-serif; padding: 40px; .border-radius(5px); .bbpBox_content { background: #FFF; padding: 20px 40px; .border-radius(5px); .box-shadow(#999 0 1px 2px) } .bbpBox_user { line-height: 1.3; .clearfix; .bbpBox_user_avatar { float:left; } .bbpBox_user_name { display: block; font-size: 2.2em; font-weight: 600; margin-left: 55px; } span { color: #999; display: block; font-size: 1.4em; margin-left: 55px; } } .bbpBox_tweet { font-size: 3em !important; margin: .5em 0 !important; } .bbpBox_meta { p, ul { display: inline-block; font-family: "Lucida Grande", Helvetica, Arial, Sans-serif !important; font-size: 1.2em !important; line-height: 1.4em; margin: 0 !important; } ul { float:right; } li { display: inline-block; } } .bbpBox_actions li { background: url(../img/twitter-icons.png) no-repeat; margin-left: 5px; padding-left:17px; a { background: #FFF; } &.bbpBox_retweet { background-position:-80px 0; &:hover { background-position:-96px 0; } } &.bbpBox_reply { background-position: 0 -1px; &:hover { background-position:-16px -1px; } } &.bbpBox_favorite { background-position:-32px -1px; &:hover { background-position:-48px -1px; } } } } .mozilla { .post-nav { display: none; } } @media (max-width:760px) { #posts { article { .post-body { min-width: 300px; padding: 60px 30px 80px 30px; h2 { font-size: 4em; } aside { float: none; width: auto; ul { display: none; } } section { margin: 0; } } &.format-quote { margin: 0 !important; .post-body { margin: 0 !important; min-width: 360px; padding: 0 5px; } } } } #footer { h1 { left: 2%; a { background-size: cover; height: 75px; width: 115px; } } } }