@import "mixins.less"; @import "variables.less"; /* HTML 5 declarations */ section, article, header, footer, nav, aside, hgroup { display: block; } /* Main CSS */ html { font-family: Helvetica, Arial, "sans-serif"; } html, body { width: 100%; margin: 0; padding: 0; } body { background: #ffffff; background:url(../img/littleknobs.png); background:url(../img/snow.png); } a { color: @linkColor; text-decoration: none; } a:hover { color: @linkColorHover; } #home{ background:url(../img/littleknobs.png); } #app { background:url(../img/dark-tiles.png) fixed; #main { .box-shadow(0 1px 10px #000); background: rgba(255,255,255,.95); } #top-bar{ .box-shadow(0 1px 4px #333); } } a { color: @linkColor; text-decoration: none; } a:hover { text-decoration: underline; } /* Nav & Masthead */ #top-bar { width: 100%; height: 10px; background-color: @yellow; position: fixed; .box-shadow(0 1px 2px #ccc); z-index: 1000; } #main { width: 200px; margin: 0 20px 0 25px; height: 100%; position: fixed; background-color: #FFFFFF; .box-shadow(0 1px 4px #ccc); min-height: 620px; } #logo { display: block; width: 128px; height: 170px; margin: 20px auto 0 auto; } #logo img { width: 100%; } #logo-mast { display: none; } #class-name { font-family: Georgia, serif; font-size: 12px; font-style: italic; color: #999; margin-top: 10px; text-align: center; } nav ul { list-style: none; background: url(../img/bgnoise-yellow.png) repeat; border-top: 1px solid @grayLighter; border-bottom: 1px solid @grayLighter; margin: 50px 0 0 0; padding: 20px 0 15px 0; font-family: Georgia, serif; font-size: .875em; } nav ul li { margin-bottom: 7px; padding-left: 25px; } nav ul li a { color: @graySlight; } nav ul li a.focus-link { color: @linkColor; } nav ul li a:hover { color: @black; text-decoration: none; } nav ul li a.focus-link:hover { color: @linkColorHover; text-decoration: none; } nav ul li.current { } nav ul li.current a { color: @black; } #class-info { padding: 0 20px 0 20px; position: absolute; bottom: 20px; width: 80%; h2 { font-size: .875em; color: #414042; margin-bottom: 0; line-height: 1.25em; } p { color: #999; font-size: .75em; margin: 5px 0 0 0; } } /* App Content */ #content-app { padding-left: 245px; margin-right: 20px; padding-top: 20px; height: 100%; .post { float: left; width: 12%; padding: 3px; margin: 4px; background-color: #000; .box-shadow(0 2px 4px #222222); img { width: 100%; } border-bottom: 5px solid #000; } .level-1 { border-bottom: 5px solid rgba(255,193,23,.1); } .level-2 { border-bottom: 5px solid rgba(255,193,23,.2); } .level-3 { border-bottom: 5px solid rgba(255,193,23,.3); } .level-4 { border-bottom: 5px solid rgba(255,193,23,.4); } .level-5 { border-bottom: 5px solid rgba(255,193,23,.5); } .level-6 { border-bottom: 5px solid rgba(255,193,23,.6); } .level-7 { border-bottom: 5px solid rgba(255,193,23,.7); } .level-8 { border-bottom: 5px solid rgba(255,193,23,.8); } .level-9 { border-bottom: 5px solid rgba(255,193,23,.9); } .level-10 { border-bottom: 5px solid rgba(255,193,23,1); } } .photo-entry { width: 100%; max-width: 800px; .image { width: 58%; max-width: 600px; float: left; padding: 1%; background-color: #000; img { width: 100%; } } .info-wrap { width: 40%; max-width: 400px; float: left; .info { position: relative; padding: 0 20px 0 20px; h2 { font-size: 4em; line-height: 1em; color: @yellow; margin: 0; } h3 { font-size: 1em; font-weight: bold; margin: 0; } p { font-size: .75em; color: #aaa; margin: 0 0 5px 0; } p.story { margin: 15px 0 50px 0; background-color: #e0e0e0; color: #555; font-size: 1em; font-family: Georgia, serif; font-style: italic; padding: 10px; border: 1px solid #ccc; } } } } /* Content */ #content, #splash-contain { padding-top: 40px; margin-left: 245px; margin-right: 20px; } #content h1 { margin-top: 50px; } #content p { max-width: 600px; margin-bottom: 9px; } p { margin: 0 0 9px 0; } #img-container { margin: 0; padding: 0; } #img-container p { width: 400px; margin: 0; padding: 0 0 12px 0; } #once { clear: left; } .page-section-title{ font-family: Helvetica, Arial, sans-serif; font-size: 24px; } #required-reading { margin-bottom: 50px; } #required-reading ul, #suggested-reading ul { list-style: none; padding:0; margin: 0 0 50px 0; max-width: 600px; } #required-reading ul li { font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; margin: 15px 0 15px 0; padding: 0 0px; } #required-reading ul li ul { margin: 0; padding: 0; } #required-reading ul li ul li{ font-size: 13px; color: #666; text-transform: none; font-weight: normal; margin: 3px 0 2px 0; font-family: Georgia, serif; padding: 0; } #suggested-reading ul li { font-size: 13px; color: #666; text-transform: none; font-weight: normal; margin: 3px 0 2px 0; font-family: Georgia, serif; padding: 2px 10px; } #suggested-reading p, #required-reading p{ font-size: 13px; color: #666; text-transform: none; font-weight: normal; font-family: Georgia, serif; margin: 5px 0 10px 0; } #suggested-reading .page-section-title { } #required-reading ul li.highlight{ background-color: #FAF47D; padding: 10px; } .home-text { font-size: 18px; line-height: 24px; margin-bottom: 15px; } #content .home-text p{ margin-bottom: 0; margin: 5px 0 0px 0; padding: 10px; } .home-text p.highlight { background-color: #FAF47D; font-style: italic; color: #555; margin: 5px 0 0 0; } .highlight { background-color: #FAF47D; padding: 2px 4px; } .letter { font-size: 12px; line-height: 18px; color: #222; background-color: #FAF49D; padding: 15px; width: 600px; font-family: Helvetica, Arial, sans-serif; -webkit-box-shadow: 0px 4px 8px #ccc; -moz-box-shadow: 0px 4px 8px #ccc; margin-bottom: 20px; } #content .letter p{ margin: 10 0 15px 0; } .letter .home-title { font-weight: bold; margin-bottom: 15px; color: black; font-size: 16px; } .bio { margin-bottom: 50px; } .bio .photo { max-width: 200px; float: left; padding-right: 20px; } .bio .name { font-family: Helvetica, Arial, sans-serif; font-size: 1.5em; color: black; margin-bottom: 0; } .bio .name .role { color: #aaa; font-size: .75em; } .bio .text { color: #666; font-family: Georgia, serif; font-size: .8125em; line-height: 1.25em; max-width: 600px; } .clear { clear: both; } .note { font-size: .825em; line-height: 1.5em; color: #222; background-color: #FAF49D; background-color: #fff; padding: 10px; max-width: 600px; font-family: Helvetica, Arial, sans-serif; margin: 20px 0; border: 1px solid #ccc; } /* Home Page Specific */ .app-links { height: 20px; margin: 0 0 5px 5px; font-size: .85em; a { color: #555; margin-right: 20px; } a:hover { color: #ccc; text-decoration: none; } a.active { color: #ccc; text-shadow: 0 1px 1px #000; } } .splash { position: absolute; z-index: 90; left: 50%; background: rgba(25,25,25,.95); .border-radius(10px); .box-shadow(0 3px 8px rgba(0,0,0,1)); max-width: 800px; margin: 20px auto; margin-left: -400px; .close { font-size: 24px; height: 15px; padding: 5px 15px 0px 50px; float:right; a { color: #555; } a:hover { color: #ccc; text-decoration: none; } } h3 { font-family: Helvetica, Arial, sans-serif; font-weight: normal; font-size: 1.1em; line-height: 2em; margin-bottom: 20px; .detail { color: #666; font-family: Georgia, serif; font-style: italic; } a { background-color: @linkColor; .border-radius(15px); color: #000; padding: 5px 15px; } a:hover { background-color: @linkColorButton; text-decoration: none; } } p { max-width: none; } .title { color: #fff; margin-bottom: 0; padding: 10px 20px; font-size: 1.75em; line-height: 1.25em; border-bottom: 1px solid #000; text-shadow: 0 2px 5px #000; } .details { display: none; p { color: #666; font-size: .8em; padding: 10px 20px; margin: 0; } } .description { border-top: 1px solid #333; padding: 10px 20px 20px 20px; font-family: Georgia, Times, serif; color: #aaa; color: #bbb; font-size: .95em; line-height: 1.5em; p { margin: 0 0 10px 0; } } } /* Mobile Styles */ @media screen and (max-height: 620px) { #class-info{ display: none; } } @media screen and (max-width: 1024px) { #main { margin: 0; width: 20%; max-width: 200px; position: fixed; border-left: none; } #content { margin-left: 25%; margin-right: 5%; } #content-app { position: relative; padding-left: 21%; margin-right: 0; .post { width: 14%; } } .splash { left: 0; margin-left: 10px; margin-right: 20px; } #logo { width: 90%; height: auto; max-width: 128px; margin-left: auto; margin-right: auto; } #logo img { width: 100%; } nav ul { padding-left: 10%; padding-right: 5%; } nav ul li { padding: 0; } nav ul li.current { background: none; } } @media screen and (max-width: 768px) { #logo, #class-name { display: none; } #logo-mast { display: block; width: 80%; max-width: 450px; margin: 10px auto; z-index: 9999; } #logo-mast img { width: 100%; } #class-info { display: none; } #class-name { display: none; } #top-bar { .box-shadow(none); border-bottom: 1px solid #999; } #home { #top-bar { .box-shadow(none); } } #app { #top-bar { .box-shadow(none); } } #main { max-width: none; height: auto; position: fixed; margin: 0; padding-bottom: 10px; width: 100%; min-height: 0; } nav { padding: 0; margin: 0 auto; } nav ul { background: none; margin: 1em 0 0 0; padding: 10px 10px 0 10px; border-bottom: none; text-align: center; display: block; } nav ul li { display: inline-block; margin: 0 20px 0 0; padding: 0; font-size: 1.15em; } nav ul li.current { background: none; } nav ul li.current a { font-weight: normal; } #content { margin-left: 20px; margin-right: 20px; padding-top: 200px; } #content-app { padding-left: 15px; margin-right: 0px; padding-top: 200px; .post { width: 22%; } } .splash { margin-top: 20px; margin-left: 15px; margin-right: 30px; .details { display: block; } } .bio .photo { float: none; margin-bottom: 15px; margin: 0 auto 15px auto; } } @media screen and (max-width: 650px) { #top-bar { position: relative; } #main { position: relative; } #logo-mast { margin-top: 0; } #content { padding-top: 10px; } #content-app { padding-top: 10px; padding-left: 5px; } .splash { margin-left: 10px; margin-right: 20px; } } @media screen and (max-width: 400px) { #content { margin-left: 10px; margin-right: 10px; } #content-app { padding-left: 5px; margin-right: 0; .post { width: 30%; margin: 2px; } } .splash { margin-left: 5px; margin-right: 10px; } .photo-entry { .image { float: none; max-width: none; width: 100% } .info-wrap { float: none; max-width: none; width: 100%; .info { padding: 10px 0 0 0; p.story { margin-bottom: 10px; } } } } }