bin/upgrading/s2layers/skittlishdreams/layout.s2
author fu
Fri Jan 27 17:59:59 2012 +0800
changeset 4240 5bab31c9f015
parent 4213 9bf2ee057539
child 4241 37aa8a1ac7c8
permissions -rw-r--r--
http://bugs.dwscoalition.org/show_bug.cgi?id=4245

Call keywords in list context, so that we get a list instead of a comma-separated string. Add a bit of padding because we no longer have a physical comma.

Patch by fu.
mark@1830
     1
layerinfo "type" = "layout";
mark@1830
     2
layerinfo "name" = "Skittlish Dreams";
mark@1830
     3
layerinfo "des" = "A Dreamwidth port of Skittlish. Candy-coloured theme which comes in several flavors";
mark@1830
     4
layerinfo "redist_uniq" = "skittlishdreams/layout";
mark@1830
     5
layerinfo "author_name" = "Kaigou";
mark@1830
     6
layerinfo "lang" = "en";
mark@1830
     7
fu@3030
     8
set layout_authors = [ { "name" => "Kaigou" } ];
mark@1830
     9
set layout_resources = [ { "name" => "Circular Icons", "url" => "http://prothemedesign.com/circular-icons/" } ];
mark@1830
    10
mark@1830
    11
set entry_management_links = "text";
mark@1830
    12
set comment_management_links = "text";
mark@1830
    13
set all_commentsubjects = true;
mark@1830
    14
mark@1830
    15
set text_entry_prev = "Previous";
mark@1830
    16
set text_entry_next = "Next";
mark@1830
    17
set text_mem_add = "Memory";
mark@1830
    18
set text_watch_comments = "Track";
mark@1830
    19
set text_unwatch_comments = "Untrack";
mark@1830
    20
set text_tell_friend = "Share";
mark@1830
    21
set text_post_comment = "Reply";
mark@1830
    22
set text_post_comment_friends = "Reply";
mark@1830
    23
mark@1830
    24
propgroup presentation {
mark@1830
    25
    property use num_items_recent;
mark@1830
    26
    property use num_items_reading;
mark@1830
    27
    property use use_journalstyle_entry_page;
mark@1830
    28
    property use layout_type;
fu@3552
    29
    property use tags_page_type;
mark@1830
    30
    property use sidebar_width;
fu@3552
    31
    property use margins_size;
fu@3552
    32
    property use margins_unit;
fu@3482
    33
    property use userpics_style_group;
fu@2584
    34
    property string entryicons_position {
fu@2584
    35
       des = "Place icons on the same side or opposite the sidebar";
fu@3614
    36
       values = "none|None (don't show)|same|Same side as sidebar|opposite|Opposite the sidebar";
fu@2584
    37
    }
fu@2358
    38
    property use entry_metadata_position;
mark@1830
    39
    property use use_custom_friend_colors;
fu@2347
    40
    property use use_shared_pic;
fu@2456
    41
    property use userlite_interaction_links;
fu@2456
    42
    property use entry_management_links;
fu@2456
    43
    property use comment_management_links;
fu@4189
    44
    property use reg_firstdayofweek;
fu@3210
    45
    property use entry_datetime_format_group;
fu@3210
    46
    property use comment_datetime_format_group;
fu@3280
    47
    property bool use_action_links_images {
fu@3280
    48
        des = "Theme has images for the entry/comment links";
fu@3280
    49
        noui = 1;
fu@3280
    50
    }
mark@1830
    51
}
mark@1830
    52
mark@1830
    53
set layout_type = "two-columns-right";
fu@2994
    54
set sidebar_width = "300px";
mark@1830
    55
set tags_page_type = "";
fu@2584
    56
set entryicons_position = "same";
mark@1830
    57
set custom_colors_template = "%%new%% .userpic a {background-color: %%background%%; border: solid 1px %%foreground%%;}";
fu@3280
    58
set use_action_links_images = true;
mark@1830
    59
mark@1830
    60
propgroup colors {
mark@1830
    61
    property use color_page_background;
mark@1830
    62
    property use color_page_text;
mark@1830
    63
    property use color_page_link;
mark@1830
    64
    property use color_page_link_hover;
mark@1830
    65
    property use color_page_link_visited;
mark@1830
    66
    property Color color_page_border { des = "Main border color for the page, and various elements"; }
mark@1830
    67
    property use color_page_title;
fu@2973
    68
    property use color_page_details_text;
mark@1830
    69
mark@1830
    70
mark@1830
    71
    property use color_header_background;
mark@1830
    72
    property use color_footer_background;
mark@1830
    73
    property Color color_footer_link {
mark@1830
    74
        des = "Header/footer link and text color";
mark@1830
    75
    }
mark@1830
    76
    property Color color_footer_link_hover {
mark@1830
    77
        des = "Header/footer link hover color";
mark@1830
    78
    }
mark@1830
    79
mark@1830
    80
    property use color_module_background;
mark@1830
    81
    property use color_module_text;
mark@1830
    82
    property use color_module_link;
mark@1830
    83
    property use color_module_title;
mark@1830
    84
mark@1830
    85
    property use color_entry_background;
mark@1830
    86
    property use color_entry_text;
mark@1830
    87
mark@1830
    88
    property use color_entry_title;
mark@1830
    89
    property use color_entry_title_background;
mark@1830
    90
    property Color color_entry_title_border { des = "Entry title border color"; }
mark@1830
    91
    property Color color_entry_title_border_alt { des = "Alternate entry title border color"; }
mark@1830
    92
mark@1830
    93
    property Color color_entry_metadata_text {des = "Entry metadata color";}
mark@1830
    94
}
mark@1830
    95
mark@1830
    96
propgroup images {
mark@1830
    97
    property use image_background_page_group;
mark@1830
    98
    property use image_background_header_group;
mark@1830
    99
    property use image_background_header_height;
mark@1830
   100
    property use image_background_module_group;
mark@1830
   101
    property use image_background_entry_group;
mark@1830
   102
mark@1830
   103
    property string[] image_background_container_group {
mark@1830
   104
        des = "Main body image";
mark@1830
   105
        grouptype = "image";
mark@1830
   106
    }
mark@1830
   107
    set image_background_container_group = [ "image_background_container_url", "image_background_container_repeat", "image_background_container_position" ];
mark@1830
   108
    property string image_background_container_url {
mark@1830
   109
        grouped = 1;
mark@1830
   110
    }
mark@1830
   111
    property string image_background_container_repeat {
mark@1830
   112
        values = "repeat|tile image|no-repeat|don't tile|repeat-x|tile horizontally|repeat-y|tile vertically";
mark@1830
   113
        grouped = 1;
mark@1830
   114
    }
mark@1830
   115
    property string image_background_container_position {
mark@1830
   116
        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";
mark@1830
   117
        grouped = 1;
fu@3214
   118
        allow_other = 1;
mark@1830
   119
    }
mark@1830
   120
    
mark@1830
   121
    
mark@1830
   122
    property string[] image_background_footer_group {
mark@1830
   123
        des = "Footer image";
mark@1830
   124
        grouptype = "image";
mark@1830
   125
    }
mark@1830
   126
    set image_background_footer_group = [ "image_background_footer_url", "image_background_footer_repeat", "image_background_footer_position" ];
mark@1830
   127
    property string image_background_footer_url {
mark@1830
   128
        grouped = 1;
mark@1830
   129
    }
mark@1830
   130
    property string image_background_footer_repeat {
mark@1830
   131
        values = "repeat|tile image|no-repeat|don't tile|repeat-x|tile horizontally|repeat-y|tile vertically";
mark@1830
   132
        grouped = 1;
mark@1830
   133
    }
mark@1830
   134
    property string image_background_footer_position {
mark@1830
   135
        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";
mark@1830
   136
        grouped = 1;
fu@3214
   137
        allow_other = 1;
mark@1830
   138
    }
mark@1830
   139
    
mark@1830
   140
    property string[] image_background_navigation_group {
mark@1830
   141
        des = "Navigation image";
mark@1830
   142
        grouptype = "image";
mark@1830
   143
    }
mark@1830
   144
    set image_background_navigation_group = [ "image_background_navigation_url", "image_background_navigation_repeat", "image_background_navigation_position" ];
mark@1830
   145
    property string image_background_navigation_url {
mark@1830
   146
        grouped = 1;
mark@1830
   147
    }
mark@1830
   148
    property string image_background_navigation_repeat {
mark@1830
   149
        values = "repeat|tile image|no-repeat|don't tile|repeat-x|tile horizontally|repeat-y|tile vertically";
mark@1830
   150
        grouped = 1;
mark@1830
   151
    }
mark@1830
   152
    property string image_background_navigation_position {
mark@1830
   153
        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";
mark@1830
   154
        grouped = 1;
fu@3214
   155
        allow_other = 1;
mark@1830
   156
    }
mark@1830
   157
}
mark@1830
   158
