layerinfo "type" = "layout"; layerinfo "name" = "Tabula Rasa"; layerinfo redist_uniq = "core2base/layout"; ##=============================== ## Presentation ##=============================== propgroup presentation { property use layout_type; property use num_items_recent; property use num_items_reading; property use use_custom_friend_colors; property use use_shared_pic; property use use_journalstyle_entry_page; property use margins_size; property use margins_unit; property use sidebar_width; property use sidebar_width_doubled; property use medium_breakpoint_width; property use large_breakpoint_width; property use custom_control_strip_colors; property use reverse_sortorder_group; property use reg_firstdayofweek; property use tags_page_type; property use num_items_icons; property use icons_page_sort; property use all_entrysubjects; property use all_commentsubjects; property use entry_datetime_format_group; property use comment_datetime_format_group; property use userpics_style_group; property use userpics_position; property use entry_metadata_position; property use userlite_interaction_links; property use entry_management_links; property use comment_management_links; } set layout_type = "one-column"; set sidebar_width = "15em"; set sidebar_width_doubled = "30em"; set userpics_position = "left"; set use_custom_friend_colors = false; set custom_foreground_element = "userpic_border"; set custom_background_element = "userpic_background"; ##=============================== ## Colors ##=============================== propgroup colors { property use color_page_background; property use color_page_text; property use color_page_link; property use color_page_link_active; property use color_page_link_hover; property use color_page_link_visited; property use color_page_border; property use color_module_background; property use color_module_text; property use color_module_link; property use color_module_link_active; property use color_module_link_hover; property use color_module_link_visited; property use color_module_title_background; property use color_module_title; property use color_module_border; property use color_header_background; property use color_page_title; property use color_footer_background; property use color_footer_link; property use color_footer_link_active; property use color_footer_link_hover; property use color_footer_link_visited; property use color_entry_background; property use color_entry_text; property use color_entry_link; property use color_entry_link_active; property use color_entry_link_hover; property use color_entry_link_visited; property use color_entry_title_background; property use color_entry_title; property use color_entry_interaction_links; property use color_entry_interaction_links_active; property use color_entry_interaction_links_hover; property use color_entry_interaction_links_visited; property use color_entry_border; property use color_comment_title_background; property use color_comment_title; property use control_strip_bgcolor; property use control_strip_fgcolor; property use control_strip_bordercolor; property use control_strip_linkcolor; } ##=============================== ## Fonts ##=============================== propgroup fonts { property use font_base; property use font_fallback; property use font_base_size; property use font_base_units; property use font_module_heading; property use font_module_heading_size; property use font_module_heading_units; property use font_module_text; property use font_module_text_size; property use font_module_text_units; property use font_journal_title; property use font_journal_title_size; property use font_journal_title_units; property use font_journal_subtitle; property use font_journal_subtitle_size; property use font_journal_subtitle_units; property use font_entry_title; property use font_entry_title_size; property use font_entry_title_units; property use font_comment_title; property use font_comment_title_size; property use font_comment_title_units; property use font_sources; } set font_base = ""; set font_fallback = ""; set font_base_size = "100"; set font_base_units = "%"; ##=============================== ## Images ##=============================== propgroup images { property use image_background_page_group; property use image_background_module_group; property use image_background_header_group; property use image_background_header_height; property use image_background_entry_group; } ##=============================== ## Modules ##=============================== propgroup modules { property use module_userprofile_group; property use module_navlinks_group; property use module_calendar_group; property use module_links_group; property use module_syndicate_group; property use module_tags_group; property use module_pagesummary_group; property use module_active_group; property use module_time_group; property use module_poweredby_group; property use module_customtext_group; property use module_credit_group; property use module_search_group; property use module_cuttagcontrols_group; property use module_subscriptionfilters_group; } # Explicitly define what sections the layout has available set module_layout_sections = "none|(none)|one|Main Module Section|two|Secondary Module Section"; ##=============================== ## Text ##=============================== propgroup text { property use text_module_userprofile; property use text_module_links; property use text_module_syndicate; property use text_module_tags; property use text_module_popular_tags; property use text_module_pagesummary; property use text_module_active_entries; property use text_module_customtext; property use text_module_customtext_url; property use text_module_customtext_content; property use text_module_credit; property use text_module_search; property use text_module_cuttagcontrols; property use text_module_subscriptionfilters; property use text_view_recent; property use text_view_archive; property use text_view_friends; property use text_view_friends_comm; property use text_view_network; property use text_view_tags; property use text_view_memories; property use text_view_userinfo; property use text_entry_prev; property use text_entry_next; property use text_edit_entry; property use text_edit_tags; property use text_mem_add; property use text_tell_friend; property use text_watch_comments; property use text_unwatch_comments; property use text_read_comments; property use text_read_comments_friends; property use text_read_comments_screened_visible; property use text_read_comments_screened; property use text_post_comment; property use text_post_comment_friends; property use text_permalink; property use text_meta_location; property use text_meta_mood; property use text_meta_music; property use text_meta_xpost; property use text_tags; property use text_stickyentry_subject; property use text_max_comments; property use text_skiplinks_back; property use text_skiplinks_forward; } ##=============================== ## Custom CSS ##=============================== propgroup customcss { property use external_stylesheet; property use include_default_stylesheet; property use linked_stylesheet; property use custom_css; } function Page::print_default_stylesheet() { var string medium_media_query = generate_medium_media_query(); var string large_media_query = generate_large_media_query(); var string page_background = generate_background_css ($*image_background_page_url, $*image_background_page_repeat, $*image_background_page_position, $*color_page_background); var string header_background = generate_background_css ($*image_background_header_url, $*image_background_header_repeat, $*image_background_header_position, $*color_header_background); if ($*image_background_header_height > 0) { $header_background = """ $header_background height: """ + $*image_background_header_height + """px;"""; } var string footer_background = generate_background_css( "", "", "", $*color_footer_background ); var string footer_link_colors = generate_color_css( $*color_footer_link, new Color, new Color ); var string footer_link_active_colors = generate_color_css( $*color_footer_link_active, new Color, new Color ); var string footer_link_hover_colors = generate_color_css( $*color_footer_link_hover, new Color, new Color ); var string footer_link_visited_colors = generate_color_css( $*color_footer_link_visited, new Color, new Color ); var string entry_background = generate_background_css ($*image_background_entry_url, $*image_background_entry_repeat, $*image_background_entry_position, $*color_entry_background); var string module_background = generate_background_css ($*image_background_module_url, $*image_background_module_repeat, $*image_background_module_position, $*color_module_background); var string page_colors = generate_color_css($*color_page_text, $*color_page_background, $*color_page_border); var string entry_colors = generate_color_css($*color_entry_text, $*color_entry_background, $*color_entry_border); var string module_colors = generate_color_css($*color_module_text, $*color_module_background, $*color_module_border); var string page_title_colors = generate_color_css($*color_page_title, new Color, new Color); var string entry_title_colors = generate_color_css($*color_entry_title, $*color_entry_title_background, new Color); var string comment_title_colors = generate_color_css($*color_comment_title, $*color_comment_title_background, new Color); var string module_title_colors = generate_color_css($*color_module_title, $*color_module_title_background, new Color); var string page_link_colors = generate_color_css($*color_page_link, new Color, new Color); var string page_link_active_colors = generate_color_css($*color_page_link_active, new Color, new Color); var string page_link_hover_colors = generate_color_css($*color_page_link_hover, new Color, new Color); var string page_link_visited_colors = generate_color_css($*color_page_link_visited, new Color, new Color); var string entry_link_colors = generate_color_css($*color_entry_link, new Color, new Color); var string entry_link_active_colors = generate_color_css($*color_entry_link_active, new Color, new Color); var string entry_link_hover_colors = generate_color_css($*color_entry_link_hover, new Color, new Color); var string entry_link_visited_colors = generate_color_css($*color_entry_link_visited, new Color, new Color); var string entry_interaction_link_colors = generate_color_css($*color_entry_interaction_links, new Color, new Color); var string entry_interaction_link_active_colors = generate_color_css($*color_entry_interaction_links_active, new Color, new Color); var string entry_interaction_link_hover_colors = generate_color_css($*color_entry_interaction_links_hover, new Color, new Color); var string entry_interaction_link_visited_colors = generate_color_css($*color_entry_interaction_links_visited, new Color, new Color); var string module_link_colors = generate_color_css($*color_module_link, new Color, new Color); var string module_link_active_colors = generate_color_css($*color_module_link_active, new Color, new Color); var string module_link_hover_colors = generate_color_css($*color_module_link_hover, new Color, new Color); var string module_link_visited_colors = generate_color_css($*color_module_link_visited, new Color, new Color); var string page_font = generate_font_css("", $*font_base, $*font_fallback, $*font_base_size, $*font_base_units); var string page_title_font = generate_font_css($*font_journal_title, $*font_base, $*font_fallback, $*font_journal_title_size, $*font_journal_title_units); var string page_subtitle_font = generate_font_css($*font_journal_subtitle, $*font_base, $*font_fallback, $*font_journal_subtitle_size, $*font_journal_subtitle_units); 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 comment_title_font = generate_font_css($*font_comment_title, $*font_base, $*font_fallback, $*font_comment_title_size, $*font_comment_title_units); var string module_font = generate_font_css($*font_module_text, $*font_base, $*font_fallback, $*font_module_text_size, $*font_module_text_units); var string module_title_font = generate_font_css($*font_module_heading, $*font_base, $*font_fallback, $*font_module_heading_size, $*font_module_heading_units); var string userpic_css = ""; if ($*userpics_position == "right") { $userpic_css = """ .entry .userpic, .comment .userpic { text-align: right; } """; } print_custom_control_strip_css(); """ H1, H2, H3 { margin: .25em 0; padding: .25em 0; } img { border: none; } hr { display: none; } .entry-content hr, .comment-content hr { display: block; margin: 1em 10%; } body { $page_font padding: 0; $page_background $page_colors } html body { margin-left: $*margins_size$*margins_unit; margin-right: $*margins_size$*margins_unit; } a { $page_link_colors } a:visited { $page_link_visited_colors } a:hover { $page_link_hover_colors } a:active { $page_link_active_colors } q { font-style: italic; } /* #content layout */ #content { float: none; } @media $medium_media_query { .two-columns-left #content, .three-columns-sides #content { border-left: $*sidebar_width solid transparent; } .two-columns-right #content, .three-columns-sides #content { border-right: $*sidebar_width solid transparent; } .three-columns-left #content { border-left: $*sidebar_width_doubled solid transparent; } .three-columns-right #content { border-right: $*sidebar_width_doubled solid transparent; } .column-right #content { min-width: $*sidebar_width; /* prevents sidebar overlap of entry, when entry becomes narrower than sidebar */ } } #content-footer { height: 0; font-size: 0; /*to make IE happy*/ clear: both; } #header, #footer { margin: 0; clear: both; padding: .5em; } #header { $header_background $page_title_colors } h1#title { $page_title_font } h2#subtitle, h2#pagetitle { $page_subtitle_font } #footer { $footer_background } #footer a { $footer_link_colors } #footer a:visited { $footer_link_visited_colors } #footer a:hover { $footer_link_hover_colors } #footer a:active { $footer_link_active_colors } #primary { width:100%; margin-right:-100%; margin-left: 0; } #primary > .inner:first-child, #secondary > .inner:first-child, #tertiary > .inner:first-child { padding: 1em; } /* modules layout */ #primary { float: none; } #secondary, #tertiary { width: 100%; } @media $medium_media_query { .multiple-columns #primary { float: left; } .two-columns-left #secondary, .three-columns-sides #secondary { float: left; width: $*sidebar_width; margin-left: -$*sidebar_width; } .two-columns-right #secondary { float: right; width: $*sidebar_width; margin-right: -$*sidebar_width; } .three-columns-left #secondary { float: left; width: $*sidebar_width; margin-left: -$*sidebar_width_doubled; } .three-columns-right #secondary { float: right; width: $*sidebar_width; margin-right: -$*sidebar_width; } .two-columns #tertiary { clear: both; width: auto; } .two-columns-left #tertiary { margin-left: -$*sidebar_width; } .two-columns-right #tertiary { margin-right: -$*sidebar_width; } .two-columns #tertiary .module { float: left; width: $*sidebar_width; } .three-columns-left #tertiary { float: left; width: $*sidebar_width; margin-left: -$*sidebar_width; } .three-columns-right #tertiary { float: right; width: $*sidebar_width; margin-right: -$*sidebar_width_doubled; margin-left: $*sidebar_width; /* so that #tertiary won't overlay #secondary in IE7 */ } .three-columns-sides #tertiary { float: right; width: $*sidebar_width; margin-right: -$*sidebar_width; } } .navigation ul { margin-left: 0; padding-left: 0; } .navigation li { display: inline; padding: 0 .5em; } .noentries { padding: 0 .5em; } /* entries */ .entry { $entry_background $entry_colors } .entry .entry-title { $entry_title_font } .entry .entry-title, .entry .entry-title a { $entry_title_colors } .no-subject .entry .entry-title { background: none; border: none; } .entry a { $entry_link_colors } .entry a:visited { $entry_link_visited_colors } .entry a:hover { $entry_link_hover_colors } .entry a:active { $entry_link_active_colors } /* ensure comment content stretches out horizontally so it's readable */ .comment-content:before { content: ""; display: block; overflow: hidden; width: 10em; } .comment-content { border-top: 1px transparent solid; } /* for firefox */ /* To prevent overlapping when icon's on the left */ /* and list is the first thing in content */ .entry-content li, .comment-content li { list-style-position: inside; } /* To constrain the width and prevent layout breaking */ .entry-content img, .comment-content img { max-width: 100%; height: auto; } @media $large_media_query { .entry-content img, .comment-content img { max-width: none; } } .metadata ul { display: inline; list-style: none; margin-left: .5em; padding-left: 0; } .metadata li { margin-bottom: .5em; } .metadata.top-metadata ul { margin: 0; } .metadata.top-metadata { margin-bottom: 1em; } .tag ul { display: inline; margin-left: 0; padding-left: 0; } .tag ul li { display: inline; } /* same for month view */ ul.entry-management-links { margin-left: 0; padding-left: 0; } ul.entry-management-links li { display: inline; padding: 0 .25em; } ul.entry-interaction-links { margin-left: 0; padding-left: 0; text-align: right; } .entry-interaction-links a, .entry-management-links a { $entry_interaction_link_colors } .entry-interaction-links a:visited, .entry-management-links a:visited { $entry_interaction_link_visited_colors } .entry-interaction-links a:hover, .entry-management-links a:hover { $entry_interaction_link_hover_colors } .entry-interaction-links a:active, .entry-management-links a:active { $entry_interaction_link_active_colors } ul.entry-interaction-links li { display: inline; padding: 0 .25em; } /* comments */ .comment-posted {font-weight:bold;} .comment-wrapper { padding: .5em 0; min-width: 15em; } .comment .comment-title { $comment_title_font margin: 0; } .comment .comment-title, .comment .comment-title a { $comment_title_colors } .no-subject .comment .comment-title { background: none; border: none; } ul.comment-management-links { margin-left: 0; padding-left: 0; text-align: right; } ul.comment-management-links li { display: inline; padding: 0 .25em; } ul.comment-interaction-links { margin-left: 0; padding-left: 0; } ul.comment-interaction-links li { display: inline; padding: 0 .25em; } textarea#commenttext { width: 100%; /* fix for FF form width glitch */ } /* archive */ table.month { margin: 0 auto; border-collapse: collapse; } table.month td { height: 3.25em; } table.month td, table.month th { border: 1px solid; /* ? */ padding: 3px; } table.month td p { margin: 0; padding: 3px; } .month dl dt { font-weight: bold; } .month dl .time { padding-right: .5em; } .month dl h3 { display: inline; font-size: medium; } .page-month .month .entry-poster { margin-right: .5em; } .month dl .tag ul { margin-top: 0; } /* icons */ .sorting-options ul { margin-left: 0; } .sorting-options ul li { display: inline; } .icon-keywords ul { display: inline; margin-left: 0; padding-left: 0; } .icon-keywords ul li { display: inline; } /* modules */ .module { $module_background $module_colors } .module a { $module_link_colors } .module a:visited { $module_link_visited_colors } .module a:hover { $module_link_hover_colors } .module a:active { $module_link_active_colors } .module h2 { $module_title_colors $module_title_font } .module-content { $module_font } .module-content ul { list-style: outside; margin-left: 1em; padding-left: 0; } .module-content li { margin: .5em 0; } ul.userlite-interaction-links.icon-links { margin-left: 0; padding-left: 0; } ul.userlite-interaction-links.icon-links li { display: inline; padding: 0 .20em; } ul.userlite-interaction-links.text-links { text-align: left; } .any-column .module-calendar table { margin: 0; } .module-calendar .module-content { text-align: left; } @media $medium_media_query { .multiple-columns .module-calendar .module-content { text-align: center; } .multiple-columns .module-calendar table { margin: 0 auto; } .multiple-columns .module-syndicate .module-content { text-align: center; } } .module-calendar td { padding: 1px; } .module-calendar td a { display: block; padding: 2px; } .search-box { margin: .2em auto; max-width: 100%; } .search-form .search-box-item, .search-form .search-button-item { display: block } .search-form .comment_search_checkbox_item { display: inline } /* wrap long content, particularly openid usernames */ .module-pagesummary .ljuser { white-space: normal !important; } .module-pagesummary .module-content { word-wrap: break-word; } .module-credit .category-title { font-weight: bold; } .tags_cloud li, .module-tags_cloud li { display: inline; } $userpic_css """; } layerinfo type = "layout"; layerinfo name = "Tectonic"; layerinfo redist_uniq = "tectonic/layout"; layerinfo author_name = "momijizkamori"; layerinfo lang = "en"; set layout_authors = [ { "name" => "daemon @ LJ"}, { "name" => "momijizukamori", "type" => "user" } ]; ##=============================== ## Layout ##=============================== set comment_management_links = "text"; set entry_management_links = "text"; set layout_type = "one-column-split"; set userpics_position = "left"; set entry_metadata_position = "bottom"; ##=============================== ## Fonts ##=============================== set font_base = "'Franklin Gothic Book', 'Arial Narrow', Arial"; set font_fallback = "sans-serif"; set font_base_size = "1"; set font_base_units = "em"; set font_journal_title = "'Franklin Gothic Book', 'Arial Narrow', Arial"; set font_journal_title_size = "1.5"; set font_journal_title_units = "em"; set font_journal_subtitle = "'Franklin Gothic Book', Arial Narrow, Arial"; set font_journal_subtitle_size = "1.1"; set font_journal_subtitle_units = "em"; set font_entry_title = "'Franklin Gothic Book', 'Arial Narrow', Arial"; set font_entry_title_size = "1.1"; set font_entry_title_units = "em"; set font_comment_title_size = "1.1"; set font_comment_title_units = "em"; set font_module_heading = "'Franklin Gothic Book', 'Arial Narrow', Arial"; set font_module_heading_size = "1.1"; set font_module_heading_units = "em"; ##=============================== ## Presentation ##=============================== propgroup presentation_child { property string modules_per_row { des = "Modules per row in one-column mode:"; values = "32%|3|24%|4|19%|5"; } } set modules_per_row = "24%"; ##=============================== ## Colors ##=============================== propgroup colors_child { # Used instead of color_header_link: property Color color_header_links_background { des = "Page header link background color"; } property Color color_header_links { des = "Page header link color"; } property Color color_header_links_active { des = "Page header link active color"; } property Color color_header_links_hover { des = "Page header link hover color"; } property Color color_header_links_visited { des = "Page header link visited color"; } property Color color_header_links_border { des = "Page header link border color"; } property Color color_header_links_border_hover { des = "Page header link hover border color"; } property Color color_module_list_border { des = "Module list items border color"; } property Color color_module_list_background_hover { des = "Module list items hover background color"; } property Color color_module_calendar_background { des = "Calendar module background color"; } property Color color_module_calendar_text { des = "Calendar module text color"; } property Color color_module_calendar_link { des = "Calendar module link color"; } property Color color_module_calendar_link_hover { des = "Calendar module link hover color"; } property Color color_module_calendar_link_active { des = "Calendar module link active color"; } property Color color_module_calendar_link_visited { des = "Calendar module link visited color"; } property Color color_calendar_background { des = "Archive calendar background color"; } property Color color_calendar_text { des = "Archive calendar text color"; } property Color color_calendar_link { des = "Archive calendar link color"; } property Color color_calendar_link_hover { des = "Archive calendar link hover color"; } property Color color_calendar_link_active { des = "Archive calendar link active color"; } property Color color_calendar_link_visited { des = "Archive calendar link visited color"; } property Color color_entry_footer_background { des = "Entry footer background color"; } property Color color_entry_interaction_links_background { des = "Entry interaction links background color"; } property Color color_entry_interaction_links_background_hover { des = "Entry interaction links hover background color"; } property Color color_entry_interaction_links_background_active { des = "Entry interaction links active background color"; } property Color color_entry_interaction_links_background_visited { des = "Entry interaction links visited background color"; } property Color color_userpic_border { des = "User icon border color"; } } ##=============================== ## Navigation Module ##=============================== property string module_navlinks_section_override { values = "none|(none)|header|Header|one|Main Module Section|two|Secondary Module Section"; grouped = 1; } set grouped_property_override = { "module_navlinks_section" => "module_navlinks_section_override" }; set module_navlinks_section = "header"; ##=============================== ##Layout ##=============================== # Give a title to the navlinks module function print_module_navlinks() { var Page p = get_page(); var string title = "Navigation"; open_module("navlinks", "$title", ""); var string[] links = []; foreach var string k ($p.views_order) { var string css = """ class="$k" """; if ($p.view == $k) { $css = """ class="current $k" """; } $links[size $links] = """""" + lang_viewname($k) + """"""; } print_module_list($links); close_module(); } function Page::print() { """\n\n\n"""; $this->print_meta_tags(); $this->print_head(); $this->print_stylesheets(); $this->print_head_title(); """"""; $this->print_wrapper_start(); $this->print_control_strip(); """
"""; if ($*layout_type == "one-column-split") { """
"""; $this->print_module_section("one"); """
"""; } """
"""; $this->print_body(); """
"""; if ($*layout_type != "one-column-split") { """
"""; $this->print_module_section("one"); """
"""; } """
"""; $this->print_module_section("two"); """
"""; """
"""; $this->print_wrapper_end(); """"""; } function Page::print_entry(Entry e) "This re-sorts the header so time and metatype are printed before subject, and tags are printed as part of the main entry contents instead of as part of the footer." { ## For most styles, this will be overridden by FriendsPage::print_entry and such. $e->print_wrapper_start(); """
\n"""; """
\n"""; $e->print_time(); $e->print_metatypes(); $e->print_subject(); """
\n"""; """
\n"""; """
\n"""; """
\n"""; """
\n"""; $e->print_userpic(); $e->print_poster(); if ($*entry_metadata_position == "top") { $e->print_metadata(); } $e->print_text(); if ($*entry_metadata_position == "bottom") { $e->print_metadata(); } $e->print_tags(); """
\n"""; """
\n"""; """
\n"""; """\n"; $e->print_wrapper_end(); } function EntryPage::print_comment (Comment c) { # re-sorts time to print before subject and metatypes $c->print_wrapper_start(); """
\n"""; """
\n"""; $c->print_time(); $c->print_subject(); $c->print_metatypes(); if ( $c.comment_posted ) { print safe "
$*text_comment_posted
"; } """
\n"""; """
\n"""; """
\n"""; """
\n"""; $c->print_userpic(); $c->print_poster(); $c->print_metadata(); $c->print_text(); """
\n"""; """
\n"""; """\n"; $c->print_wrapper_end(); } function print_stylesheet () { var string medium_media_query = generate_medium_media_query(); var string header_colors = generate_color_css($*color_page_title, $*color_header_background, $*color_entry_border); var string entry_colors = generate_color_css($*color_entry_text, $*color_entry_background, $*color_entry_border); var string entry_title_colors = generate_color_css($*color_entry_title, $*color_entry_title_background, new Color); 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 entry_margin = ""; if ( $*entry_userpic_style == "" ) { $entry_margin = "145px"; } elseif ( $*entry_userpic_style == "small" ) { $entry_margin = "120px"; } elseif ( $*entry_userpic_style == "smaller" ) { $entry_margin = "95px"; } var string comment_margin = ""; if ( $*comment_userpic_style == "" ) { $comment_margin = "145px"; } elseif ( $*comment_userpic_style == "small" ) {$comment_margin = "120px";} elseif ( $*comment_userpic_style == "smaller" ) {$comment_margin = "95px";} var string userpic_css = ""; if ($*userpics_position == "left") { $userpic_css = """ .has-userpic .entry .userpic { float: left; margin: 1em; } .has-userpic .comment .userpic { float: left; margin: 1.5em 1em 1em; } .has-userpic .entry-content, .has-userpic .metadata, .has-userpic .tag{ margin-left: $entry_margin;} .has-userpic .comment-content {margin-left: $comment_margin;} """; } elseif ($*userpics_position == "right") { $userpic_css = """ .has-userpic .entry .userpic { float: right; margin:1em; } .has-userpic .comment .userpic { float: right; margin: 1.5em 1em 1em; } .has-userpic .entry-content, .has-userpic .metadata, .has-userpic .tag{ margin-right: $entry_margin;} .has-userpic .poster {padding-left: 1em;} .has-userpic .comment-content {margin-right: $comment_margin;} """; } var string navlinks_css = ""; if ($*module_navlinks_section == "header") { $navlinks_css = """ .module-navlinks.module { background: none; border: none; margin: 0; width: 100%; margin: 0; text-align: left; } @media $medium_media_query { .two-columns-left .module-navlinks, .three-columns-left .module-navlinks { text-align:right; margin:0 0 0 -5px;} .three-columns-sides .module-navlinks {text-align:center;} } .module-navlinks ul { margin: 0; padding: 0; display: inline; } .module-navlinks.module li { background: $*color_header_links_background; font-size:smaller; padding: 0.5em ; display: inline; margin: 0 -5px 0 0; border-bottom: 5px solid $*color_header_links_border;} .module-navlinks.module li:hover { border-color:$*color_header_links_border_hover; background: $*color_header_links_background;} .module-navlinks .module-header {display:none;} .module-navlinks a {font-size: smaller; color: $*color_header_links} .module-navlinks a:visited {font-size: smaller; color: $*color_header_links_visited} .module-navlinks a:hover {color: $*color_header_links_hover; text-decoration:none;} .module-navlinks a:active {font-size: smaller; color: $*color_header_links_active} """; } """ body { margin: 1em 0 0; } #canvas { width: 92%; margin: 0 auto; } #primary > .inner:first-child { padding: 0; margin: 0 .25em 0; } #secondary > .inner:first-child, #tertiary > .inner:first-child { padding: 0; } @media $medium_media_query { .column-left #primary > .inner:first-child { padding-left: 1em; } .column-right #primary > .inner:first-child { padding-right: 1em; } .three-columns-left #secondary > .inner:first-child, .three-columns-right #secondary > .inner:first-child { padding-right: .5em; } .three-columns-left #tertiary > .inner:first-child, .three-columns-right #tertiary > .inner:first-child { padding-left: .5em; } } a { text-decoration: none; } a:hover { text-decoration: underline; } p { margin: 1em 0; } blockquote { $entry_colors margin: 2em 2em 2em 5em; padding: .7em; width: 70%; } ul { list-style: square inside; margin: .5em 1em; } ol { list-style: decimal inside; margin: .5em 1.5em; } /*--- Titles ---*/ #header { margin: 0 .25em .5em; padding: 0; } h1#title, h2#pagetitle, h2#subtitle { text-align: right; text-transform: uppercase; } h1#title a { color: $*color_page_title; } /*--- Journal Navigation ---*/ .navigation { $entry_colors border:0; border-top: 30px solid $*color_entry_border; font-weight: bold; padding: .25em; margin: 0 0 1em 0; } .navigation.empty { display: none; } .page-read .noentries { font-weight: normal; } li.page-separator { display: none; } /*--- Sidebar aka Modules ---*/ #secondary, #tertiary { text-align: center; } .module { text-align:left; } @media $medium_media_query { .one-column .module { display: inline-block; vertical-align: top; width: $*modules_per_row; } } #secondary > .inner:first-child, #tertiary > .inner:first-child { border-top: 30px solid $*color_module_border; margin: 0 .25em 1em; padding: .5em; background: $*color_module_background; } .module {border: 0;} h2.module-header { font-weight: bold; margin: .5em 0; padding: .5em; } h2.module-header a { color: $*color_module_title; } .module-content .userpic { text-align: center; } .module-content .userpic img { border: 10px solid $*color_module_border; } .journal-name { text-transform: uppercase; margin: .5em 0 0; text-align: center; } .journal-website-name { text-transform: uppercase; text-align: center; } ul.userlite-interaction-links.icon-links { margin: .5em 0 0; text-align: center; } ul.userlite-interaction-links.icon-links li { margin: 0 auto; text-align: center; } ul.userlite-interaction-links.text-links li { padding: 0 0 0 .5em; } .module-content ul {margin: -.5em 0 0;} ul.module-list { list-style: none; } ul.module-list li { margin:0; padding: .25em; border-bottom: 1px solid $*color_module_list_border; } ul.module-list li:hover {background: $*color_module_list_background_hover;} .module-tags_multilevel li li {border:0; padding-bottom: 0px; padding-left: .5em;} .module-navlinks, .module-navlinks a { color: $*color_module_title; font-family: $*font_module_heading; font-weight: bold; } .module-navlinks ul.module-list { color: $*color_module_title; text-transform: uppercase; } .manage-link { margin: .5em 0 0; text-align: right; text-transform: uppercase; } .module-calendar table {font-size:smaller; margin:0 auto;} .module-calendar th { font-weight: bold; margin: 0 .2em; padding: .3em; text-transform: uppercase; background: $*color_module_calendar_background; text-align:center; color:$*color_module_calendar_text; } .module-calendar td { background: $*color_module_calendar_background; margin: 0 .2em; padding: .25em .5em .5em .25em; text-transform: uppercase; text-align:center; color:$*color_module_calendar_text; } .module-calendar td a {color:$*color_module_calendar_link;} .module-calendar td a:hover {color:$*color_module_calendar_link_hover;} .module-calendar td a:visited {color:$*color_module_calendar_link_visited;} .module-calendar td a:active {color:$*color_module_calendar_link_active;} $navlinks_css /*--- Entries ---*/ .entry, .comment, #postform{ border: 0; border-top: 30px solid $*color_entry_border; margin: 0 0 1em 0; } .entry-content, .comment-content { margin: 1em; min-height: 130px; /*prevents metadata shifting on short entries*/ } .entry .header { color: $*color_entry_title; background: $*color_entry_title_background; margin: 0 0 .5em; padding: .5em; } .entry h3.entry-title { text-transform: lowercase; font-weight: bold; padding:.5em ; margin:0; background: transparent; display:inline-block; } .datetime { display: block; font-size: 0.75em; margin: 0 0 -.75em; text-transform: uppercase; font-style: italic; } .datetime a {color: $*color_entry_title;} .poster { display: inline-block; margin: 1em 0 0; } .entry .userpic img, .comment .userpic img { border: 10px solid $*color_userpic_border; } .entry .footer, .comment .footer { background: $*color_entry_footer_background; clear: both; text-align: right; padding: .25em 0; margin-top: 1em; } ul.entry-interaction-links, ul.entry-management-links, ul.comment-interaction-links, ul.comment-management-links { margin:0; padding: 0; display:inline; } ul.text-links li {background: $*color_entry_interaction_links_background; padding: 0.25em;} .text-links a, #comments .text-links a {font-size: smaller; color: $*color_entry_interaction_links;} ul.text-links li:hover {background: $*color_entry_interaction_links_background_hover; padding: 0.25em;} .text-links li:hover a, #comments .text-links li:hover a {color: $*color_entry_interaction_links_hover; text-decoration: none;} ul.text-links li:active {background: $*color_entry_interaction_links_background_active; padding: 0.25em;} .text-links li:active a, #comments .text-links li:active a {color: $*color_entry_interaction_links_active; text-decoration: none;} ul.text-links li:visited {background: $*color_entry_interaction_links_background_hover; padding: 0.25em;} .text-links li:visited a, #comments .text-links li:visited a {color: $*color_entry_interaction_links_hover; text-decoration: none;} /*--- Comments ---*/ .comment, #qrform, #postform, .bottomcomment, .comment-pages { $entry_colors border: none } .comment-pages {text-align:center; font-weight:bold; padding: .5em; margin-bottom: .5em;} #qrform {border-top: .25em solid $*color_entry_footer_background;} #comments h4.comment-title, #comments h4.comment-title a { color: $*color_comment_title; text-transform: lowercase; font-weight: bold; padding:.5em ; margin:0; background:transparent; } .comment .header { color: $*color_comment_title; background: $*color_comment_title_background; margin: 0 0 .5em 0; padding: .5em; } textarea.textbox { border: 1px solid; width: 80% !important; } #qrform table { border: 0 !important; } .comment-wrapper { margin: 0; padding: 0; } .no-userpic .comment-poster { padding-left: 1em;} table.talkform { margin: 0 0 .5em 0; padding: .5em; } .bottomcomment { margin: .5em 0; padding: .25em 0; text-align:center; } .bottomcomment label {display:block; padding-top: .5em;} /*--- Currents and Tags AKA Metadata ---*/ .metadata, .tag { font-size: smaller; padding-left: 1.5em; } .metadata ul { margin: 0; padding: 0; } .metadata-item-location, .metadata-item-music, .metadata-item-mood, .tag ul { text-align: right; } .tag ul li { font-weight: normal; margin: .5em .2em 0 0; text-align: right; } /*---Unified Secondary Page Styling---*/ #archive-year .header h3, .tags-container .header h2, .icons-container .header h2 { $entry_title_font $entry_title_colors; text-transform: lowercase; padding: .5em; } .tags-container a, .icons-container a, #archive-year a, #comments a, #archive-month a, .navigation a { color:$*color_entry_link; } .tags-container a:active, .icons-container a:active, #archive-year a:active, #comments a:active, #archive-month a:active, .navigation:active { color:$*color_entry_link_active; } .tags-container a:hover, .icons-container a:hover, #archive-year a:hover, #comments a:hover, #archive-month a:hover, .navigation a:hover { color:$*color_entry_link_hover; } .tags-container a:visited, .icons-container a:visited, #archive-year a:visited, #comments a:visited, #archive-month a:visited, .navigation a:visited { color:$*color_entry_link_visited; } /*--- Archive Page ---*/ .month { $entry_colors border: 0; border-top: 30px solid $*color_entry_border; margin: 0 0 1em 0; padding: 1em; } .month table { margin: auto; border:0; } .month caption { display: none; } .month th { font-weight: bold; text-align: center; text-transform: lowercase; } table.month th, table.month td, table.month td.day-empty {border: 0.2em solid $*color_entry_background;} .month td.day { background: $*color_calendar_background; color: $*color_calendar_text; font-weight: normal; padding: .5em; text-align: left; vertical-align:top; width: 4em; } .month td.day-has-entries p { padding: 0 0 0 .5em; font-weight:bold; } .month td.day-has-entries a {color:$*color_calendar_link;} .month td.day-has-entries a:hover {color:$*color_calendar_link_hover;} .month td.day-has-entries a:active {color:$*color_calendar_link_active;} .month td.day-has-entries a:visited {color:$*color_calendar_link_visited;} .month dl, .month dt, .month dd { margin: 0; padding: 0; } /*--- Tags Page ---*/ .page-tags .tags-container { $entry_colors border:0; border-top: 30px solid $*color_entry_border; margin: 0 0 .5em 0; padding: 1em; } .page-tags .tags-container ul { margin-left: .5em; padding-left: .5em; } /*--- Icons Page ---*/ .icons-container { $entry_colors border:0; border-top: 30px solid $*color_entry_border; margin: 0 0 .5em; padding: 1em; } div.icons-container div.icon:nth-of-type(2n) { clear: both; } .icons-container .icon { float: left; margin-bottom: 15px; min-width: 350px; vertical-align: bottom; width: 50%; display:table; } .icon-image { display: inline; float: left; margin-right: 1em; min-width: 100px; margin-top: 0; } .icon-info { overflow: auto; vertical-align: bottom; word-wrap: break-word; display:table-cell; width:100%; } .icon-info .label, .icon-info span { font-weight: bold; } .icons-container .inner .footer, .icon-pages { clear: both; text-align: center; } $userpic_css """; }