@import 'grid.less'; @import 'global.less'; /* =Layout ----------------------------------------------- */ @baseline: 26px; @width: 1400px; #page { width: 100%; } #top, #colophon { width: 100%; clear: both; } #top { height: 14*@baseline; margin-bottom: 2*@baseline; } #masthead, #main, .site-info { width: 85%; clear: both; margin: 0 auto; } #main { max-width: @width; } #primary { min-height: 200px; } /** setting Semantic Grid System **/ @column-width: 60; @gutter-width: 100; @columns: 12; @total-width: 100%; #secondary-mobile { display: none; } #primary { .column(8); } #secondary { display: block; .column(4); } /* =Global ----------------------------------------------- */ @background: #f3f1dd; @pale: #E4DBBF; @light: #BCA688; @dark: #262626; @special-light: #f17646; @special-dark: #c42405; @font-heading: "Libre Baskerville", Georgia, serif; @font-body: "Noto Serif", Georgia, serif; @font-aux: "Libre Baskerville", Georgia, serif; @oldstyle: "IM Fell English", Georgia, serif; @textsize: 16px; @headingsize: 38px; @media (max-width: 640px) { @headingsize: 30px; } body, button, input, select, textarea { color: @dark; font-family: @font-body; font-size: @textsize; } .clearfix { clear: both; margin: 0 !important; } /* =Header ----------------------------------------------- */ #top { background: #232323 url('../images/bg.png') center center no-repeat; display: table; } #masthead { background: transparent /*url('../images/astrolabium.png') center center no-repeat*/; //height: 100%; //line-height: 10*@baseline; text-align: center; display: table-cell; vertical-align: middle; } #masthead a { display: block; //width: 100%; //height: 100%; border: 0; color: @pale; } #masthead a:hover { color: @special-light; } #masthead-title { width: 60%; max-width: @width; height: auto; margin: 0 auto; vertical-align: middle; } #masthead h1 { margin: 0 auto; display: block; line-height: 4*@baseline; font-size: 80px; font-weight: normal; font-family: @oldstyle; text-transform: uppercase; font-style: italic; letter-spacing: 0.07em; } #masthead h2 { margin: 0 auto; line-height: 2*@baseline; font-size: 20px; font-weight: normal; color: @light; font-family: @oldstyle; font-style: italic; letter-spacing: 0.1em; text-transform: uppercase; } #masthead h3 { color: @light; font-family: @oldstyle; font-style: italic; font-size: 20px; line-height: @baseline; margin: @baseline auto; font-weight: normal; } /* =Index Page Loop ----------------------------------------------- */ .post { margin: 0 0 2*@baseline; padding: 0 0 2*@baseline; border-bottom: 7px solid @pale; } .post:last-child { border: 0; } /* hack for displaying border lines * on both index and archives pages properly * */ .post:nth-last-child(2) { border: 0; } #archives .post:nth-last-child(2) { border-bottom: 7px solid @pale; } .entry-date { font-family: @font-aux; font-style: italic; } .entry-title { line-height: 2*@baseline; font-family: @font-heading; font-size: @headingsize; font-weight: normal; font-style: italic; color: @dark; margin: 0 0 @baseline; } .entry-title a:link, .entry-title a:visited { color: inherit; text-decoration: none; } .entry-title a:hover, .entry-title a:focus { color: @special-dark; } .entry-title a:active { color: @special-light; } .entry-meta { font-family: @font-body; font-style: normal; color: @light; margin: 0 0 @baseline; } .entry-meta a { color: inherit; } .entry-meta a:hover { color: @special-dark; } .entry-meta .post-categories { margin: 0; } .entry-meta .post-categories li { display: inline; list-style: none; } .comments-link { } .entry-content em.lid { padding-bottom: 2*@baseline !important; } .entry-content h2, .entry-content h3 { margin: @baseline 0; font-family: @font-aux; font-style: italic; color: @special-dark; } .entry-content h2:first-child { margin-top: 0; } .entry-content img { margin: 1.5*@baseline 0; } .entry-content p { text-indent: 0; margin-bottom: 0; hyphens: auto; //text-align: justify; } .entry-content p:before { //padding-right: 20px; color: @pale; font-family: arial, helvetica, sans-serif; //content: '\00B6' } .entry-content p+p { text-indent: @baseline; } .entry-content p+p:before { //padding-right: 20px; color: @pale; font-family: arial, helvetica, sans-serif; //content: '\00B6' } .footnotes { font-size: 14px; margin: 2*@baseline 0; } .footnotes ol { margin: 0; } blockquote p { margin: 0 @baseline !important; } .pagination { background: @pale; border-radius: 2px; } .pagination a { color: inherit; } .pagination a:hover { color: @special-dark; } .nav-previous, .nav-next { margin: @baseline; font-family: @font-aux; font-style: italic; } .nav-previous { float: left; } .nav-next { float: right; } /* video */ .video-container { width: 100%; text-align: center; background: @pale; padding: @baseline; } .video-container video { } /* =Sidebar ----------------------------------------------- */ /* small screens only */ #secondary-mobile { padding-bottom: @baseline; } .secondary-widget { margin-bottom: 2*@baseline; width: 100%; clear: both; float: left; } .secondary-widget h1 { margin: 0 0 @baseline; font-size: 20px; font-family: @font-heading; font-style: italic; } #intro p { margin: 0 0 @baseline; color: @light; } #intro a { color: inherit; } #intro a:hover { color: @special-dark; } #site-navigation { } #site-navigation ul { margin: 0 0 @baseline; list-style-type: none; } #site-navigation ul li { margin: 0; display: block; width: 100%; float: left; clear: both; background: transparent url('../images/dot.png') 0 16px repeat-x; } #site-navigation ul li a { display: block; float: left; padding-right: 5px; color: inherit; background: @background; } #site-navigation ul li a:hover { color: @special-dark; } #site-navigation .number { display: block; width: 25px; padding-left: 5px; text-align: left; float: right; font-size: 14px; font-weight: bold; background: @background; } /* =Single Post ----------------------------------------------- */ .single .post { border: 0; margin-bottom: 0; } .single .pagination { margin-bottom: 2*@baseline; } /* =Comments ----------------------------------------------- */ .comments-title { font-size: 26px; font-family: @font-heading; font-style: italic; margin-bottom: 2*@baseline; } .comment-list { list-style-type: upper-roman; margin: 0 0 2*@baseline; padding: 0 0 @baseline; border-bottom: 7px solid @pale; } .comment-list li { margin-bottom: @baseline; } .comment-author { } .comment-meta { margin: 0.5*@baseline 0; font-family: @font-aux; font-style: italic; } .comment-meta a, .comment-reply-link { color: @light; } .comment-meta a:hover, .comment-reply-link:hover { color: @special-dark; } .comment-reply-link { margin: 0 0 @baseline 0; font-family: @font-aux; font-style: italic; } .comment-reply-title { font-size: 26px; font-family: @font-heading; font-style: italic; margin-bottom: @baseline; } .comment-body { font-family: @font-aux; font-style: italic; } .comment-form { margin: @baseline 0; } .comment-form { label, input, textarea, button { clear: both; float: left; } } .comment-form label { line-height: 2*@baseline; } .comment-form input, .comment-form textarea { width: 70%; font-family: @font-aux; font-style: italic; } .comment-form textarea { margin-bottom: @baseline; } .submit { margin: 0 0 2*@baseline; } /* =Archives ----------------------------------------------- */ .archive-title { margin-bottom: 2*@baseline; font-size: 20px; } #smart-archives-block { margin: 0 0 2*@baseline; list-style-type: none; font-size: 18px; } #smart-archives-block { span, a { margin: 0 3px; } } #smart-archives-block li { //margin-bottom: @baseline; } #smart-archives-list li { list-style-type: lower-roman; } #smart-archives-list li a { font-family: @font-aux; font-style: italic; } #smart-archives-list a { color: inherit; } #smart-archives-list a:hover { color: @special-dark; } /* =Search Page ----------------------------------------------- */ /* =404 Page ----------------------------------------------- */ .not-found-404 h1 { line-height: 5*@baseline; font-size: 120px; font-family: @oldstyle; font-style: italic; color: @dark; margin: 2*@baseline 0; } .not-found-404 h2 { line-height: 3*@baseline; font-size: 36px; font-family: @font-heading; font-style: italic; color: @dark; margin-bottom: 2*@baseline; } /* =Colophon ----------------------------------------------- */ #colophon { margin: @baseline 0 0; padding: @baseline 0 2*@baseline; background: #232323; color: @light; } .site-info { max-width: @width; } .footer-column { .column(3); } .site-info ul { margin: 0; list-style-type: none; } .site-info h2 { font-family: @font-heading; font-style: italic; font-size: 20px; margin: 0.5*@baseline 0; } .site-info a { color: inherit; } .site-info a:hover { color: @special-light; } .site-info input { font-size: 14px; } .site-info select { width: 100%; font-size: 14px; padding: 0.25*@baseline; } .site-info .widget > form, .site-info .widget > div, .site-info .widget > ul { margin: 0.5*@baseline 0; } #searchsubmit { margin: 0.5*@baseline 0; } #searchform div { margin: 0; padding: 0; } #s { -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */ -webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */ -moz-box-sizing: content-box; box-sizing: content-box; padding: 0.25*@baseline; width: 90%; } .footer-menu { float: left; clear: both; } .footer-menu a { float: left; margin: 0 0.5*@baseline 0.5*@baseline 0; padding: 0 0.5*@baseline; display: block; color: @dark; background: @pale; border-radius: 2px; line-height: 1.5*@baseline; font-size: 14px; } .footer-menu a:last-child { margin: 0; } .footer-menu a:hover { background: @special-light; color: white; } .fnord { font-family: @font-aux; font-style: italic; color: @dark; font-size: 23px; margin: 0.5*@baseline; float: left; clear: both; } /* =Media Queries ----------------------------------------------- */ @media (min-width: 1400px) { #top { height: 12*@baseline; } #masthead { line-height: 12*@baseline; } } @media (max-width: 960px) { #secondary-mobile { display: block; .column(12); } #primary { .column(12); } #secondary { display: none; } #top { height: 8*@baseline; margin-bottom: @baseline; } #masthead h1 { font-size: 60px; line-height: 3*@baseline; } #masthead h2 { font-size: 23px; line-height: 2*@baseline; } #masthead h3 { display: none; } .footer-column { .column(6); } .not-found-404 h1, .not-found-404 h2 { text-align: center; } } @media (max-width: 640px) { #top { height: 6*@baseline; margin-bottom: @baseline; } #masthead h1 { font-size: 40px; line-height: 3*@baseline; letter-spacing: 0; } #masthead h2 { font-size: 16px; line-height: 2*@baseline; display: none; } .comment-form input, .comment-form textarea { width: 90%; } } @media (max-width: 420px) { #top { height: 5*@baseline; } #masthead { line-height: 5*@baseline; } .entry-title { font-size: 30px; } #masthead h1 { font-size: 30px; line-height: 2*@baseline; letter-spacing: 0; } #masthead h2 { font-size: 16px; line-height: 2*@baseline; display: none; } .footer-column { .column(12); } } @media (min-width: 960px) { .single { .entry-content p, .entry-content h2, .entry-content h3, .entry-content pre, .entry-content dl, .entry-content blockquote, .footnotes, .entry-date, .comment-list li { .push(1); } .entry-meta { margin-bottom: 2*@baseline; } } .comment-form { label, input, textarea, button { .push(1); } } .not-found-404 h1, .not-found-404 h2 { .push(2); } }