mark@1830
   159
set image_background_navigation_repeat = "no-repeat";
mark@1830
   160
set image_background_navigation_position = "top right";
mark@1830
   161
set image_background_entry_repeat = "repeat-y";
mark@1830
   162
set image_background_entry_position = "top right";
mark@1830
   163
set image_background_module_repeat = "no-repeat";
mark@1830
   164
set image_background_module_position = "top left";
mark@1830
   165
set image_background_footer_repeat = "repeat-x";
mark@1830
   166
set image_background_footer_position = "top left";
mark@1830
   167
set image_background_container_repeat = "repeat-y";
mark@1830
   168
set image_background_container_position = "top right";
mark@1830
   169
set image_background_header_repeat = "repeat-x";
mark@1830
   170
set image_background_header_position = "top left";
mark@1830
   171
set image_background_header_height = 100;
mark@1830
   172
set image_background_page_repeat = "repeat-x";
mark@1830
   173
set image_background_page_position = "top left";
fu@2209
   174
mark@1830
   175
propgroup fonts {
mark@1830
   176
    property use font_base;
mark@1830
   177
    property use font_fallback;
mark@1830
   178
    property use font_base_size;
mark@1830
   179
    property use font_base_units;
fu@3021
   180
    property use font_journal_title;
mark@1830
   181
    property use font_journal_title_size;
mark@1830
   182
    property use font_journal_title_units;
fu@2209
   183
    property use font_entry_title;
fu@2209
   184
    property use font_entry_title_size;
fu@2209
   185
    property use font_entry_title_units;
fu@3057
   186
    property use font_comment_title;
fu@3057
   187
    property use font_comment_title_size;
fu@3057
   188
    property use font_comment_title_units;
mark@1830
   189
    property use font_module_heading_size;
fu@3021
   190
    property use font_module_heading;
mark@1830
   191
    property use font_module_heading_units;
fu@2209
   192
    property use font_module_text;
fu@2209
   193
    property use font_module_text_size;
fu@2209
   194
    property use font_module_text_units;
mark@1830
   195
}
fu@2209
   196
fu@4068
   197
set font_base = "Tahoma, Verdana, Arial";
mark@1830
   198
set font_fallback = "sans-serif";
mark@1830
   199
set font_base_size = "1";
mark@1830
   200
set font_base_units = "em";
mark@1830
   201
set font_journal_title_size = "2";
mark@1830
   202
set font_journal_title_units = "em";
mark@1830
   203
set font_module_heading_size = "1.1";
mark@1830
   204
set font_module_heading_units = "em";
mark@1830
   205
mark@2330
   206
set module_layout_sections = "none|(none)|two|Sidebar";
mark@2330
   207
mark@1830
   208
propgroup modules {
mark@1830
   209
    property use module_userprofile_group;
mark@1830
   210
    property use module_navlinks_group;
mark@1830
   211
    property use module_calendar_group;
mark@1830
   212
    property use module_pagesummary_group;
mark@1830
   213
    property use module_tags_group;
mark@1972
   214
    property use module_active_group;
mark@1830
   215
    property use module_links_group;
mark@1830
   216
    property use module_syndicate_group;
mark@1830
   217
    property use module_time_group;
mark@1830
   218
    property use module_poweredby_group;
mark@1830
   219
    property use module_customtext_group;
mark@1830
   220
    property use module_credit_group;
fu@2382
   221
    property use module_search_group;
fu@3465
   222
    property use module_cuttagcontrols_group;
mark@2330
   223
mark@2330
   224
    property string module_navlinks_section_override {
mark@2330
   225
       values = "none|(none)|one|Header|two|Sidebar";
mark@2330
   226
       grouped = 1;
mark@2330
   227
       }
mark@2330
   228
mark@2330
   229
    property string module_poweredby_section_override {
mark@2330
   230
       values = "none|(none)|two|Sidebar|three|Footer";
mark@2330
   231
       grouped = 1;
mark@2330
   232
       }
mark@2330
   233
mark@2330
   234
    property string module_time_section_override {
mark@2330
   235
       values = "none|(none)|two|Sidebar|three|Footer";
mark@2330
   236
       grouped = 1;
mark@2330
   237
       }
mark@1830
   238
}
mark@1830
   239
mark@1830
   240
set module_userprofile_section = "two";
mark@1830
   241
set module_pagesummary_section = "two";
mark@1830
   242
set module_tags_section = "two";
mark@1972
   243
set module_active_section = "two";
mark@1830
   244
set module_links_section = "two";
mark@1830
   245
set module_syndicate_section = "two";
mark@1830
   246
set module_calendar_section = "two";
mark@2330
   247
set module_customtext_section = "two";
mark@2330
   248
set module_credit_section = "two";
fu@2382
   249
set module_search_section = "two";
fu@3486
   250
set module_cuttagcontrols_section = "two";
mark@2330
   251
mark@2330
   252
set grouped_property_override = { "module_navlinks_section" => "module_navlinks_section_override",
mark@2330
   253
                                "module_poweredby_section" => "module_poweredby_section_override",
mark@2330
   254
                                "module_time_section" => "module_time_section_override", 
mark@2330
   255
                                };
mark@2330
   256
mark@2330
   257
set module_navlinks_section = "one";
mark@1830
   258
set module_poweredby_section = "three";
mark@1830
   259
set module_time_section = "none";
mark@1830
   260
mark@1830
   261
propgroup text {
mark@1830
   262
    property use text_view_recent;
mark@1830
   263
    property use text_view_friends;
mark@1830
   264
    property use text_view_network;
mark@1830
   265
    property use text_view_friends_comm;
mark@1830
   266
    property use text_view_friends_filter;
mark@1830
   267
    property use text_view_archive;
mark@1830
   268
    property use text_view_userinfo;
mark@1830
   269
    property use text_view_memories;
mark@1830
   270
    property use text_view_tags;
mark@1830
   271
mark@1830
   272
    property use text_post_comment;
mark@1830
   273
    property use text_max_comments;
mark@1830
   274
    property use text_read_comments;
mark@1830
   275
    property use text_post_comment_friends;
mark@1830
   276
    property use text_read_comments_friends;
mark@1830
   277
mark@1830
   278
    property use text_skiplinks_back;
mark@1830
   279
    property use text_skiplinks_forward;
mark@1830
   280
    property use text_meta_music; 
mark@1830
   281
    property use text_meta_mood; 
mark@1830
   282
    property use text_meta_location; 
fu@3354
   283
    property use text_meta_xpost;
mark@1830
   284
    property use text_tags; 
mark@1830
   285
mark@1830
   286
    property use text_entry_prev;
mark@1830
   287
    property use text_entry_next; 
mark@1830
   288
    property use text_edit_entry; 
mark@1830
   289
    property use text_edit_tags; 
mark@1830
   290
    property use text_tell_friend; 
mark@1830
   291
    property use text_mem_add; 
mark@1830
   292
    property use text_watch_comments; 
mark@1830
   293
    property use text_unwatch_comments; 
mark@1830
   294
    property use text_permalink; 
mark@1830
   295
    property use text_stickyentry_subject;
mark@1830
   296
mark@1830
   297
    property use text_module_customtext;
mark@1830
   298
    property use text_module_customtext_content;
mark@1830
   299
    property use text_module_customtext_url;
mark@1830
   300
}
mark@1830
   301
