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 = "Nouveau Oleanders"; layerinfo redist_uniq = "nouveauoleanders/layout"; layerinfo author_name = "branchandroot"; layerinfo lang = "en"; set layout_authors = [ { "name" => "branchandroot", "type" => "user" } ]; # Public domain images from openclipart.org: # Twisted Tree Banner by Steren (http://openclipart.org/media/files/Steren/11291) # Oleander Design by Frank Steeley, contributed by Johnny Automatic (http://openclipart.org/media/files/johnny_automatic/4858) set layout_resources = [ { "name" => "OpenClipart", "url" => "http://www.openclipart.org/" } ]; ##=============================== ## Presentation ##=============================== set layout_type = "two-columns-left"; property string userpics_position { des = "Place of icons in entries and comments"; values = "none|None (don't show)|default|Default"; } set userpics_position = "default"; set entry_management_links = "text"; set comment_management_links = "text"; ##=============================== ## Colors ##=============================== propgroup colors_child { property use color_header_link; property use color_header_link_active; property use color_header_link_hover; property use color_header_link_visited; } ##=============================== ## Fonts ##=============================== set font_journal_title = "Palatino, serif"; set font_journal_subtitle = "Palatino, serif"; set font_entry_title = "Palatino, serif"; set font_comment_title = "Palatino, serif"; set font_module_heading = "Palatino, serif"; ##=============================== ## Images ##=============================== propgroup images_child { property string[] image_background_titles_group { des = "Journal titles, module headings and footer background image"; grouptype = "image"; } set image_background_titles_group = [ "image_background_titles_url", "image_background_titles_repeat" ]; property string image_background_titles_url { grouped = 1; } property string image_background_titles_repeat { values = "repeat|tile image|no-repeat|don't tile|repeat-x|tile horizontally|repeat-y|tile vertically"; grouped = 1; } property string[] image_entry_border_group { des = "Entry border image"; grouptype = "image"; } set image_entry_border_group = [ "image_entry_border_url", "image_entry_border_repeat", "image_entry_border_position" ]; property string image_entry_border_url { grouped = 1; } property string image_entry_border_repeat { values = "repeat|tile image|no-repeat|don't tile|repeat-x|tile horizontally|repeat-y|tile vertically"; grouped = 1; } property string image_entry_border_position { values = "top left|top left|top center|top center|top right|top right|center left|center left|center center|center|center right|center right|bottom left|bottom left|bottom center|bottom center|bottom right|bottom right"; grouped = 1; allow_other = 1; } property string[] image_entry_border_end_odd_group { des = "Odd entry border image"; grouptype = "image"; } set image_entry_border_end_odd_group = [ "image_entry_border_end_odd_url", "image_entry_border_end_odd_repeat", "image_entry_border_end_odd_position" ]; property string image_entry_border_end_odd_url { grouped = 1; } property string image_entry_border_end_odd_repeat { values = "repeat|tile image|no-repeat|don't tile|repeat-x|tile horizontally|repeat-y|tile vertically"; grouped = 1; } property string image_entry_border_end_odd_position { values = "top left|top left|top center|top center|top right|top right|center left|center left|center center|center|center right|center right|bottom left|bottom left|bottom center|bottom center|bottom right|bottom right"; grouped = 1; allow_other = 1; } property string[] image_entry_border_end_even_group { des = "Even entry border image"; grouptype = "image"; } set image_entry_border_end_even_group = [ "image_entry_border_end_even_url", "image_entry_border_end_even_repeat", "image_entry_border_end_even_position" ]; property string image_entry_border_end_even_url { grouped = 1; } property string image_entry_border_end_even_repeat { values = "repeat|tile image|no-repeat|don't tile|repeat-x|tile horizontally|repeat-y|tile vertically"; grouped = 1; } property string image_entry_border_end_even_position { values = "top left|top left|top center|top center|top right|top right|center left|center left|center center|center|center right|center right|bottom left|bottom left|bottom center|bottom center|bottom right|bottom right"; grouped = 1; allow_other = 1; } property string[] image_comment_border_group { des = "Comment border image"; grouptype = "image"; } set image_comment_border_group = [ "image_comment_border_url", "image_comment_border_repeat", "image_comment_border_position" ]; property string image_comment_border_url { grouped = 1; } property string image_comment_border_repeat { values = "repeat|tile image|no-repeat|don't tile|repeat-x|tile horizontally|repeat-y|tile vertically"; grouped = 1; } property string image_comment_border_position { values = "top left|top left|top center|top center|top right|top right|center left|center left|center center|center|center right|center right|bottom left|bottom left|bottom center|bottom center|bottom right|bottom right"; grouped = 1; allow_other = 1; } property string[] image_comment_border_end_odd_group { des = "Odd comment border image"; grouptype = "image"; } set image_comment_border_end_odd_group = [ "image_comment_border_end_odd_url", "image_comment_border_end_odd_repeat", "image_comment_border_end_odd_position" ]; property string image_comment_border_end_odd_url { grouped = 1; } property string image_comment_border_end_odd_repeat { values = "repeat|tile image|no-repeat|don't tile|repeat-x|tile horizontally|repeat-y|tile vertically"; grouped = 1; } property string image_comment_border_end_odd_position { values = "top left|top left|top center|top center|top right|top right|center left|center left|center center|center|center right|center right|bottom left|bottom left|bottom center|bottom center|bottom right|bottom right"; grouped = 1; allow_other = 1; } property string[] image_comment_border_end_even_group { des = "Even comment border image"; grouptype = "image"; } set image_comment_border_end_even_group = [ "image_comment_border_end_even_url", "image_comment_border_end_even_repeat", "image_comment_border_end_even_position" ]; property string image_comment_border_end_even_url { grouped = 1; } property string image_comment_border_end_even_repeat { values = "repeat|tile image|no-repeat|don't tile|repeat-x|tile horizontally|repeat-y|tile vertically"; grouped = 1; } property string image_comment_border_end_even_position { values = "top left|top left|top center|top center|top right|top right|center left|center left|center center|center|center right|center right|bottom left|bottom left|bottom center|bottom center|bottom right|bottom right"; grouped = 1; allow_other = 1; } } set image_background_header_url = "nouveauoleanders/journalheader_background.png"; set image_background_header_repeat = "no-repeat"; set image_background_titles_url = "nouveauoleanders/titles_background.png"; set image_background_titles_repeat = "no-repeat"; set image_entry_border_url = "nouveauoleanders/entry_border.png"; set image_entry_border_position = "top left"; set image_entry_border_repeat = "repeat-x"; set image_entry_border_end_odd_url = "nouveauoleanders/entry_border_end_right.png"; set image_entry_border_end_odd_position = "top right"; set image_entry_border_end_odd_repeat = "no-repeat"; set image_entry_border_end_even_url = "nouveauoleanders/entry_border_end_left.png"; set image_entry_border_end_even_position = "top left"; set image_entry_border_end_even_repeat = "no-repeat"; set image_comment_border_url = "nouveauoleanders/comment_border.png"; set image_comment_border_position = "top left"; set image_comment_border_repeat = "repeat-x"; set image_comment_border_end_odd_url = "nouveauoleanders/comment_border_end_right.png"; set image_comment_border_end_odd_position = "top right"; set image_comment_border_end_odd_repeat = "no-repeat"; set image_comment_border_end_even_url = "nouveauoleanders/comment_border_end_left.png"; set image_comment_border_end_even_position = "top left"; set image_comment_border_end_even_repeat = "no-repeat"; ##=============================== ## Modules ##=============================== property string module_navlinks_section_override { values = "none|(none)|header|Header|one|Main Module Section|two|Main Module Section"; grouped = 1; } set grouped_property_override = { "module_navlinks_section" => "module_navlinks_section_override" }; set module_navlinks_section = "header"; ##=============================== ## Text ##=============================== set text_post_comment = "Reply"; set text_post_comment_friends = "Reply"; set text_entry_prev = "Previous"; set text_entry_next = "Next"; set text_mem_add = "Memory"; set text_tell_friend = "Share"; set text_watch_comments = "Track"; set text_unwatch_comments = "Untrack"; ##=============================== ## Style Features ##=============================== 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(); """"""; } ##=============================== ## Stylesheet ##=============================== function print_stylesheet () { var string medium_media_query = generate_medium_media_query(); var string header_background_image = generate_background_css ($*image_background_header_url, $*image_background_header_repeat, "", new Color); var string titles_background_image = generate_background_css ($*image_background_titles_url, $*image_background_titles_repeat, "", new Color); var string entry_border_image = generate_background_css ($*image_entry_border_url, $*image_entry_border_repeat, $*image_entry_border_position, new Color); var string entry_border_image_odd = generate_background_css ($*image_entry_border_end_odd_url, $*image_entry_border_end_odd_repeat, $*image_entry_border_end_odd_position, new Color); var string entry_border_image_even = generate_background_css ($*image_entry_border_end_even_url, $*image_entry_border_end_even_repeat, $*image_entry_border_end_even_position, new Color); var string comment_border_image = generate_background_css ($*image_comment_border_url, $*image_comment_border_repeat, $*image_comment_border_position, new Color); var string comment_border_image_odd = generate_background_css ($*image_comment_border_end_odd_url, $*image_comment_border_end_odd_repeat, $*image_comment_border_end_odd_position, new Color); var string comment_border_image_even = generate_background_css ($*image_comment_border_end_even_url, $*image_comment_border_end_even_repeat, $*image_comment_border_end_even_position, 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 comment_title_font = generate_font_css($*font_comment_title, $*font_base, $*font_fallback, $*font_comment_title_size, $*font_comment_title_units); var string navlinks_css = ""; if ($*module_navlinks_section == "header") { $navlinks_css = """ #header .module-wrapper .separator { display: none; } .module-navlinks { background-color: transparent; font-family: $*font_journal_title; font-size: small; } .module-navlinks ul { margin: .25em auto; } .module-navlinks li { display: block; } .module-navlinks a { color: $*color_header_link; } .module-navlinks a:visited { color: $*color_header_link_visited; } .module-navlinks a:hover { color: $*color_header_link_hover; } .module-navlinks a:active { color: $*color_header_link_active; } @media $medium_media_query { #header .module-wrapper { margin-left: 220px; margin-right: 220px; padding-top: 1em; } .module-navlinks { text-align: center; } .module-navlinks li { display: inline; border-left: 1px solid $*color_page_title; padding: 0 .25em 0 .5em; } .module-navlinks ul > li:first-child { border-left: none; } } """; } var string{}{} scaling = { "" => { "padding" => "110px", "noicon_img" => "$*IMGDIR/profile_icons/user.png", "icon_wrap_size" => "102px", "icon_link_size" => "100px" }, "small" => { "padding" => "85px", "noicon_img" => "$*IMGDIR/profile_icons/user-small.png", "icon_wrap_size" => "77px", "icon_link_size" => "75px" }, "smaller" => { "padding" => "60px", "noicon_img" => "$*IMGDIR/profile_icons/user-smaller.png", "icon_wrap_size" => "52px", "icon_link_size" => "50px" } }; var string comment_datetime_padding = $scaling{$*comment_userpic_style}{"padding"}; var string entry_icon_background = generate_background_css ($scaling{$*entry_userpic_style}{"noicon_img"}, "no-repeat", "center", new Color); var string comment_icon_background = generate_background_css ($scaling{$*comment_userpic_style}{"noicon_img"}, "no-repeat", "center", new Color); var string userpic_css = ""; if ($*userpics_position != "none") { $userpic_css = """ .entry .contents .userpic { $entry_icon_background height: $scaling{$*entry_userpic_style}{"icon_wrap_size"}; width: $scaling{$*entry_userpic_style}{"icon_wrap_size"}; } .entry .contents .userpic a { background-color: $*color_page_background; display: block; height: $scaling{$*entry_userpic_style}{"icon_link_size"}; width: $scaling{$*entry_userpic_style}{"icon_link_size"}; } .entry-wrapper-odd .contents .userpic { float: left; margin: 0 1.5em .5em 0; } .entry-wrapper-even .contents .userpic { float: right; margin: 0 0 .5em 1.5em; } .comment .contents .userpic { $comment_icon_background height: $scaling{$*comment_userpic_style}{"icon_wrap_size"}; width: $scaling{$*comment_userpic_style}{"icon_wrap_size"}; } .comment .contents .userpic a { background-color: $*color_page_background; display: block; height: $scaling{$*comment_userpic_style}{"icon_link_size"}; width: $scaling{$*comment_userpic_style}{"icon_link_size"}; } .comment-wrapper-odd .contents .userpic { float: left; margin: -1em .5em .5em 0; } .comment-wrapper-even .contents .userpic { float: right; margin: -1em 0 .5em .5em; } """; } """ /* --- Nouveau Oleanders --- */ blockquote { font-style: italic; padding: 1em 1em .5em 2em; } blockquote > p:first-child { margin-top: 0; } dl dt { font-weight: bold; } ul, .module-content ul { list-style: square; } ul ul, .module-content ul ul { list-style: disc; } ul ul ul, .module-content ul ul ul { list-style: square; } ul ul ul ul, .module-content ul ul ul ul { list-style: circle; } h1, h2, h3, h4 { font-style: italic; } .tags-container h2, .page-archive h3, .page-day h3.day-date { font-family: $*font_journal_title; } h2, h3, h4 { $titles_background_image background-color: $*color_header_background; background-position: center left; color: $*color_page_title; line-height: 1.5em; min-height: 30px; padding-left: 40px; } h2 a, h3 a, h4 a { color: $*color_page_title; } h2 a, h3 a, h4 a:visited { color: $*color_page_title; } .entry .header h3, .page-month h3.entry-title { background: transparent; margin-top: .5em; padding-left: 0; } .entry .entry-title { font-size: x-large; /* Make sure custom size applies */ $entry_title_font } .page-month h3.entry-title { font-size: large; } .entry .header h3 a, .page-month h3.entry-title a { color: $*color_page_link; } .entry .header h3 a:visited, .page-month h3.entry-title a:visited { color: $*color_page_link_visited; } a:hover { text-decoration: none; } body { margin: 0; } #canvas { position: relative; } /* Header */ #header { background-color: $*color_header_background; background-position: top right; color: $*color_page_title; padding: 1px; } @media $medium_media_query { #header .inner:first-child { $header_background_image background-position: top left; margin-top: -1px; } #header .inner .inner { background: none; } #title { margin-left: 200px; margin-right: 200px; } #title a { color: $*color_page_title; } #subtitle, #pagetitle { margin-left: 2em; margin-right: 2em; } } #content { border-color: $*color_module_background !important; } #content-footer { clear: both; } /* Main column */ #primary > .inner:first-child { padding: 1em 4em; } .navigation { text-align: right; } .navigation ul { margin: 0 0 1em 0; padding: .25em; } .page-day .navigation .page-back { float: left; } /* Entries */ .entry-wrapper { $entry_border_image margin-bottom: 3em; } .entry { border: none; } .entry .header { padding: .5em 0; } @media $medium_media_query { .entry-wrapper-odd { margin-right: 255px; } .entry-wrapper-even { margin-left: 255px; } .entry-wrapper-odd .entry { $entry_border_image_odd margin-right: -255px; padding: 1px; } .entry-wrapper-even .entry { $entry_border_image_even margin-left: -255px; padding: 1px; } .entry-wrapper-odd .header { margin-right: 210px; } .entry-wrapper-even .header { margin-left: 210px; text-align: right; } } .entry-wrapper-odd .contents .entry-poster { margin-left: -1em; } .entry-wrapper-even .contents .entry-poster { display: block; margin-right: -1em; text-align: right; } .entry .datetime { font-size: small; } .entry-content { margin-top: 1em; } .entry-content li { margin-left: 1em; } .entry-content hr { display: block; margin: 1em 10%; } .entry-content:first-letter { font-size: x-large; font-style: italic; } .metadata { clear: both; font-size: small; margin: 1em 0 0; } .metadata-label { font-style: italic; } .metadata ul { margin-bottom: 0; margin-top: 0; padding-bottom: 0; padding-top: 0; } .metadata ul li { margin-left: 0; padding-left: 0; } .metadata.top-metadata { clear: none; } .entry .footer { clear: both; margin: .5em 0 0; padding-bottom: .5em; } .entry .footer > .inner:first-child { font-size: small; padding: 1px; /*float uneveness fix */ } .entry .tag { padding: 0 .5em 1em 0; } .entry .tag-text { font-weight: bold; } ul.entry-management-links { float: left; margin-bottom: .5em; margin-top: 1em; } ul.entry-interaction-links { margin-bottom: .5em; margin-right: .5em; margin-top: 1em; text-align: right; } /* Comments */ .comment-thread { margin-left: 1.5em; } .comment-depth-1 { margin-left: 0; } .comment-wrapper { $comment_border_image margin-bottom: 1em; padding-top: 1px; } .comment-wrapper.partial { background: none; } .comment-wrapper-odd { margin-right: 48px; } .comment-wrapper-even { margin-left: 48px; } .comment-wrapper-odd .comment { $comment_border_image_odd margin-right: -48px; margin-top: -1px; padding-right: 2em; } .comment-wrapper-even .comment { $comment_border_image_even margin-left: -48px; margin-top: -1px; padding-left: 2em; } .comment { padding: 30px 1em 0; } .partial .comment { background: none; padding: 0; } .comment-wrapper-odd .header { padding-right: 50px; text-align: left; } .comment-wrapper-even .header { padding-left: 50px; text-align: right; } .comment .comment-title { background: none; color: $*color_page_link; line-height: 1em; min-height: 0; margin: .25em 0 0; padding: .25em 0; font-size: large; /* Make sure custom size applies */ $comment_title_font } .comment-title a { color: $*color_page_link; } .comment-title a:visited { color: $*color_page_link_visited; } .partial .comment-title { display: inline; margin: 0; margin-right: .2em; } .partial .comment-poster:before { content: "- "; } .full .comment .datetime { display: block; font-size: small; } .comment-wrapper-odd.full .datetime { padding-left: $comment_datetime_padding; } .comment-wrapper-even.full .datetime { padding-right: $comment_datetime_padding; } .comment-wrapper-even .contents { text-align: right; } .comment-wrapper-even .comment-content { text-align: left; } .comment .poster-ip { display: block; font-size: x-small; } .comment-content { margin-top: 1em; } .comment .ljedittime { margin-top: 1em; } .comment-content .datetime { font-style: italic; } .comment .multiform-checkbox { display: block; text-align: right; font-size: small; font-style: italic; } .comment .footer { margin: 0 0 .5em 0; padding-top: 1px; font-size: small; } .comment .footer > .inner:first-child { padding: 1px; /*float uneveness fix */ } .comment-management-links { float: right; } .comment-interaction-links { text-align: left; } .bottomcomment, .comments-message { border-bottom: 6px double $*color_entry_border; border-top: 6px double $*color_entry_border; font-size: small; padding: .5em; } .bottomcomment .entry-management-links, .bottomcomment .entry-interaction-links { margin: .25em 0 .5em; } .comment-pages { text-align: center; } #qrformdiv table { margin: .5em; } /* Archive */ /* Year-by-month view */ #archive-year .navigation { margin-bottom: 2em; text-align: left; } div.month { margin: 1em 0 2em; } table.month td, table.month th { padding: .5em; vertical-align: top; } .month caption { display: none; } #archive-year .month .footer { padding: .5em; text-align: center; } /* Month-by-day view */ #archive-month .navigation { text-align: center; } .month dl .tag-text { font-style: italic; } .month dl h3.entry-title { font-weight: bold; } /* Day-by-entries view */ .day h3.day-date { margin: 1.5em 0; } /* Tags page */ .tags-container { margin: 1em 2em; } /* Icons page */ .icons-container { margin: 1em 2em; } .icons-container h2 { font-family: $*font_journal_title; } .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; } /* Sidebars */ #secondary, #tertiary { background-color: $*color_module_background; color: $*color_module_text; } #secondary > .inner:first-child, #tertiary > .inner:first-child { padding-left: 0; } #secondary a, #tertiary a { color: $*color_module_link; } #secondary a:visited, #tertiary a:visited { color: $*color_module_link_visited; } #secondary a:hover, #tertiary a:hover { color: $*color_module_link_hover; } #secondary a:active, #tertiary a:active { color: $*color_module_link_active; } .module { margin: 0 0 1em; padding-top: 1px; } @media $medium_media_query { .two-columns #tertiary .separator-after { clear: both; } .two-columns #tertiary .module { margin: 0 1.5em; } .two-columns-left #tertiary .module { float: right; } } .module-header { font-size: large; } #secondary .module-header a, #tertiary .module-header a, #secondary .module-header a:visited, #tertiary .module-header a:visited { color: $*color_module_title; } .module-content { padding-left: 1em; } .module-content ul, .module-list { margin-top: 0; padding-top: 0; } .module-content ul.userlite-interaction-links { margin-top: .5em; } .module-typelist ul, .module-active ul { list-style: none; margin-left: 0; padding-left: 0; } .any-column .module-calendar table { font-size: small; margin: 0; } .module-calendar td a { background-color: $*color_module_title_background; color: $*color_module_title; } .any-column .module-syndicate .module-content { text-align: left; } $navlinks_css /* Footer */ #footer { padding: 1em; } #footer > .inner:first-child { $titles_background_image background-position: center right; min-height: 31px; } $userpic_css """; }