layerinfo type = "layout"; layerinfo name = "Crisped"; layerinfo redist_uniq = "crisped/layout"; layerinfo author_name = "timeasmymeasure"; layerinfo author_email = "timeasmymeasure@gmail.com"; layerinfo lang = "en"; set layout_authors = [ {"name" => "timeasmymeasure", "type" => "user"} ]; ##=============================== ## Presentation ##=============================== set layout_type = "two-columns-left"; set userpics_position = "right"; set sidebar_width = "20em"; set sidebar_width_doubled = "40em"; set custom_control_strip_colors = "on_no_gradient"; ##=============================== ## Colors ##=============================== propgroup colors_child { property Color color_page_subtitle { des = "Page subtitle color"; } property Color color_calendar_background { des = "Calendar background color"; } property Color color_calendar_link { des = "Calendar link color"; } property Color color_calendar_link_active { des = "Calendar active link color"; } property Color color_calendar_link_hover { des = "Calendar hover link color"; } property Color color_calendar_link_visited { des = "Calendar visited link color"; } property Color color_calendar_text { des = "Calendar text color "; } } ##=============================== ## Fonts ##=============================== set font_base = "'Palatino Linotype', 'Book Antiqua', Georgia, 'Times New Roman'"; set font_fallback = "serif"; set font_journal_title_size = "1.8"; set font_journal_title_units = "em"; set font_journal_subtitle_size = "1.55"; set font_journal_subtitle_units = "em"; set font_entry_title_size = "1.1"; set font_entry_title_units = "em"; set font_module_heading_size = "1.1"; set font_module_heading_units = "em"; ##=============================== ## Stylesheet ##=============================== function print_stylesheet () { var string medium_media_query = generate_medium_media_query(); var string entry_title_font = generate_font_css($*font_entry_title, $*font_base, $*font_fallback, $*font_entry_title_size, $*font_entry_title_units); var string userpic_css = ""; if($*userpics_position == "left") { $userpic_css = """ .has-userpic .entry .userpic { float: left; margin: 5px 20px 20px 10px; } .has-userpic .comment .userpic { display: block; float: left; margin: 5px 10px; } """; } elseif($*userpics_position == "right") { $userpic_css = """ .has-userpic .entry .userpic { float: right; margin: 5px 10px 20px 20px; } .has-userpic .comment .userpic { display: block; float: right; margin: 5px 10px; } """; } """ /* Crisped */ /* by timeasmymeasure*/ /* Main ***************************************************************************/ body { margin: 30px 0 0 0; } a, a:link, a:visited { text-decoration: none; } code, kbd, pre, tt, textarea { font-family: monospace; } input, textarea { background-color: $*color_entry_background; border: 1px solid $*color_entry_text; color: $*color_entry_text; } ::-moz-selection, ::selection { background-color: $*color_calendar_background; color: $*color_calendar_text; } blockquote { background-color: $*color_calendar_background; color: $*color_calendar_text; margin: 15px 15px 15px 70px; padding: 10px; width: 65%; } ul { list-style: square inside; margin: 5px 0 5px 15px; } ol { list-style: decimal inside; margin: 5px 0 5px 15px; } .poster { padding: 5px; } hr, .page-separator { display: none; } /* Page Containers ***************************************************************************/ #canvas { margin: 0 auto; width: 92%; } #primary > .inner:first-child { padding: 1em .5em; } #secondary > .inner:first-child { padding: .5em; } #tertiary > .inner:first-child { padding: .5em; } @media $medium_media_query { .two-columns #secondary > .inner:first-child, .three-columns #secondary > .inner:first-child { padding-top: 4em; } .three-columns #tertiary > .inner:first-child { padding-top: 4em; } } /* Header ***************************************************************************/ #header { padding: 10px; margin: 0 0 10px; letter-spacing: -0.1em; line-height: 120%; } h1#title { font-weight: lighter; margin: 0; padding: 0; text-transform: uppercase; } h2#subtitle, h2#pagetitle { color: $*color_page_subtitle; font-weight: lighter; margin: 0; padding: 0; text-transform: lowercase; } /* Navigation ***************************************************************************/ .navigation { margin: 5px 0; font-size: $*font_entry_title_size$*font_entry_title_units; text-transform: uppercase; } /* Entries ***************************************************************************/ .entry { border-bottom-width: 2px; border-left: none; border-top: none; margin-bottom: 15px; padding-bottom: 10px; } .entry .header { background-color: $*color_entry_title_background; color: $*color_entry_title; margin-bottom: 5px; padding: 5px 10px; text-align: right; } h3.entry-title { font-weight: normal; text-transform: uppercase; } .datetime { color: $*color_entry_link; font-size: .75em; text-transform: uppercase; } .entry .userpic img { background-color: $*color_entry_border; padding: 10px; } .entry-content { margin-top: 10px; padding: 15px; } .metadata { margin-top: 5px; padding: 10px 15px 5px; text-transform: uppercase; } .metadata-item-location, .metadata-item-music, .metadata-item-mood, .tag ul { color: $*color_entry_link; text-align: right; text-transform: uppercase; } .tag { margin: 5px 0; padding: 15px; text-transform: uppercase; } .tag-text { text-transform: uppercase; } .tag ul li { font-weight: normal; margin: 5px 5px 0 0; text-align: right; } .entry .footer { clear: both; } ul.entry-management-links { margin-top: 5px; text-align: center; } ul.entry-management-links li { display: inline; margin: 0 auto; text-align: center; } ul.entry-interaction-links { margin-top: 5px; text-align: center; } ul.entry-interaction-links li { display: inline; font-size: 1.05em; margin-right: 5px; text-transform: uppercase; } /* Comments ***************************************************************************/ .comment-wrapper .comment { background-color: $*color_entry_background; border-right: 1px solid $*color_entry_border; border-bottom: 2px solid $*color_entry_border; color: $*color_entry_text; padding-bottom: 10px; margin-bottom: 15px; } .comment-wrapper .comment a { color: $*color_entry_link; } .comment-wrapper .comment a:visited { color: $*color_entry_link_visited; } .comment-wrapper .comment a:hover { color: $*color_entry_link_hover; } .comment-wrapper .comment a:active { color: $*color_entry_link_active; } .comment .header { background-color: $*color_comment_title_background; color: $*color_comment_title; padding: 5px 10px; margin-bottom: 5px; text-align: right; } .comment .comment-title a { color: $*color_comment_title; } .partial .comment-title { margin-bottom: 5px; padding: 5px 10px; text-align: right; } .comment-poster { text-transform: uppercase; } .comment .userpic img { background-color: $*color_entry_border; padding: 10px; } .comment-content { margin-top: 10px; padding: 15px; } .comment .footer { clear: both; color: $*color_entry_text; font-weight: bold; padding: 0 10px; text-align: left; text-transform: uppercase; } ul.comment-management-links { text-align: left; } .bottomcomment { background-color: $*color_entry_background; border-right: 1px solid $*color_entry_border; border-bottom: 2px solid $*color_entry_border; color: $*color_entry_text; padding: 10px; } .bottomcomment a { color: $*color_entry_link; } .bottomcomment a:visited { color: $*color_entry_link_visited; } .bottomcomment a:hover { color: $*color_entry_link_hover; } .bottomcomment a:active { color: $*color_entry_link_active; } #qrformdiv input { margin: 1px; } table.talkform { background-color: $*color_entry_background; border-right: 1px solid $*color_entry_border; border-bottom: 2px solid $*color_entry_border; color: $*color_entry_text; margin-bottom: 10px; padding: 10px; width: 100%; } table.talkform input { margin: 1px; } /* Archive Pages ***************************************************************************/ .month { background-color: $*color_entry_background; border-right: 1px solid $*color_entry_border; border-bottom: 2px solid $*color_entry_border; color: $*color_entry_text; margin-bottom: 15px; padding: 20px; } .month a { color: $*color_entry_link; } .month a:visited { color: $*color_entry_link_visited; } .month a:hover { color: $*color_entry_link_hover; } .month a:active { color: $*color_entry_link_active; } .month table { border: none; margin: auto; width: 100%; } .month caption { display: none; } .month h3 { font-size: $*font_entry_title_size$*font_entry_title_units; font-weight: normal; text-transform: uppercase; } table.month th { background-color: $*color_calendar_background; border: 1px solid $*color_entry_border; color: $*color_calendar_text; margin: 0 2px; padding: 5px 2px; font-size: 1.05em; font-weight: normal; text-align: center; text-transform: uppercase; } table.month td { border: none; } table.month td.day { border: 1px solid $*color_entry_border; padding: 10px; text-align: center; } .month td.day-has-entries { background-color: $*color_calendar_background; color: $*color_calendar_text; } .month td.day-has-entries p { display: inline; font-size: 1.05em; font-weight: bold; padding-left: 5px; } .month td.day-has-entries p a { color: $*color_calendar_link; } .month td.day-has-entries p a:visited { color: $*color_calendar_link_visited; } .month td.day-has-entries p a:hover { color: $*color_calendar_link_hover; } .month td.day-has-entries p a:active { color: $*color_calendar_link_active; } .month dl, .month dt, .month dd { margin: 0; padding: 0; } /* Tags Page ***************************************************************************/ .page-tags .tags-container { background-color: $*color_entry_background; border-right: 1px solid $*color_entry_border; border-bottom: 2px solid $*color_entry_border; color: $*color_entry_text; margin-bottom: 10px; } .page-tags .tags-container a { color: $*color_entry_link; } .page-tags .tags-container a:visited { color: $*color_entry_link_visited; } .page-tags .tags-container a:hover { color: $*color_entry_link_hover; } .page-tags .tags-container a:active { color: $*color_entry_link_active; } .page-tags .tags-container h2 { background-color: $*color_entry_title_background; color: $*color_entry_title; font-size: 1.17em; $entry_title_font font-weight: normal; padding: 5px 10px; text-transform: uppercase; } .page-tags .tags-container .ljtaglist { padding: 10px; } .page-tags .tags-container .manage-tags-link { padding: 10px; } /* Icons Page ***************************************************************************/ .icons-container { background-color: $*color_entry_background; border-right: 1px solid $*color_entry_border; border-bottom: 2px solid $*color_entry_border; color: $*color_entry_text; margin-bottom: 10px; } .icons-container a { color: $*color_entry_link; } .icons-container a:visited { color: $*color_entry_link_visited; } .icons-container a:hover { color: $*color_entry_link_hover; } .icons-container a:active { color: $*color_entry_link_active; } .icons-container h2 { background-color: $*color_entry_title_background; color: $*color_entry_title; font-size: 1.17em; $entry_title_font font-weight: normal; padding: 5px 10px; text-transform: uppercase; } .icons-container .contents, .icons-container .footer { padding: 15px; } .sorting-options ul { padding-left: 0; } .icons-container .icon { margin: 1em 0; } .icon-image { float: left; clear: left; margin-bottom: .25em; min-width: 100px; padding-right: 1em; } .icon-info { min-height: 100px; } .icon-info span { font-weight: bold; } .icon-info .default { text-decoration: underline; } /* Modules ***************************************************************************/ .module { border-bottom-width: 2px; border-left: none; border-top: none; margin-bottom: 15px; padding-bottom: 10px; } h2.module-header { background-color: $*color_module_title_background; color: $*color_module_title; font-weight: normal; margin: 0 0 5px 0; padding: 5px 10px; text-align: right; text-transform: uppercase; } h2.module-header a { color: $*color_module_title; } .module-content { margin-top: 10px; padding: 15px; } ul.module-list { list-style: none; } ul.module-list li, ul.module-list-item li { padding: 0 0 0 5px; } .module-content .userpic { text-align: center; } .module-content .userpic img { background-color: $*color_module_border; padding: 10px; } .journal-name { margin-top: 5px; text-align: center; text-transform: uppercase; } .journal-website-name { text-align: center; text-transform: uppercase; } ul.userlite-interaction-links { margin: 5px 0 0; list-style: none; text-align: center; } ul.userlite-interaction-links.icon-links li { display: inline; margin: 0 auto; text-align: center; } .module-navlinks { font-size: 1.35em; text-align: right; letter-spacing: -0.1em; list-style: none; } .module-navlinks ul.module-list { text-transform: uppercase; } .manage-link, .manage-tags-link { margin-top: 10px; text-align: right; text-transform: uppercase; } .module-calendar table { margin: 0 auto; text-align: center; } .module-calendar th { background-color: $*color_calendar_background; border: 1px solid $*color_module_border; color: $*color_calendar_text; margin: 0 2px; padding: 3px 8px; text-transform: uppercase; } .module-calendar td.empty-day { border: 1px solid $*color_module_border; margin: 0 2px; text-transform: uppercase; } .module-calendar td.entry-day { background-color: $*color_calendar_background; border: 1px solid $*color_module_border; color: $*color_calendar_text; margin: 0 1px; text-transform: uppercase; } .module-calendar td.entry-day a { color: $*color_calendar_link; } .module-calendar td.entry-day a:visited { color: $*color_calendar_link_visited; } .module-calendar td.entry-day a:hover { color: $*color_calendar_link_hover; } .module-calendar td.entry-day a:active { color: $*color_calendar_link_active; } .module-search .search-box { margin-right: 2px; } /* Contextual Pop-ups ***************************************************************************/ .ContextualPopup { background: $*color_entry_background; border: 1px solid $*color_entry_title !important; border-radius: 0; color: $*color_entry_text; text-transform: uppercase; } .ContextualPopup a, .ContextualPopup a:visited { text-decoration: none; } .ContextualPopup a { color: $*color_entry_link; } .ContextualPopup a:visited { color: $*color_entry_link_visited; } .ContextualPopup a:hover { color: $*color_entry_link_hover; } .ContextualPopup a:active { color: $*color_entry_link_active; } .ContextualPopup .Userpic { background-color: $*color_entry_border; border: none; margin: 5px; padding: 5px; } $userpic_css """; }