mark@1830
   302
propgroup customcss {
mark@1830
   303
    property use external_stylesheet;
mark@1830
   304
    property use include_default_stylesheet;
mark@1830
   305
    property use linked_stylesheet;
mark@1830
   306
    property use custom_css;
mark@1830
   307
}
mark@1830
   308
fu@3614
   309
function prop_init() {
fu@3614
   310
    if ( $*entryicons_position == "none" ) {
fu@3614
   311
        $*userpics_position = "none";
fu@3614
   312
    }
fu@3614
   313
}
fu@3614
   314
mark@1830
   315
function Page::print()
mark@1830
   316
{
mark@1830
   317
    """
mark@1830
   318
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
mark@1830
   319
    <html xmlns="http://www.w3.org/1999/xhtml">
mark@1830
   320
    <head>""";
mark@1830
   321
        $this->print_head();
mark@1830
   322
        $this->print_stylesheets();
mark@1830
   323
        $this->print_head_title();    
mark@1830
   324
    println "</head>";
mark@1830
   325
    $this->print_wrapper_start();
mark@1830
   326
    $this->print_control_strip();
mark@1830
   327
    """
mark@1830
   328
            <div id="container">
mark@1830
   329
            <div id="header">
mark@1830
   330
    """;
mark@1830
   331
    """
mark@1830
   332
                <a name="top">
mark@1830
   333
    """;
mark@1830
   334
    $this->print_global_title();
mark@1830
   335
    """
mark@1830
   336
                </a>
mark@1830
   337
            </div>
mark@1830
   338
    """;
mark@1830
   339
    $this->print_module_section("one");
mark@1830
   340
    """
mark@1830
   341
            <div id="wrap">
mark@1830
   342
            <div id="content">
mark@1830
   343
    """;
mark@1830
   344
    $this->print_body();
mark@1830
   345
    """
mark@1830
   346
            </div>
mark@1830
   347
    """;
mark@1830
   348
    $this->print_module_section("two"); 
mark@1830
   349
    """
mark@1830
   350
            </div><div style="clear:both;"></div>
mark@1830
   351
        </div>
fu@3661
   352
        <div id="footer"><div class="inner">
mark@1830
   353
    """;
fu@3661
   354
mark@1830
   355
    $this->print_module_section("three");
fu@3661
   356
    print safe """<div class="page-top"><a href="#">$*text_page_top</a></div>""";
mark@1830
   357
    """
fu@3661
   358
        </div></div>
mark@1830
   359
    """;
mark@1830
   360
    $this->print_wrapper_end();
mark@1830
   361
    """
mark@1830
   362
    </html>
mark@1830
   363
    """;
mark@1830
   364
}
mark@1830
   365
mark@1830
   366
# so that the decorative background image will show up
mark@1830
   367
function TagsPage::print_navigation( string{} opts )  {
mark@1830
   368
    """
mark@1830
   369
    <div class="navigation $opts{"class"}">
mark@1830
   370
        <div class="inner">
mark@1830
   371
        </div><!-- navigation>inner -->
mark@1830
   372
    </div><!-- navigation -->
mark@1830
   373
    """;
mark@1830
   374
}
mark@1830
   375
mark@1830
   376
function TagsPage::print_body
mark@1830
   377
{
mark@1830
   378
    $this->print_navigation( { "class" => "topnav" } );
mark@1830
   379
    print safe "<div class='tags-container'><h2>$*text_tags_page_header</h2>";
mark@1830
   380
mark@1830
   381
    if ($*tags_page_type == "multi") {
mark@1830
   382
        print_multilevel_tags($.tags, { "list-class" => "ljtaglist tags_multilevel", "print_uses" => $*tags_page_count_type });
mark@1830
   383
        print_tag_manage_link();
mark@1830
   384
    }
mark@1830
   385
    elseif ($*tags_page_type == "cloud") {
mark@1830
   386
        print_cloud_tags($.tags, { "list-class" => "ljtaglist tags_cloud", "print_uses" => $*tags_page_count_type });
mark@1830
   387
        print_tag_manage_link();
mark@1830
   388
    }
mark@1830
   389
    else {
mark@1830
   390
        print_list_tags($.tags, { "list-class" => "ljtaglist tags_list", "print_uses" => $*tags_page_count_type });
mark@1830
   391
        print_tag_manage_link();
mark@1830
   392
    }
mark@1830
   393
    
mark@1830
   394
    print safe "</div>";
mark@1830
   395
    $this->print_navigation( { "class" => "bottomnav" } );
mark@1830
   396
}
mark@1830
   397
fu@4213
   398
# so that the decorative background image will show up
fu@4213
   399
function IconsPage::print_navigation( string{} opts ) {
fu@4213
   400
    """
fu@4213
   401
    <div class="navigation $opts{"class"}">
fu@4213
   402
        <div class="inner">
fu@4213
   403
        </div><!-- navigation>inner -->
fu@4213
   404
    </div><!-- navigation -->
fu@4213
   405
    """;
fu@4213
   406
}
fu@4213
   407
fu@4213
   408
function IconsPage::print_body {
fu@4213
   409
    $this->print_navigation( { "class" => "topnav" } );
fu@4213
   410
    """<div class='icons-container'>\n<div class="inner">\n""";
fu@4213
   411
    """<div class="header">\n<div class="inner">\n""";
fu@4213
   412
    print safe "<h2>$*text_icons_page_header</h2>";
fu@4213
   413
    "</div>\n</div>\n";
fu@4213
   414
    """<div class="contents">\n<div class="inner">\n""";
fu@4213
   415
    """<div class="sorting-options">\n<ul>\n""";
fu@4213
   416
    var int sort_ct = 0;
fu@4213
   417
    foreach var string k ($.sort_keyseq) {
fu@4213
   418
        var string text = lang_icon_sortorder_title($k);
fu@4213
   419
        if ( $k == $.sortorder ) {
fu@4213
   420
            print safe """<li class='$k active'>$text""";
fu@4213
   421
        } else {
fu@4213
   422
            print safe """<li class='$k'><a href='$.sort_urls{$k}'>$text</a>""";
fu@4213
   423
        }
fu@4213
   424
        if ( (++$sort_ct) < size $.sort_keyseq) { print $*text_default_separator; }
fu@4213
   425
        "</li>\n";
fu@4213
   426
    }
fu@4213
   427
    "</ul>\n</div>\n";
fu@4213
   428
    $.pages->print({ "class" => "icon-pages toppages" });
fu@4213
   429
    foreach var Icon i ($.icons) {
fu@4213
   430
        $i->print();
fu@4213
   431
    }
fu@4213
   432
    $.pages->print({ "class" => "icon-pages bottompages" });
fu@4213
   433
    "</div>\n</div>\n";
fu@4213
   434
    """<div class="footer">\n<div class="inner">\n""";
fu@4213
   435
    $this->print_icon_manage_link();
fu@4213
   436
    "</div>\n</div>\n";
fu@4213
   437
    "</div>\n</div>\n";
fu@4213
   438
    $this->print_navigation( { "class" => "bottomnav" } );
fu@4213
   439
}
fu@4213
   440
mark@1830
   441
function generate_background_css_flipped (
mark@1830
   442
    string background_image, 
mark@1830
   443
    string background_image_repeat, 
mark@1830
   444
    string background_image_position,
mark@1830
   445
    Color background_color
mark@1830
   446
) : string 
mark@1830
   447
