/**************************************************************************************//** * * @file main.less * * @package dresden.public.style * @copydoc docheader * * @since 2010.08.09 * * ----------------------------------------------------------------------------------------- * * @brief Public stylesheet for The Laurel of Asheville (uses LESS.js) * \*****************************************************************************************/ @import "common"; /* Reusable Mixins ________________________________________________________________________________________ */ @link-color: #005aff; @link-color-action: #eb8643; @hover-color: #f28e02; @hover-color-action: #ff661f; @text-color: #222111; @highlight-color: #ffd505; /* Default Elements ________________________________________________________________________________________ */ body { margin: 0px; background-color: @background-color; font-family: Arial, sans-serif; } iframe { border: 0px; } img { border: 0px; padding: 0px; margin: 0px; } a { color: @link-color; text-decoration: none; &:hover { color: @hover-color; } } ul { margin: 0px; padding: 0px; list-style: none; } h1 { margin: 0px; font-size: 18px; line-height: 26px; } h2 { margin: 0px; font-size: 16px; } h3 { margin: 0px; font-size: 13px; line-height: 22px; } h4 { margin: 0px; font-size: 11px; line-height: 20px; } p { margin: 0px; } /* Custom Element Classes _____________________________________________________________________________________ */ p.article { margin-bottom: 19px; } h1.literature, h1.events { font-family: Georgia, serif; line-height: 19px; font-size: 19px; font-weight: normal; margin-bottom: 10px; color: #646d6f; a { color: #646d6f; &:hover { color: #709aad; } } } p.literature, p.events { line-height: 22px; color: #292929; } .article_hr { margin: 20px 0px 20px 0px; line-height: 3px; width: 100%; background: url(/img/admin/dotted_line.gif) 0px 2px repeat-x; } .article_list { ul { margin: 20px; list-style-type: disc !important; list-style-position: outside !important; } li { padding: 3px; } } table { .left; width: 100%; border-collapse: collapse; border-spacing: 0px; td { vertical-align: top; } } /* Reusable Classes __________________________________________________________________________________*/ .button { .rounded; .block; padding: 0px 20px 0px 20px; text-align: center; background-color: #eaad43; color: #fff; font-size: 12px; line-height: 25px; height: 25px; font-weight: bold; &:hover { color: #bc7f15; text-decoration: none; } } .form_submit { .button; margin-bottom: 20px; width: 60px; } /* Layout Elements _________________________________________________________________________________ */ #page_container { width: 950px; padding: 0px 10px 0px 10px; margin: 0px auto; background: url(/img/the_laurel/layout/shadow.gif) 0px 0px repeat-y; #page_body { font-family: Arial, sans-serif; font-size: 12px; background-color: #fff; .page_banner { height: 70px; } #top_navigation { background: url(/img/the_laurel/layout/separator_header.gif) 0px 41px repeat-x; padding-bottom: 2px; margin-bottom: 5px; #categories { height: 30px; line-height: 30px; background-color: #6c6c6c; font-weight: bold; text-transform: uppercase; li { .lft; padding: 0px 0px 0px 20px; a { color: #fff; text-decoration: none; } a.selected { color: #eda744; } } } #subcategories { height: 10px; line-height: 10px; background: #515151 url(/img/the_laurel/layout/separator_categories.gif) 0px 0px repeat-x; li { .lft; } } } #verts_n_such { .lft; width: 164px; padding: 16px 20px 20px 20px; background: url(/img/the_laurel/layout/separator_vertical.gif) 0px 0px repeat-y; #subscribe_header, #newsletter_header { margin: 20px 0px 8px 0px; } .subscribe_text { color: #2e2e2e; line-height: 25px; margin-bottom: 20px; a { color: #3aa5ba; font-weight: bold; text-decoration: underline; } } .newsletter_text { color: #2e2e2e; line-height: 25px; margin-bottom: 5px; } li { margin-bottom: 20px; } input { border: 1px solid #bababa; margin-bottom: 8px; font-family: Verdana, sans-serif; font-size: 11px; color: #9c9c9c; width: 160px; line-height: 20px; height: 20px; } img { .block; } } #content { .lft; width: 726px; padding-right: 20px; color: #292929; .hr { height: 40px; line-height: 40px; background: url(/img/the_laurel/layout/separator_horizontal.gif) 0px 20px repeat-x; margin-left: 20px; } .content_header { margin: 10px 0px 10px 20px; #read_current_issue, #browse_other_issues { .button; .rght; } } .content_banner { margin-bottom: 20px; } .section_arts, .section_music_and_theater, .section_special_features { .lft; width: 220px; margin-left: 20px; li { line-height: 21px; padding-left: 10px; } a { color: #121212; text-decoration: underline; &:hover { color: #3c96b7; } } .read_more a { color: #2a94b7; } } .featured_recently, .lifestyle_stories { margin-left: 20px; ul { margin-top: 20px; } li { .lft; } } .lifestyle_stories { li { width: 342px; span { .lft; margin-right: 10px; } p { line-height: 19px; a { color: #2a94b7; } a.topic { .block; margin-bottom: 15px; font-size: 16px; font-family: Georgia, serif; color: #1a7181; &:hover { color: #709aad; } } } } } .lifestyle_stories_issue { .lifestyle_stories; .lft; li { float: none; } } .featured_articles { .lft; margin-left: 20px; width: 342px; ul { margin-top: 20px; } } .arts_peek, .community_spotlights, .more_stories, .promo_four_a, .promo_four_b { .lft; margin-left: 20px; width: 342px; ul { margin-top: 20px; } li { height: 100px; margin-bottom: 20px; span { .lft; margin-right: 10px; } a.category { .block; margin-bottom: 5px; font-weight:bold; color: #1a7080; &:hover { color: #333; } } a.topic { .block; margin-bottom: 10px; font-family: Georgia, serif; font-size: 19px; line-height: 20px; color: #646d6f; &:hover { color: #1a7080; } } em { color: #666; } } } .content_paragraph { margin: 20px; } .content_paragraph_home { margin: 20px 20px 0px 20px; } .content_paragraph_inner { margin: 0px 20px 0px 20px; } /* Issues ____________________________________________________________ */ .issues_archive_images { margin: 20px 0px 0px 20px; li { .lft; margin-bottom: 20px; h3 { font-size: 14px; font-weight: normal; } a { color: #128ca3; font-family: Georgia, serif; } } } /* Events & Literature ___________________________________________________________ */ .events_events, .literature_literature { margin: 20px 0px 20px 20px; } /* Category ___________________________________________________________ */ .content_header_category { margin: 15px 0px 0px 20px; #browse_archives { .button; .rght; } } .feature_artist, .promo_one { margin: 20px 0px 0px 20px; div { .lft; margin-right: 20px; } h1 { font-family: Georgia, serif; line-height: 19px; font-size: 19px; font-weight: normal; margin-bottom: 10px; color: #646d6f; a { color: #646d6f; &:hover { color: #709aad; } } } p { line-height: 22px; color: #292929; } } .promo_two { width: 342px; margin-left: 20px; .two_a { li { span { .lft; margin-right: 15px; } p { line-height: 21px; a { color: #2a94b7; } a.topic { .block; margin-bottom: 4px; font-size: 16px; line-height: 16px; font-family: Georgia, serif; color: #1a7181; &:hover { color: #709aad; } } em { .block; margin-bottom: 0px; color: #666; } } } } .two_b { li { list-style-position: inside; list-style-image: url(/img/the_laurel/layout/promo_two_b_square.gif); line-height: 18px; margin-bottom: 6px; a { font-size: 14px; color: #5c5957; &:hover { text-decoration: underline; } } } } } .promo_three { .rght; width: 342px; } .promo_four_a, .promo_four_b { margin-top: 0px !important; ul { margin-top: 0px !important; } } } /* Forms (Contact etc.) ________________________________________________________________ */ .contact_header { color: #eaad43; font-size: 20px; font-family: Georgia, serif; margin: 20px 0px 40px 20px; } .contact_form { width: 515px; margin: auto; input.classy, textarea.classy { border: 1px solid #ccc; } input { height: 25px; line-height: 25px; width: 506px; } textarea { padding: 4px; font-size: 15px; height: 200px; width: 500px; margin-top: 5px; } a { margin: 5px 0px 10px 410px; } label.error { color: #c70000; font-weight: bold; display: block; margin: 5px 0px 7px 0px; } } /* Payment Form (Subscription) ________________________________________________________________ */ #subscribe { h2 { margin: 20px 0px 20px 20px; font-size: 19px; } h3 { margin-bottom: 12px; } #success { margin: 40px 20px 0px 20px; line-height: 24px; h2 { margin: 0px 0px 20px 0px; font-size: 18px; } } #errors { margin: 0px 0px 20px 20px; line-height: 15px; color: #d63900; li { list-style-position: inside; list-style-type: circle; } } .billing, .shipping { .lft; margin-left: 20px; width: 327px; p { font-size: 12px; color: #333; line-height: 15px; margin-bottom: 10px; } td { line-height: 20px; } input { width: 250px; } } .payment { margin: 20px 0px 20px 20px; } } /* Footer _______________________________________________________________ */ #footer { .center; height: 28px; line-height: 28px; background: url(/img/the_laurel/layout/separator_categories.gif) 0px 0px repeat-x; font-family: Verdana, sans-serif; font-size: 10px; color: #7c7e7e; margin-top: 1px; a { color: #7c7e7e; &:hover { text-decoration: underline; } } } } } /* END #page_container */ /* Articles ____________________________________________________________ */ .articles_page { margin: 20px 0px 20px 20px; #more_in_category { .button; .rght; } #back_to_issue { .button; .lft; background: #eaad43 url(/img/the_laurel/layout/back_to_button_arrow.gif) 0px 0px no-repeat; padding-left: 25px; padding-right: 15px; } h2 { padding: 0px; font-weight: normal; font-size: 22px; line-height: 24px; margin: 20px 0px 20px 0px; font-family: Georgia, serif; color: #666; } em.author { .block; font-size: 12px; margin-bottom: 20px; color: #666; } .article { font-family: Georgia, "Times New Roman", serif; font-size: 14px; line-height: 24px; color: #333; } .cross_promo { .lft; width: 220px; border-top: 10px solid #ffbd3d; padding-top: 10px; line-height: 22px; h4 { font-family: Georgia, serif; font-size: 14px; color: #000; font-weight: normal; margin-bottom: 5px; } a { color: #045d6e; text-decoration: underline; } a.read_more { color: #ae680e; font-weight: bold; text-decoration: underline; } } .previous_issues { h4 { font-family: Georgia, serif; font-size: 14px; color: #000; font-weight: normal; margin-bottom: 20px; } li { .lft; } a.issue_link { .block; font-family: Georgia, serif; font-size: 14px; color: #128ca3; margin-top: 3px; } } }