"Same as generate_background_css, but uses a flipped version of the image."
mark@1830
   448
{
mark@1830
   449
    var string background_css = generate_background_css( $background_image, $background_image_repeat,
mark@1830
   450
        $background_image_position, $background_color );
mark@1830
   451
    return $background_css->replace( ".gif", "-REDUX.gif" );
mark@1830
   452
}
mark@1830
   453
mark@1830
   454
function Page::print_default_stylesheet () {
mark@1830
   455
mark@1830
   456
    var string[] path_components = $*image_background_entry_url->split("/");
mark@1830
   457
    var string image_base = $path_components[size($path_components)-1];
mark@1830
   458
    var string theme_base_color =  $image_base->substr(0, $image_base->index("_"));
mark@1830
   459
fu@2977
   460
    var string page_font = generate_font_css("", $*font_base, $*font_fallback, $*font_base_size, $*font_base_units );
fu@3021
   461
    var string journal_title_font = generate_font_css($*font_journal_title, $*font_base, $*font_fallback, $*font_journal_title_size, $*font_journal_title_units);
fu@2977
   462
    var string entry_title_font = generate_font_css($*font_entry_title, $*font_base, $*font_fallback, $*font_entry_title_size, $*font_entry_title_units);
fu@3057
   463
    var string comment_title_font = generate_font_css($*font_comment_title, $*font_base, $*font_fallback, $*font_comment_title_size, $*font_comment_title_units);
fu@3057
   464
    var string module_title_font = generate_font_css($*font_module_heading, $*font_base, $*font_fallback, $*font_module_heading_size, $*font_module_heading_units);
fu@2977
   465
    var string module_font = generate_font_css($*font_module_text, $*font_base, $*font_fallback, $*font_module_text_size, $*font_module_text_units);
mark@1830
   466
mark@1830
   467
    var string page_background = generate_background_css( $*image_background_page_url, $*image_background_page_repeat, $*image_background_page_position, $*color_page_background );
mark@1830
   468
mark@1830
   469
    var string header_background = generate_background_css( $*image_background_header_url, $*image_background_header_repeat, $*image_background_header_position, $*color_header_background );
mark@1830
   470
mark@1830
   471
    if ($*image_background_header_height > 0) {
mark@1830
   472
        $header_background = """
mark@1830
   473
            $header_background
mark@1830
   474
            height: """ + $*image_background_header_height + """px;""";
mark@1830
   475
    }
mark@1830
   476
mark@1830
   477
    var string container_background = generate_background_css( $*image_background_container_url, $*image_background_container_repeat, "right", $*color_footer_background );
mark@1830
   478
    var string container_background_redux = generate_background_css_flipped( $*image_background_container_url, $*image_background_container_repeat, "left", $*color_footer_background );
mark@1830
   479
mark@1830
   480
    var string footer_background = generate_background_css( $*image_background_footer_url, $*image_background_footer_repeat, $*image_background_footer_position, $*color_footer_background );
mark@1830
   481
    if ($*image_background_header_height > 0) {
mark@1830
   482
        $footer_background = """
mark@1830
   483
            $footer_background
mark@1830
   484
            height: """ + $*image_background_header_height + """px;""";
mark@1830
   485
    }
mark@1830
   486
mark@1830
   487
mark@1830
   488
    var string page_link_colors = generate_color_css($*color_page_link, new Color, new Color);
mark@1830
   489
    var string page_link_hover_colors = generate_color_css($*color_page_link_hover, new Color, new Color);
mark@1830
   490
    var string page_link_visited_colors = generate_color_css($*color_page_link_visited, new Color, new Color);
mark@1830
   491
mark@1830
   492
    var string container_colors = generate_color_css( $*color_page_text, $*color_module_background, new Color );
mark@1830
   493
    var string content_colors = generate_color_css( new Color, $*color_page_border, new Color );
mark@1830
   494
mark@1830
   495
    var string page_text_colors = generate_color_css($*color_page_text, new Color, new Color);
mark@1830
   496
    var string page_details_text_colors = generate_color_css($*color_page_details_text, new Color, new Color );
mark@1830
   497
    var string page_title_colors = generate_color_css($*color_page_title, new Color, new Color);
mark@1830
   498
    var string header_colors = generate_color_css($*color_page_title, $*color_header_background, new Color);
mark@1830
   499
    var string header_footer_colors = generate_color_css($*color_footer_link, new Color, new Color);
mark@1830
   500
    var string header_footer_hover_colors = generate_color_css($*color_footer_link_hover, $*color_footer_background, new Color);
mark@1830
   501
    var Color header_bottom_color = $*color_header_background->darker();
mark@1830
   502
mark@1830
   503
    var string module_colors = generate_color_css( new Color, $*color_module_background, new Color );
mark@1830
   504
    var string module_box_background = generate_background_css( $*image_background_module_url, $*image_background_module_repeat, $*image_background_module_position, new Color );
mark@1830
   505
    var string module_box_colors = generate_color_css( $*color_module_text, new Color, new Color );
mark@1830
   506
    var string module_link_colors = generate_color_css( $*color_module_link, new Color, new Color );
mark@1830
   507
    var string module_title_colors = generate_color_css( $*color_module_title, new Color, new Color );
mark@1830
   508
mark@1830
   509
mark@1830
   510
    var string entry_background = generate_background_css( $*image_background_entry_url, $*image_background_entry_repeat, "right", $*color_entry_background );
mark@1830
   511
    var string entry_background_redux = generate_background_css_flipped( $*image_background_entry_url, $*image_background_entry_repeat, "left", $*color_entry_background );
mark@1830
   512
mark@1830
   513
    var string entry_colors = generate_color_css( $*color_entry_text, $*color_entry_background, new Color );
mark@1830
   514
    var string entry_title_colors = generate_color_css($*color_entry_title, $*color_entry_title_background, new Color);
mark@1830
   515
    var string blockquote_colors = generate_color_css(new Color,$*color_entry_background->darker(), new Color);
mark@1830
   516
    var string entry_metadata_color = generate_color_css($*color_entry_metadata_text, new Color, new Color);
mark@1830
   517
    
mark@1830
   518
    var string navigation_background = generate_background_css($*image_background_navigation_url, $*image_background_navigation_repeat, "right top", $*color_entry_background);
mark@1830
   519
    var string navigation_background_redux = generate_background_css_flipped($*image_background_navigation_url, $*image_background_navigation_repeat, "left top", $*color_entry_background);
mark@1830
   520
mark@1830
   521
    var string navigation_colors = generate_color_css($*color_page_details_text, $*color_entry_background, new Color);
mark@1830
   522
fu@3482
   523
fu@3482
   524
    var string entry_userpic_shift = "";
fu@3482
   525
    if ( $*entry_userpic_style == "" ) { $entry_userpic_shift = "-66px"; }
fu@3482
   526
    elseif ( $*entry_userpic_style == "small" ) { $entry_userpic_shift = "-50px"; }
fu@3482
   527
    elseif ( $*entry_userpic_style == "smaller" ) { $entry_userpic_shift = "-33px"; }
fu@3482
   528
fu@3482
   529
    var string comment_userpic_shift = "";
fu@3482
   530
    if ( $*comment_userpic_style == "" ) { $comment_userpic_shift = "-66px"; }
fu@3482
   531
    elseif ( $*comment_userpic_style == "small" ) { $comment_userpic_shift = "-50px"; }
fu@3482
   532
    elseif ( $*comment_userpic_style == "smaller" ) { $comment_userpic_shift = "-33px"; }
fu@3482
   533
fu@3482
   534
fu@3482
   535
    var string entry_title_margin = "";
fu@3482
   536
    if ( $*entry_userpic_style == "" ) { $entry_title_margin = "120px"; }
fu@3482
   537
    elseif ( $*entry_userpic_style == "small" ) { $entry_title_margin = "95px"; }
fu@3482
   538
    elseif ( $*entry_userpic_style == "smaller" ) { $entry_title_margin = "70px"; }
fu@3482
   539
fu@3482
   540
    var string comment_title_margin = "";
fu@3482
   541
    if ( $*comment_userpic_style == "" ) { $comment_title_margin = "120px"; }
fu@3482
   542
    elseif ( $*comment_userpic_style == "small" ) { $comment_title_margin = "95px"; }
fu@3482
   543
    elseif ( $*comment_userpic_style == "smaller" ) { $comment_title_margin = "70px"; }
fu@3482
   544
fu@2584
   545
    var string entryicon_css = "";
fu@2584
   546
        if ($*entryicons_position == "same") {
fu@2584
   547
            $entryicon_css = """
fu@3533
   548
            .two-columns-right .has-userpic .entry .header { margin-right: $entry_title_margin; }
fu@3533
   549
            .two-columns-right .has-userpic .comment .header { margin-right: $comment_title_margin; }
fu@3482
   550
fu@3533
   551
            .two-columns-left .has-userpic .entry .header { margin-left: $entry_title_margin; }
fu@3533
   552
            .two-columns-left .has-userpic .comment .header,
fu@3533
   553
            .two-columns-left .has-userpic .comment .poster {
fu@3533
   554
                margin-left: $comment_title_margin;
fu@3533
   555
                }
fu@3482
   556
fu@2584
   557
            .two-columns-right .entry .userpic a, 
fu@2584
   558
            .two-columns-right .comment .userpic a { right: 10px; left: auto; }
fu@2584
   559
            .two-columns-left .entry .userpic a, 
fu@2584
   560
            .two-columns-left .comment .userpic a { left: 10px; right: auto; }
fu@2584
   561
            """;
fu@2584
   562
        }
fu@2584
   563
        elseif ($*entryicons_position == "opposite") {
fu@2584
   564
            $entryicon_css = """
fu@3533
   565
            .two-columns-right .has-userpic .entry .header { margin-left: $entry_title_margin; }
fu@3533
   566
            .two-columns-right .has-userpic .comment .header,
fu@3533
   567
            .two-columns-right .has-userpic .comment .poster {
fu@3533
   568
                margin-left: $comment_title_margin;
fu@3533
   569
                }
fu@3482
   570
fu@3533
   571
            .two-columns-left .has-userpic .entry .header { margin-right: $entry_title_margin; }
fu@3533
   572
            .two-columns-left .has-userpic .comment .header { margin-right: $comment_title_margin; }
fu@3482
   573
fu@2584
   574
            .two-columns-right .entry .userpic a, 
fu@2584
   575
            .two-columns-right .comment .userpic a { left: 10px; right: auto; }
fu@2584
   576
            .two-columns-left .entry .userpic a, 
fu@2584
   577
            .two-columns-left .comment .userpic a { right: 10px; left: auto; }
fu@2584
   578
            """;
fu@2584
   579
        }
fu@2584
   580
mark@1830
   581
    """
mark@1830
   582
/*
mark@1830
   583
Theme Name:    Skittlish Dreams, a DW port of Skittlish
mark@1830
   584
Description:   A candy coloured theme. Comes in 7 flavors (orange, blue, green, pink, cyan, red, violet).
mark@1830
   585
Version:1.0 Dreamwidth
mark@1830
   586
original designer: Damien Tanner
mark@1830
   587
mephisto (original): Cristi Balan
mark@1830
   588
wordpress port: A.M. Griffin
mark@1830
   589
pmwiki port: Dave G
mark@1830
   590
dw port: Kaigou H.
mark@1830
   591
all versions released under CCL
mark@1830
   592
mark@1830
   593
changes for dreamwidth port: 
mark@1830
   594
--- rewrote css to fit dw classes
mark@1830
   595
--- reduced image load to three images
mark@1830
   596
--- removed js functionality for color-switching
mark@1830
   597
--- converted font-sizes to ems from px
mark@1830
   598
--- changed layout to flexible-width only
mark@1830
   599
*/
mark@1830
   600
mark@1830
   601
html {margin: 0px; padding: 0px; font-size: 100%; /* IE hack */}
mark@1830
   602
* {box-sizing:border-box; -moz-box-sizing:border-box}
mark@1830
   603
mark@1830
   604
a, a:link, a:active { $page_link_colors text-decoration: none; }
mark@1830
   605
a:visited { $page_link_visited_colors  }
mark@1830
   606
a:hover {  $page_link_hover_colors text-decoration: underline; }
mark@1830
   607
fu@2217
   608
q { font-style: italic; }
fu@2217
   609
mark@1830
   610
body { $page_background $page_font margin: 0; padding: 0; }
fu@3552
   611
fu@3552
   612
html body {
fu@3552
   613
    margin-left: $*margins_size$*margins_unit;
fu@3552
   614
    margin-right: $*margins_size$*margins_unit;
fu@3552
   615
    }
fu@3552
   616
mark@1830
   617
.two-columns-right #container { $container_background }
mark@1830
   618
.two-columns-left #container { $container_background_redux }
mark@1830
   619
.two-columns-right #container, .two-columns-left #container { $container_colors margin: 0 4%; }
mark@1830
   620
mark@1830
   621
#header { $header_background $header_footer_colors  padding: 0; }
mark@1830
   622
.two-columns-right #header { margin: 0 5px 0 0; }
mark@1830
   623
.two-columns-left #header { margin: 0 0 0 5px; text-align: right; }
mark@1830
   624
#footer {margin: 0 4%; padding: 0; background:transparent;}
mark@1830
   625
.two-columns-right #footer { $container_background }
mark@1830
   626
.two-columns-left #footer { $container_background_redux }
mark@1830
   627
#header a, #footer a { $header_footer_colors text-decoration: none; }
mark@1830
   628
mark@1830
   629
h1, h2, h3, h4 {font-weight: 700; font-variant: normal; letter-spacing: 0.08em; }
mark@1830
   630
#header h1 {margin: 0; padding: 20px  20px  0  2em; $journal_title_font font-weight: lighter; font-variant: normal; text-transform: lowercase; letter-spacing: 0.2em; }
mark@1830
   631
#header h2 {padding: 0 2em; $page_title_colors }
mark@1830
   632
mark@1830
   633
#wrap { $page_text_colors }
fu@2994
   634
.two-columns-right #wrap {padding-right: $*sidebar_width; padding-top: 20px; padding-left:  20px;}
fu@2994
   635
.two-columns-left #wrap  {padding-left: $*sidebar_width; padding-top: 20px; padding-right: 20px;}
mark@1830
   636
#content {position: relative; width: 100%; padding-bottom: 20px; $content_colors}
mark@1830
   637
.two-columns-right #content {margin: 0 -5px 0 0; float: left;}
mark@1830
   638
.two-columns-left #content {margin: 0 0 0 -5px; float: right;}
mark@1830
   639
fu@4213
   640
.tags-container,
fu@4213
   641
.icons-container {
fu@4213
   642
    background-color: $*color_entry_background;
fu@4213
   643
    color: $*color_entry_text;
fu@4213
   644
    margin-top: 10px;
fu@4213
   645
    padding: 10px;
fu@4213
   646
    }
fu@4213
   647
fu@4213
   648
.tags-container a,
fu@4213
   649
.icons-container a {
fu@4213
   650
    color: $*color_entry_link;
fu@4213
   651
    }
fu@4213
   652
fu@4213
   653
.tags-container a:visited,
fu@4213
   654
.icons-container a:visited {
fu@4213
   655
    color: $*color_entry_link_visited;
fu@4213
   656
    }
fu@4213
   657
fu@4213
   658
.tags-container a:hover,
fu@4213
   659
.icons-container a:hover {
fu@4213
   660
    color: $*color_entry_link_hover;
fu@4213
   661
    }
fu@4213
   662
fu@4213
   663
.tags-container a:active,
fu@4213
   664
.icons-container a:active {
fu@4213
   665
    color: $*color_entry_link_active;
fu@4213
   666
    }
fu@4213
   667
fu@4213
   668
.two-columns-right.page-tags #wrap,
fu@4213
   669
.two-columns-right.page-icons #wrap {
fu@4213
   670
    margin-left: 20px;
fu@4213
   671
    }
fu@4213
   672
fu@4213
   673
.two-columns-left.page-tags #wrap,
fu@4213
   674
.two-columns-left.page-icons #wrap {
fu@4213
   675
    margin-right: 20px;
fu@4213
   676
    }
mark@1830
   677
mark@1830
   678
.module-section-one .inner {border-bottom:2px solid $header_bottom_color;}
mark@1830
   679
.two-columns-right .module-section-one .inner {text-align: right;}
mark@1830
   680
.two-columns-left .module-section-one .inner {text-align: left;}
mark@1830
   681
.two-columns-right .module-section-one {margin-right:5px;}
mark@1830
   682
.two-columns-left .module-section-one {margin-left:5px;}
mark@1830
   683
fu@2994
   684
.module-section-two { $module_colors position: relative; width: $*sidebar_width;}
fu@2994
   685
.two-columns-right .module-section-two {float: left; margin-right: -$*sidebar_width; /* <--- IMPORTANT */}
fu@2994
   686
.two-columns-left .module-section-two {float: right; margin-left: -$*sidebar_width; /* <--- IMPORTANT */}
mark@1830
   687
.module-section-two .module { $module_box_background $module_box_colors margin: 20px; padding: 10px; }
mark@1830
   688
.two-columns-right .module-section-two .module {margin-left: 10px;}
mark@1830
   689
.two-columns-left .module-section-two .module {margin-right: 10px;}
mark@1830
   690
fu@3663
   691
.module-section-one ul {
fu@3663
   692
    $header_colors
fu@3663
   693
    margin: 0;
fu@3663
   694
    padding: 0 20px;
fu@3663
   695
    }
fu@3663
   696
fu@3663
   697
.module-section-one li {
fu@3663
   698
    display: inline;
fu@3663
   699
    line-height: 2.2em;
fu@3663
   700
    list-style: none;
fu@3663
   701
    }
fu@3663
   702
mark@1830
   703
.module-section-one li a {text-decoration: none; padding-top: 0.5em; padding-right: 20px; padding-bottom: 0.5em; padding-left: 20px; $header_colors }
mark@1830
   704
.module-section-one ul li a:hover, .module-section-one ul li a.current { $header_footer_hover_colors }
mark@1830
   705
.module-section-two a { $module_link_colors }
mark@1830
   706
.module-section-two .module-header a {text-decoration: none; }
fu@2209
   707
.module-section-two h2 {margin: 0; margin-bottom: 7px; padding: 0.2em; $module_title_colors }
mark@1830
   708
.module-section-two ul {list-style-type: none; margin-left: 0.5em; padding: 0; }
mark@1830
   709
.module-section-two ul ul {list-style-type: none; margin-left: 0.5em; padding: 0.5em; }
mark@1830
   710
.module-userprofile .userpic img {border: none; margin: 20px; }
mark@1830
   711
.module-userprofile .userpic {text-align: center; }
mark@1830
   712
.module-userprofile ul {margin: 0px; padding: 0px; text-align: center; margin-top: 5px; }
mark@1830
   713
.module-userprofile p {margin-top: 0px; margin-bottom: 0px; }
mark@1830
   714
.module-userprofile li {display: inline; padding: 5px; list-style: none; }
mark@1830
   715
.module-calendar .module-content {text-align: center; }
mark@1830
   716
.module-calendar table {margin-left: auto; margin-right: auto; }
mark@1830
   717
fu@2209
   718
.module h2 {
fu@2209
   719
    $module_title_font
fu@2209
   720
}
fu@2209
   721
fu@2209
   722
.module-content {
fu@2209
   723
    $module_font
fu@2209
   724
}
fu@2209
   725
mark@1830
   726
.two-columns-right #entries, 
mark@1830
   727
.two-columns-right.page-entry .entry-wrapper, 
mark@1830
   728
.two-columns-right.page-entry #comments, 
mark@1830
   729
.two-columns-right.page-archive .year, 
mark@1830
   730
.two-columns-right #archive-month {padding-right:22px; margin:-20px 5px -20px -20px; padding-left:5px; border-left: solid 1px $*color_page_border; $entry_background }
mark@1830
   731
.two-columns-left #entries, 
mark@1830
   732
.two-columns-left.page-entry .entry-wrapper, 
mark@1830
   733
.two-columns-left.page-entry #comments, 
mark@1830
   734
.two-columns-left.page-archive .year, 
mark@1830
   735
.two-columns-left #archive-month {padding-left:22px; margin:-20px -20px -20px 5px; padding-right:5px; border-right: solid 1px $*color_page_border; $entry_background_redux }
mark@1830
   736
mark@1830
   737
.page-entry .entry-wrapper {margin-top:0;}
mark@1830
   738
mark@1830
   739
.two-columns-right.page-reply #content, .two-columns-right.page-reply #postform { $navigation_background }
mark@1830
   740
.two-columns-right.page-reply #postform { background-position: right bottom; }
mark@1830
   741
.two-columns-left.page-reply #content, .two-columns-left.page-reply #postform { $navigation_background_redux } .two-columns-left.page-reply #postform { background-position: left bottom; }
mark@1830
   742
.page-reply .entry { border-bottom: solid 2px $*color_page_border}
mark@1830
   743
mark@1830
   744
.entry, .comment, .text_noentries_day {padding: 10px; margin-top: 76px; position: relative; margin-bottom: 10px; border-top: solid 2px $*color_page_border; $entry_colors}
mark@1830
   745
.entry, .comment, .text_noentries_day, .page-reply .talkform  {margin-left:2em;}
mark@1830
   746
mark@1830
   747
.page-entry .entry, .page-entry .comment, .page-entry .text_noentries_day {border:0px;}
mark@1830
   748
.page-entry #comments {padding-top:20px;}
mark@1830
   749
fu@3057
   750
.comment-title {
fu@3057
   751
    $comment_title_font
fu@3057
   752
    }
fu@3057
   753
kareila@2543
   754
.comment-title h4 {
kareila@2543
   755
    font-size: inherit;
kareila@2543
   756
    font-weight: inherit;
fu@2563
   757
    margin: 0;
fu@2563
   758
    padding: 0;
kareila@2543
   759
}
kareila@2543
   760
fu@3533
   761
.entry-title, .comment-title {
fu@3533
   762
    border: solid 1px $*color_entry_title_border;
fu@3533
   763
    margin: 0 0 .5em;
fu@3533
   764
    padding: .2em;
fu@3533
   765
    $entry_title_colors
fu@3533
   766
    }
fu@2209
   767
fu@2209
   768
.entry .entry-title {
fu@2209
   769
    $entry_title_font
fu@2209
   770
}
fu@2209
   771
mark@1830
   772
.entry-wrapper-even .entry-title, .comment-wrapper-even .comment-title {border: solid 1px $*color_entry_title_border_alt; $entry_title_colors }
mark@1830
   773
mark@1830
   774
.userpic a {background-color: $*color_page_border; border: 0px; }
fu@3482
   775
.entry .userpic a, .comment .userpic a {background-color: $*color_entry_background; border: solid 2px $*color_page_border; display: block; position: absolute; padding: 5px; }
fu@3482
   776
fu@3482
   777
.entry .userpic a {
fu@3482
   778
    top: $entry_userpic_shift;
fu@3482
   779
    }
fu@3482
   780
fu@3482
   781
.comment .userpic a {
fu@3482
   782
    top: $comment_userpic_shift;
fu@3482
   783
    }
mark@1830
   784
mark@1830
   785
.entry .userpic img, .comment .userpic img {border: none; }
mark@1830
   786
.no-userpic .comment {margin-top: 20px; }
mark@1830
   787
.no-userpic .comment-title {margin: 0px; }
mark@1830
   788
mark@1830
   789
.entry .time, .entry .date {padding: 0.2em; display: inline-block; }
mark@1830
   790
.entry-content, .comment-content {padding: 10px 0px; }
mark@1830
   791
mark@1830
   792
p {margin-top: .5em; margin-bottom: 0.5em; }
mark@1830
   793
blockquote {margin: 1em; padding: 1em; $blockquote_colors }
mark@1830
   794
mark@1830
   795
.tag {font-weight: bold; text-align: left; }
mark@1830
   796
.tag a {font-weight: normal; }
mark@1830
   797
.tag ul {display: inline; margin: 0; padding: 0; }
mark@1830
   798
.tag li {display: inline; list-style: none; padding: 0px; }
mark@1830
   799
*+html .tag li {padding: 0 5px; }
mark@1830
   800
fu@2358
   801
.entry .metadata.top-metadata { padding-top: 10px; }
mark@1830
   802
.entry .metadata ul {margin: 0px; padding: 0px; }
mark@1830
   803
.entry .metadata li {list-style: none; }
mark@1830
   804
.entry .footer .inner, .comment .footer .inner {text-align: right; }
mark@1830
   805
.entry .footer a {white-space: nowrap; }
mark@1830
   806
mark@1830
   807
.entry-management-links, .entry-interaction-links, .comment-management-links, .comment-interaction-links {text-align: right; margin: 0; padding: 0; display: inline; }
mark@1830
   808
.entry-management-links li, .entry-interaction-links li,  .comment-management-links li, .comment-interaction-links li {display: inline; list-style: none; margin: 0; padding: 5px; }
fu@3280
   809
.comment-management-links li.unscreen_comment a, .comment-management-links li.screen_comment a, .comment-management-links li.freeze_thread a { padding-left: 0; }""";
fu@3280
   810
fu@3280
   811
if ( $*use_action_links_images ) {
fu@3280
   812
""".entry-management-links li a, .comment-management-links li a, .comment-interaction-links .thread a {background-repeat: no-repeat; background-position: 0% 50%; padding-left: 18px; }
fu@3280
   813
mark@1830
   814
.entry-management-links .edit_entry a, .comment-management-links .delete_comment a, .comment-management-links .edit_comment a {background-image: url($*STATDIR/skittlishdreams/${theme_base_color}_edit.png); }
mark@1830
   815
.entry-management-links .edit_tags a, .comment-interaction-links .parent a {background-image: url($*STATDIR/skittlishdreams/${theme_base_color}_tag.png); }
mark@1830
   816
.entry-management-links .mem_add a {background-image: url($*STATDIR/skittlishdreams/${theme_base_color}_add.png); }
mark@1830
   817
.entry-management-links .watch_comments a, .comment-management-links .watch_thread a {background-image: url($*STATDIR/skittlishdreams/${theme_base_color}_track.png); }
mark@1830
   818
.entry-management-links .link_prev a {background-image: url($*STATDIR/skittlishdreams/${theme_base_color}_arrow_left.png); }
mark@1830
   819
.entry-management-links .link_next a {background-image: url($*STATDIR/skittlishdreams/${theme_base_color}_arrow_right.png); }
mark@1830
   820
.entry-management-links .tell_friend a {background-image: url($*STATDIR/skittlishdreams/${theme_base_color}_tell.png);}
mark@1830
   821
.entry-interaction-links .entry-readlink a, .entry-interaction-links .entry-permalink a { background-image: url($*STATDIR/skittlishdreams/${theme_base_color}_comments.png); }
fu@3280
   822
.entry-interaction-links li a, .comment-interaction-links li a { background-image: url($*STATDIR/skittlishdreams/${theme_base_color}_comment.png); background-repeat: no-repeat; background-position: 0% 50%; padding-left: 18px;  display: inline; }""";
fu@3280
   823
}
mark@1830
   824
fu@3280
   825
"""
mark@1830
   826
.entry .footer hr {display: none; }
mark@1830
   827
.entry .metadata-label {font-weight: bold; }
fu@2663
   828
.full .comment-poster {display: inline-block; min-width: 40%; }
mark@1830
   829
mark@1830
   830
#content > hr {display: none; }
mark@1830
   831
mark@1830
   832
.module-section-three a:hover { $header_footer_hover_colors }
mark@1830
   833
.module-section-three .module {padding-left: 20px; }
mark@1830
   834
fu@3661
   835
#footer .inner {
fu@3661
   836
    clear: both;
fu@3661
   837
    $footer_background
fu@3661
   838
    $header_footer_colors
fu@3661
   839
    padding: .5em 1em;
fu@3661
   840
    }
fu@3661
   841
fu@3661
   842
.two-columns-right #footer .inner {
fu@3661
   843
    margin-right: 5px;
fu@3661
   844
    }
fu@3661
   845
fu@3661
   846
.two-columns-left #footer .inner {
fu@3661
   847
    margin-left: 5px;
fu@3661
   848
    }
fu@3661
   849
fu@3661
   850
#footer .inner .inner {
fu@3661
   851
    background: none;
fu@3661
   852
    height: auto;
fu@3661
   853
    margin: 0;
fu@3661
   854
    padding: 0;
fu@3661
   855
    }
fu@3661
   856
fu@3661
   857
#footer .page-top {
fu@3661
   858
    text-align: right;
fu@3661
   859
    }
fu@3661
   860
fu@2605
   861
.module-tags_cloud li, .tags_cloud li { display: inline; list-style-type: none; }
fu@2605
   862
mark@1830
   863
.hfeed .navigation, #archive-year .navigation,  #archive-month .navigation, #archive-day .navigation  {height:61px; margin-bottom:-20px; }
mark@1830
   864
.two-columns-right .hfeed .navigation, 
mark@1830
   865
.two-columns-right #archive-year .navigation,  
mark@1830
   866
.two-columns-right #archive-month .navigation,
mark@1830
   867
.two-columns-right #archive-day .navigation  {margin-right:-22px; $navigation_background }
mark@1830
   868
.two-columns-left .hfeed .navigation, 
mark@1830
   869
.two-columns-left #archive-year .navigation,  
mark@1830
   870
.two-columns-left #archive-month .navigation,
mark@1830
   871
.two-columns-left #archive-day .navigation  {margin-left:-22px; $navigation_background_redux}
mark@1830
   872
fu@4213
   873
.page-tags .navigation,
fu@4213
   874
.page-icons .navigation {
fu@4213
   875
    height: 61px;
fu@4213
   876
    margin-bottom: -10px;
fu@4213
   877
    }
fu@4213
   878
fu@4213
   879
.two-columns-right.page-tags .navigation,
fu@4213
   880
.two-columns-right.page-icons .navigation {
fu@4213
   881
    $navigation_background
fu@4213
   882
    }
fu@4213
   883
fu@4213
   884
.two-columns-left.page-tags .navigation,
fu@4213
   885
.two-columns-left.page-icons .navigation {
fu@4213
   886
    $navigation_background_redux
fu@4213
   887
    }
mark@1830
   888
mark@2190
   889
.two-columns-right .bottomcomment, .two-columns-right .comments-message { $navigation_background }
mark@2190
   890
.two-columns-left .bottomcomment, .two-columns-left .comments-message { $navigation_background_redux }
mark@2190
   891
#comments .bottomcomment, #comments .comments-message {min-height:6em;border-top:4px solid $*color_page_border;text-align:center; background-color: transparent;}
mark@2190
   892
.two-columns-right .bottomcomment, .two-columns-right .comments-message {margin:20px -22px 20px 0;padding-right:30px;}
mark@2190
   893
.two-columns-left .bottomcomment, .two-columns-left .comments-message  {margin:20px 0 20px -22px;padding-left:30px;}
mark@1830
   894
mark@1830
   895
.navigation {margin: 0; padding: 0; text-align: center; $navigation_colors }
mark@1830
   896
.navigation ul {margin: 0; padding: 5px 0 0 0; text-align: center; }
mark@1830
   897
.navigation li {display: inline; padding: 0 5px; }
mark@1830
   898
.navigation .page-back a:before {content: "<--  "; font-size: 0.5em; line-height:2em; letter-spacing: 0.08em; /*vertical-align: 50%; */ padding-right: 1px; }
mark@1830
   899
.navigation .page-forward a:after {content: " -->"; font-size: 0.5em; line-height:2em; letter-spacing: 0.08em; /*vertical-align: 50%; */ padding-left: 1px; }
mark@1830
   900
#archive-year .navigation, #archive-month .navigation  {height:61px;text-align:center;}
mark@1830
   901
.two-columns-right #archive-year .navigation  {margin:-20px 5px -20px -20px; border-left: solid 1px $*color_page_border;}
mark@1830
   902
.two-columns-left #archive-year .navigation  {margin:-20px -20px -20px 5px;border-right: solid 1px $*color_page_border;}
mark@1830
   903
.two-columns-right #archive-month .navigation   {margin:0 -22px 0 0;}
mark@1830
   904
.two-columns-left #archive-month .navigation   {margin:0 0 0 -22px;}
mark@1830
   905
fu@4213
   906
.page-tags #content h2,
fu@4213
   907
.page-icons #content h2 {
fu@4213
   908
    $entry_colors
fu@4213
   909
    border: solid 1px $*color_page_border;
fu@4213
   910
    font-size: 1.2em;
fu@4213
   911
    margin: 0;
fu@4213
   912
    margin-bottom: 20px;
fu@4213
   913
    padding: .2em;
fu@4213
   914
    }
fu@4213
   915
fu@4213
   916
.two-columns-right.page-tags #content h2,
fu@4213
   917
.two-columns-right.page-icons #content h2 {
fu@4213
   918
    margin-right: 10px;
fu@4213
   919
    }
fu@4213
   920
fu@4213
   921
.two-columns-left.page-tags #content h2,
fu@4213
   922
.two-columns-left.page-icons #content h2 {
fu@4213
   923
    margin-left: 10px;
fu@4213
   924
    }
mark@1830
   925
mark@1830
   926
#archive-month dt {font-weight: bold; }
mark@1830
   927
.two-columns-right #archive-month .entry-title {display: inline-block; margin:0 0 .5em 0; padding-left: 5px; }
mark@1830
   928
.two-columns-left #archive-month .entry-title {display: inline-block; margin:0 0 .5em 0; padding-right: 5px; }
mark@1830
   929
mark@1830
   930
.month-wrapper, #archive-month dl {padding:10px;position:relative;background-color:$*color_entry_background;}
mark@1830
   931
.two-columns-right .month-wrapper, .two-columns-right #archive-month dl {margin: 20px 2em 20px 3em;}
mark@1830
   932
.two-columns-left .month-wrapper, .two-columns-left #archive-month dl   {margin: 20px 3em 20px 2em; }
mark@1830
   933
mark@1830
   934
.month-wrapper h3 {padding: 0.2em; margin: 0; border-top: solid 2px $*color_page_border; $entry_title_colors font-size: 1.2em; margin-bottom: 20px; }
mark@1830
   935
.month caption {display: none; }
mark@1830
   936
.month .day span, .month .day p {padding: 0; margin: 0; }
mark@1830
   937
.month .day p {margin-top: 4px; margin-bottom: -4px; }
mark@1830
   938
.month .day, .month th {line-height: 2em; vertical-align: text-top; padding: 5px; text-align: center; }
mark@1830
   939
    /* IE only to line up the empty days neatly */ 
mark@1830
   940
    *+html .month .day span, *+html .month th span{vertical-align: 100%; }
mark@1830
   941
.month .day-has-entries {line-height: 1em; }
mark@1830
   942
.month .footer {width: 250px; text-align: center; margin: 10px 0px; }
mark@1830
   943
mark@1830
   944
.text_noentries_day {margin-top: 20px; margin-bottom: 20px; }
mark@1830
   945
mark@1830
   946
#postform {margin-top: 20px; }
mark@1830
   947
#commenttext {width: 95%; }
mark@1830
   948
mark@1830
   949
.metadata-label, .metadata-item, .datetime, .tag, .entry-management-links, .entry-interaction-links {margin-top:.5em; font-weight: lighter; font-variant: normal; text-transform: uppercase; $page_details_text_colors; letter-spacing: 0.08em; display: block; }
mark@1830
   950
.metadata-label-groups, .tag-text {display:none; }
kareila@2613
   951
.metadata-item {color: $*color_entry_metadata_text; }
mark@1830
   952
afuna@1890
   953
.journal-name,
afuna@1890
   954
.journal-website-name {text-align: center; font-size: 1.8em; color: $*color_module_link; line-height: 1.43em; margin-bottom:.3em; font-weight: lighter; font-variant: normal; letter-spacing: .16em; }
afuna@1890
   955
afuna@1890
   956
.journal-name { font-size: 1.8em; }
afuna@1890
   957
.journal-website-name { font-size: 1.6em; } 
mark@1830
   958
fu@2663
   959
.partial .comment-title {
fu@2663
   960
    display: inline;
fu@2663
   961
    margin-right: .2em;
fu@2663
   962
    }
fu@2663
   963
fu@2663
   964
.partial .comment-title h4 {
fu@2663
   965
    display: inline;
fu@2663
   966
    }
fu@2663
   967
fu@2663
   968
.partial .comment-poster:before {
fu@2663
   969
    content: "- ";
fu@2663
   970
    }
fu@2663
   971
fu@2663
   972
.partial .comment .datetime {
fu@2663
   973
    display: inline;
fu@2663
   974
    }
fu@2663
   975
fu@4213
   976
fu@4213
   977
/*--- Icons Page ---*/
fu@4213
   978
fu@4213
   979
.sorting-options ul {
fu@4213
   980
    list-style: none;
fu@4213
   981
    padding-left: 0;
fu@4213
   982
    text-align: center;
fu@4213
   983
    }
fu@4213
   984
fu@4213
   985
.sorting-options ul li {
fu@4213
   986
    display: inline;
fu@4213
   987
    }
fu@4213
   988
fu@4213
   989
.page-icons .comment {
fu@4213
   990
    background: transparent;
fu@4213
   991
    border: none;
fu@4213
   992
    margin: 0;
fu@4213
   993
    padding: 0;
fu@4213
   994
    }
fu@4213
   995
fu@4213
   996
.page-icons .icon {
fu@4213
   997
    margin: 1em 0;
fu@4213
   998
    }
fu@4213
   999
fu@4213
  1000
.icon-image {
fu@4213
  1001
    float: left;
fu@4213
  1002
    clear: left;
fu@4213
  1003
    margin-bottom: .25em;
fu@4213
  1004
    min-width: 100px;
fu@4213
  1005
    padding-right: 1em;
fu@4213
  1006
    }
fu@4213
  1007
fu@4213
  1008
.icon-info {
fu@4213
  1009
    min-height: 100px;
fu@4213
  1010
    }
fu@4213
  1011
fu@4213
  1012
.icon-info span {
fu@4213
  1013
    font-weight: bold;
fu@4213
  1014
    }
fu@4213
  1015
fu@4213
  1016
.icon-info .default {
fu@4213
  1017
    text-decoration: underline;
fu@4213
  1018
    }
fu@4213
  1019
fu@4213
  1020
.keywords ul {
fu@4213
  1021
    display: inline;
fu@4213
  1022
    list-style: none;
fu@4213
  1023
    padding-left: 0;
fu@4213
  1024
    }
fu@4213
  1025
fu@4213
  1026
.keywords ul li {
fu@4213
  1027
    display: inline;
fu@4240
  1028
    padding: 0 .25em 0 0;
fu@4213
  1029
    }
fu@4213
  1030
fu@2584
  1031
$entryicon_css
fu@2584
  1032
mark@1830
  1033
    """;
mark@1830
  1034
}