bin/upgrading/s2layers/core2base/layout.s2
author fu
Fri Jan 27 17:59:59 2012 +0800
changeset 4240 5bab31c9f015
parent 4189 9116da4d0096
child 4293 15eb5ea0b2a5
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@476
     1
layerinfo "type" = "layout";
afuna@915
     2
layerinfo "name" = "Tabula Rasa";
mark@476
     3
layerinfo redist_uniq = "core2base/layout";
mark@504
     4
afuna@721
     5
##===============================
afuna@721
     6
## Display settings - general
afuna@721
     7
##===============================
afuna@721
     8
afuna@721
     9
propgroup presentation {
afuna@721
    10
    property use num_items_recent;
afuna@721
    11
    property use num_items_reading;
afuna@721
    12
    property use use_journalstyle_entry_page;
afuna@796
    13
    property use layout_type;
afuna@932
    14
    property use tags_page_type;
afuna@796
    15
    property use sidebar_width;
afuna@796
    16
    property use sidebar_width_doubled;
fu@3604
    17
    property use margins_size;
fu@3604
    18
    property use margins_unit;
fu@3482
    19
    property use userpics_style_group;
fu@2564
    20
    property use userpics_position;
fu@2358
    21
    property use entry_metadata_position;
afuna@1145
    22
    property use use_custom_friend_colors;
fu@2347
    23
    property use use_shared_pic;
fu@2456
    24
    property use userlite_interaction_links;
fu@2456
    25
    property use entry_management_links;
fu@2456
    26
    property use comment_management_links;
fu@4189
    27
    property use reg_firstdayofweek;
fu@3148
    28
    property use entry_datetime_format_group;
fu@3148
    29
    property use comment_datetime_format_group;
afuna@721
    30
}
afuna@721
    31
afuna@796
    32
set sidebar_width = "15em";
afuna@796
    33
set sidebar_width_doubled = "30em";
afuna@796
    34
set layout_type = "one-column";
fu@2564
    35
set userpics_position = "left";
afuna@1145
    36
set use_custom_friend_colors = false;
afuna@1145
    37
set custom_foreground_element = "userpic_border";
afuna@1145
    38
set custom_background_element = "userpic_background";
afuna@796
    39
afuna@721
    40
##===============================
afuna@721
    41
## Journal style - colors
afuna@721
    42
##===============================
afuna@721
    43
afuna@721
    44
propgroup colors {
afuna@721
    45
afuna@721
    46
    property use color_page_background;
afuna@721
    47
    property use color_page_text;
afuna@721
    48
    property use color_page_link;
afuna@814
    49
    property use color_page_link_active;
afuna@814
    50
    property use color_page_link_hover;
afuna@814
    51
    property use color_page_link_visited;
afuna@814
    52
    property use color_page_border;
afuna@721
    53
    property use color_page_title;
mark@1324
    54
    
mark@1324
    55
    property use color_header_background;
mark@1324
    56
    property use color_footer_background;
mark@1324
    57
    property use color_footer_link;
mark@1324
    58
    property use color_footer_link_active;
mark@1324
    59
    property use color_footer_link_hover;
mark@1324
    60
    property use color_footer_link_visited;
afuna@721
    61
afuna@721
    62
    property use color_module_background;
afuna@721
    63
    property use color_module_text;
afuna@814
    64
    property use color_module_link;
afuna@814
    65
    property use color_module_link_active;
afuna@814
    66
    property use color_module_link_hover;
afuna@814
    67
    property use color_module_link_visited;
afuna@721
    68
    property use color_module_border;
afuna@721
    69
    property use color_module_title;
mark@1324
    70
    property use color_module_title_background;
afuna@721
    71
afuna@721
    72
    property use color_entry_background;
afuna@721
    73
    property use color_entry_text;
afuna@814
    74
    property use color_entry_link;
afuna@814
    75
    property use color_entry_link_active;
afuna@814
    76
    property use color_entry_link_hover;
afuna@814
    77
    property use color_entry_link_visited;
afuna@814
    78
    property use color_entry_border;
afuna@721
    79
    property use color_entry_title;
mark@1324
    80
    property use color_entry_title_background;
afuna@721
    81
    property use color_entry_interaction_links;
fu@2959
    82
fu@2959
    83
    property use color_comment_title;
mark@1324
    84
    property use color_comment_title_background;
afuna@721
    85
afuna@721
    86
}
afuna@721
    87
afuna@814
    88
##===============================
afuna@1437
    89
## Display settings - fonts
afuna@1437
    90
##===============================
afuna@1437
    91
afuna@1437
    92
propgroup fonts {
afuna@1437
    93
    property use font_base;
afuna@1437
    94
    property use font_fallback;
afuna@1437
    95
    property use font_base_size;
afuna@1437
    96
    property use font_base_units;
afuna@1437
    97
    property use font_journal_title;
afuna@1437
    98
    property use font_journal_title_size;
afuna@1437
    99
    property use font_journal_title_units;
afuna@1437
   100
    property use font_journal_subtitle;
afuna@1437
   101
    property use font_journal_subtitle_size;
afuna@1437
   102
    property use font_journal_subtitle_units;
afuna@1437
   103
    property use font_entry_title;
afuna@1437
   104
    property use font_entry_title_size;
afuna@1437
   105
    property use font_entry_title_units;
fu@3019
   106
    property use font_comment_title;
fu@3019
   107
    property use font_comment_title_size;
fu@3019
   108
    property use font_comment_title_units;
afuna@1437
   109
    property use font_module_heading;
fu@2209
   110
    property use font_module_heading_size;
afuna@1437
   111
    property use font_module_heading_units;
afuna@1437
   112
    property use font_module_text;
fu@2209
   113
    property use font_module_text_size;
afuna@1437
   114
    property use font_module_text_units;
afuna@1437
   115
}
afuna@1437
   116
afuna@1437
   117
set font_base = "";
afuna@1437
   118
set font_fallback = "";
afuna@1437
   119
set font_base_size = "100";
afuna@1437
   120
set font_base_units = "%";
afuna@1437
   121
afuna@1437
   122
##===============================
afuna@814
   123
## Display settings - images
afuna@814
   124
##===============================
afuna@814
   125
afuna@814
   126
propgroup images {
afuna@814
   127
    property use image_background_page_group;
afuna@814
   128
    property use image_background_header_group;
afuna@814
   129
    property use image_background_header_height;
afuna@814
   130
    property use image_background_entry_group;
afuna@814
   131
    property use image_background_module_group;
afuna@814
   132
}
afuna@814
   133
afuna@721
   134
##===============================
afuna@721
   135
## Display settings - modules
afuna@721
   136
##===============================
afuna@721
   137
mark@689
   138
propgroup modules {
mark@689
   139
    property use module_userprofile_group;
mark@689
   140
    property use module_navlinks_group;
afuna@974
   141
    property use module_customtext_group;
mark@689
   142
    property use module_calendar_group;
mark@689
   143
    property use module_pagesummary_group;
mark@1972
   144
    property use module_active_group;
mark@689
   145
    property use module_tags_group;
mark@689
   146
    property use module_links_group;
mark@689
   147
    property use module_syndicate_group;
mark@689
   148
    property use module_time_group;
mark@689
   149
    property use module_poweredby_group;
mark@1413
   150
    property use module_credit_group;
fu@2382
   151
    property use module_search_group;
fu@3465
   152
    property use module_cuttagcontrols_group;
mark@689
   153
}
afuna@721
   154
mark@689
   155
# explicitly define what sections the layout has available
fu@3699
   156
set module_layout_sections = "none|(none)|one|Main Module Section|two|Second Module Section";
afuna@721
   157
afuna@721
   158
##===============================
afuna@721
   159
## Custom CSS
afuna@721
   160
##===============================
afuna@721
   161
afuna@721
   162
propgroup customcss {
afuna@721
   163
    property use external_stylesheet;
afuna@721
   164
    property use include_default_stylesheet;
afuna@721
   165
    property use linked_stylesheet;
afuna@721
   166
    property use custom_css;
afuna@721
   167
}
afuna@721
   168
afuna@965
   169
propgroup text {
afuna@721
   170
##===============================
afuna@721
   171
## Text - main navigation
afuna@721
   172
##===============================
afuna@721
   173
afuna@965
   174
    property use text_view_recent;
afuna@965
   175
    property use text_view_friends;
afuna@1490
   176
    property use text_view_network;
afuna@965
   177
    property use text_view_archive;
afuna@965
   178
    property use text_view_userinfo;
afuna@965
   179
    property use text_view_memories;
afuna@965
   180
    property use text_view_tags;
afuna@965
   181
afuna@721
   182
##===============================
afuna@721
   183
## Text - entry comment-related
afuna@721
   184
##===============================
afuna@721
   185
afuna@721
   186
    property use text_post_comment;
afuna@721
   187
    property use text_max_comments;
afuna@721
   188
    property use text_read_comments;
afuna@721
   189
    property use text_post_comment_friends;
afuna@721
   190
    property use text_read_comments_friends;
afuna@965
   191
afuna@965
   192
    property use text_skiplinks_back;
afuna@965
   193
    property use text_skiplinks_forward;
fu@2242
   194
    property use text_meta_music;
fu@2242
   195
    property use text_meta_mood;
fu@2242
   196
    property use text_meta_location;
fu@3354
   197
    property use text_meta_xpost;
fu@2242
   198
    property use text_tags;
afuna@965
   199
afuna@965
   200
    property use text_entry_prev;
fu@2242
   201
    property use text_entry_next;
fu@2242
   202
    property use text_edit_entry;
fu@2242
   203
    property use text_edit_tags;
fu@2242
   204
    property use text_tell_friend;
fu@2242
   205
    property use text_mem_add;
fu@2242
   206
    property use text_watch_comments;
fu@2242
   207
    property use text_unwatch_comments;
afuna@965
   208
    property use text_permalink;
afuna@1692
   209
    property use text_stickyentry_subject;
afuna@965
   210
afuna@974
   211
    property use text_module_customtext;
afuna@974
   212
    property use text_module_customtext_content;
afuna@974
   213
    property use text_module_customtext_url;
afuna@721
   214
}
mark@689
   215
mark@504
   216
function Page::print_default_stylesheet() {
afuna@814
   217
    var string page_background = generate_background_css ($*image_background_page_url, $*image_background_page_repeat, $*image_background_page_position, $*color_page_background);
mark@1324
   218
    var string header_background = generate_background_css ($*image_background_header_url, $*image_background_header_repeat, $*image_background_header_position, $*color_header_background);
afuna@814
   219
    if ($*image_background_header_height > 0) {
afuna@814
   220
        $header_background = """
afuna@814
   221
            $header_background
afuna@814
   222
            height: """ + $*image_background_header_height + """px;""";
afuna@814
   223
    }
mark@1324
   224
    
mark@1324
   225
    var string footer_background = generate_background_css( "", "", "", $*color_footer_background );
mark@1324
   226
    var string footer_link_colors = generate_color_css( $*color_footer_link, new Color, new Color );
mark@1324
   227
    var string footer_link_active_colors = generate_color_css( $*color_footer_link_active, new Color, new Color );
mark@1324
   228
    var string footer_link_hover_colors = generate_color_css( $*color_footer_link_hover, new Color, new Color );
mark@1324
   229
    var string footer_link_visited_colors = generate_color_css( $*color_footer_link_visited, new Color, new Color );
mark@1324
   230
afuna@814
   231
    var string entry_background = generate_background_css ($*image_background_entry_url, $*image_background_entry_repeat, $*image_background_entry_position, $*color_entry_background);
afuna@814
   232
    var string module_background = generate_background_css ($*image_background_module_url, $*image_background_module_repeat, $*image_background_module_position, $*color_module_background);
afuna@814
   233
afuna@814
   234
    var string page_colors = generate_color_css($*color_page_text, $*color_page_background, $*color_page_border);
afuna@814
   235
    var string entry_colors = generate_color_css($*color_entry_text, $*color_entry_background, $*color_entry_border);
afuna@814
   236
    var string module_colors = generate_color_css($*color_module_text, $*color_module_background, $*color_module_border);
afuna@814
   237
afuna@814
   238
    var string page_title_colors = generate_color_css($*color_page_title, new Color, new Color);
mark@1324
   239
    var string entry_title_colors = generate_color_css($*color_entry_title, $*color_entry_title_background, new Color);
fu@2959
   240
    var string comment_title_colors = generate_color_css($*color_comment_title, $*color_comment_title_background, new Color);
mark@1324
   241
    var string module_title_colors = generate_color_css($*color_module_title, $*color_module_title_background, new Color);
afuna@814
   242
afuna@814
   243
    var string page_link_colors = generate_color_css($*color_page_link, new Color, new Color);
afuna@814
   244
    var string page_link_active_colors = generate_color_css($*color_page_link_active, new Color, new Color);
afuna@814
   245
    var string page_link_hover_colors = generate_color_css($*color_page_link_hover, new Color, new Color);
afuna@814
   246
    var string page_link_visited_colors = generate_color_css($*color_page_link_visited, new Color, new Color);
afuna@814
   247
afuna@814
   248
    var string entry_link_colors = generate_color_css($*color_entry_link, new Color, new Color);
afuna@814
   249
    var string entry_link_active_colors = generate_color_css($*color_entry_link_active, new Color, new Color);
afuna@814
   250
    var string entry_link_hover_colors = generate_color_css($*color_entry_link_hover, new Color, new Color);
afuna@814
   251
    var string entry_link_visited_colors = generate_color_css($*color_entry_link_visited, new Color, new Color);
afuna@814
   252
    var string entry_interaction_link_colors = generate_color_css($*color_entry_interaction_links, new Color, new Color);
afuna@814
   253
afuna@814
   254
    var string module_link_colors = generate_color_css($*color_module_link, new Color, new Color);
afuna@814
   255
    var string module_link_active_colors = generate_color_css($*color_module_link_active, new Color, new Color);
afuna@814
   256
    var string module_link_hover_colors = generate_color_css($*color_module_link_hover, new Color, new Color);
afuna@814
   257
    var string module_link_visited_colors = generate_color_css($*color_module_link_visited, new Color, new Color);
afuna@814
   258
fu@2977
   259
    var string page_font = generate_font_css("", $*font_base, $*font_fallback, $*font_base_size, $*font_base_units);
fu@2977
   260
    var string page_title_font = generate_font_css($*font_journal_title, $*font_base, $*font_fallback, $*font_journal_title_size, $*font_journal_title_units);
fu@2977
   261
    var string page_subtitle_font = generate_font_css($*font_journal_subtitle, $*font_base, $*font_fallback, $*font_journal_subtitle_size, $*font_journal_subtitle_units);
fu@2977
   262
    var string entry_title_font = generate_font_css($*font_entry_title, $*font_base, $*font_fallback, $*font_entry_title_size, $*font_entry_title_units);
fu@3019
   263
    var string comment_title_font = generate_font_css($*font_comment_title, $*font_base, $*font_fallback, $*font_comment_title_size, $*font_comment_title_units);
fu@2977
   264
    var string module_font = generate_font_css($*font_module_text, $*font_base, $*font_fallback, $*font_module_text_size, $*font_module_text_units);
fu@2977
   265
    var string module_title_font = generate_font_css($*font_module_heading, $*font_base, $*font_fallback, $*font_module_heading_size, $*font_module_heading_units);
afuna@1437
   266
fu@2564
   267
     var string userpic_css = "";
fu@2564
   268
         if ($*userpics_position == "right") {
fu@2564
   269
             $userpic_css = """
fu@2564
   270
             .entry .userpic,
fu@2564
   271
             .comment .userpic {
fu@2564
   272
                 text-align: right;
fu@2564
   273
                 }
fu@2564
   274
             """;
fu@2564
   275
         } 
fu@2564
   276
mark@504
   277
    """
fu@2242
   278
H1, H2, H3 {
fu@2242
   279
    margin: .25em 0;
fu@2242
   280
    padding: .25em 0;
afuna@798
   281
}
afuna@721
   282
fu@2242
   283
img {
fu@2242
   284
    border: none;
afuna@798
   285
}
mark@504
   286
afuna@798
   287
hr {
fu@2242
   288
    display: none;
afuna@798
   289
}
afuna@798
   290
.entry-content hr,
afuna@798
   291
.comment-content hr {
fu@2242
   292
    display: block;
fu@2242
   293
    margin: 1em 10%;
afuna@798
   294
}
mark@504
   295
afuna@798
   296
body {
afuna@1437
   297
    $page_font
fu@2242
   298
    padding: 0;
afuna@814
   299
    $page_background
afuna@814
   300
    $page_colors
afuna@798
   301
}
mark@504
   302
fu@3604
   303
html body {
fu@3604
   304
    margin-left: $*margins_size$*margins_unit;
fu@3604
   305
    margin-right: $*margins_size$*margins_unit;
fu@3604
   306
}
fu@3604
   307
afuna@814
   308
a { $page_link_colors }
kareila@1642
   309
a:visited { $page_link_visited_colors }
kareila@1642
   310
a:hover { $page_link_hover_colors }
afuna@814
   311
a:active { $page_link_active_colors }
afuna@814
   312
fu@2217
   313
q { font-style: italic; }
fu@2217
   314
kareila@1251
   315
.one-column #content { float: none; }
kareila@1251
   316
.two-columns-left #content,
fu@2242
   317
.three-columns-sides #content {
fu@2242
   318
    border-left: $*sidebar_width solid transparent;
afuna@798
   319
}
kareila@1251
   320
.two-columns-right #content,
kareila@1251
   321
.three-columns-sides #content {
fu@2242
   322
    border-right: $*sidebar_width solid transparent;
afuna@798
   323
}
kareila@1251
   324
.three-columns-left #content {
fu@2242
   325
    border-left: $*sidebar_width_doubled solid transparent;
afuna@798
   326
}
kareila@1251
   327
.three-columns-right #content {
fu@2242
   328
    border-right: $*sidebar_width_doubled solid transparent;
afuna@798
   329
}
fu@2443
   330
.column-right #content {
fu@2443
   331
    min-width: $*sidebar_width; /* prevents sidebar overlap of entry, when entry becomes narrower than sidebar */
fu@2443
   332
}
mark@504
   333
kareila@1913
   334
#content-footer {
kareila@1913
   335
    height: 0;
kareila@1913
   336
    font-size: 0; /*to make IE happy*/
kareila@1913
   337
    clear: both;
kareila@1913
   338
}
kareila@1913
   339
fu@2242
   340
#header, #footer {
fu@2242
   341
    margin: 0;
afuna@798
   342
    clear: both;
fu@2242
   343
    padding: .5em;
afuna@798
   344
}
afuna@721
   345
afuna@814
   346
#header {
afuna@814
   347
    $header_background
afuna@814
   348
    $page_title_colors
afuna@814
   349
}
afuna@814
   350
afuna@1437
   351
h1#title {
afuna@1437
   352
    $page_title_font
afuna@1437
   353
}
afuna@1437
   354
fu@2209
   355
h2#subtitle,
fu@2209
   356
h2#pagetitle {
afuna@1437
   357
    $page_subtitle_font
afuna@1437
   358
}
afuna@1437
   359
mark@1324
   360
#footer {
mark@1324
   361
    $footer_background
mark@1324
   362
}
mark@1324
   363
mark@1324
   364
#footer a { $footer_link_colors }
mark@1324
   365
#footer a:active { $footer_link_active_colors }
mark@1324
   366
#footer a:hover { $footer_link_hover_colors }
mark@1324
   367
#footer a:visited { $footer_link_visited_colors }
mark@1324
   368
afuna@798
   369
#primary {
fu@2242
   370
    float: left;
fu@2242
   371
    width:100%;
fu@2242
   372
    margin-right:-100%;
fu@2242
   373
    margin-left: 0;
afuna@798
   374
}
afuna@721
   375
afuna@798
   376
.one-column #primary { float: none; }
afuna@721
   377
afuna@798
   378
#primary > .inner:first-child {
fu@2242
   379
    padding: 1em;
afuna@798
   380
}
fu@2242
   381
fu@3662
   382
.one-column #secondary { width: auto; }
fu@3662
   383
afuna@798
   384
.two-columns-left #secondary,
fu@2242
   385
.three-columns-sides #secondary {
fu@2242
   386
    float: left;
fu@2242
   387
    width: $*sidebar_width;
fu@2242
   388
    margin-left: -$*sidebar_width;
afuna@798
   389
}
fu@2242
   390
.two-columns-right #secondary {
fu@2242
   391
    float: right;
fu@2242
   392
    width: $*sidebar_width;
fu@2242
   393
    margin-right: -$*sidebar_width;
afuna@798
   394
}
fu@2242
   395
.three-columns-left #secondary {
fu@2242
   396
    float: left;
fu@2242
   397
    width: $*sidebar_width;
fu@2242
   398
    margin-left: -$*sidebar_width_doubled;
afuna@798
   399
}
fu@2242
   400
.three-columns-right #secondary {
fu@2242
   401
    float: right;
fu@2242
   402
    width: $*sidebar_width;
fu@2242
   403
    margin-right: -$*sidebar_width;
afuna@798
   404
}
afuna@798
   405
afuna@798
   406
#secondary > .inner:first-child {
fu@2242
   407
    padding: 1em;
afuna@798
   408
}
afuna@798
   409
fu@3662
   410
.one-column #tertiary { width: auto; }
fu@3662
   411
afuna@798
   412
.two-columns-left #tertiary,
afuna@798
   413
.two-columns-right #tertiary {
afuna@798
   414
    clear: both;
afuna@798
   415
}
afuna@798
   416
.two-columns-left #tertiary { margin-left: -$*sidebar_width; }
afuna@798
   417
.two-columns-right #tertiary { margin-right: -$*sidebar_width; }
afuna@798
   418
.two-columns-left #tertiary .module,
afuna@798
   419
.two-columns-right #tertiary .module {
afuna@798
   420
    float: left;
afuna@798
   421
    width: $*sidebar_width;
afuna@798
   422
}
fu@2242
   423
.three-columns-left #tertiary {
fu@2242
   424
    float: left;
fu@2242
   425
    width: $*sidebar_width;
fu@2242
   426
    margin-left: -$*sidebar_width;
afuna@798
   427
}
afuna@798
   428
.three-columns-right #tertiary {
fu@2242
   429
    float: right;
fu@2242
   430
    width: $*sidebar_width;
fu@2242
   431
    margin-right: -$*sidebar_width_doubled;
fu@2242
   432
    margin-left: $*sidebar_width; /* so that #tertiary won't overlay #secondary in IE7 */
afuna@798
   433
}
fu@2242
   434
.three-columns-sides #tertiary {
fu@2242
   435
    float: right;
fu@2242
   436
    width: $*sidebar_width;
fu@2242
   437
    margin-right: -$*sidebar_width;
afuna@798
   438
}
afuna@798
   439
afuna@798
   440
#tertiary > .inner:first-child {
fu@2242
   441
    padding: 1em;
afuna@798
   442
}
afuna@798
   443
fu@2242
   444
.navigation ul {
fu@2242
   445
    list-style: none;
fu@2242
   446
    margin-left: 0;
fu@2242
   447
    padding-left: 0;
afuna@798
   448
}
fu@2242
   449
.navigation li {
fu@2242
   450
    display: inline;
fu@2242
   451
    padding: 0 .5em;
afuna@798
   452
}
fu@3297
   453
.noentries {
fu@3297
   454
    padding: 0 .5em;
fu@3297
   455
}
afuna@721
   456
afuna@798
   457
/* entries */
fu@2242
   458
afuna@814
   459
.entry {
afuna@814
   460
    $entry_background
afuna@814
   461
    $entry_colors
afuna@814
   462
}
afuna@814
   463
fu@2209
   464
.entry .entry-title {
fu@2209
   465
    $entry_title_font
fu@2209
   466
}
fu@2209
   467
mark@1324
   468
.entry .entry-title, .entry .entry-title a {
afuna@814
   469
    $entry_title_colors
afuna@814
   470
}
afuna@814
   471
afuna@814
   472
.entry a { $entry_link_colors }
kareila@1642
   473
.entry a:visited { $entry_link_visited_colors }
kareila@1642
   474
.entry a:hover { $entry_link_hover_colors }
afuna@814
   475
.entry a:active { $entry_link_active_colors }
afuna@814
   476
fu@2840
   477
/* To prevent overlapping when icon's on the left */
fu@2840
   478
/* and list is the first thing in content */
fu@2840
   479
.entry-content li,
fu@2840
   480
.comment-content li {
fu@2840
   481
    list-style-position: inside;
fu@2840
   482
    }
afuna@721
   483
fu@2242
   484
.metadata ul {
fu@2242
   485
    display: inline;
fu@2242
   486
    list-style: none;
fu@2242
   487
    margin-left: .5em;
fu@2242
   488
    padding-left: 0;
afuna@798
   489
}
fu@2242
   490
.metadata li {
fu@2242
   491
    margin-bottom: .5em;
afuna@798
   492
}
fu@2358
   493
.metadata.top-metadata ul {
fu@2358
   494
    margin: 0;
fu@2358
   495
}
fu@2358
   496
.metadata.top-metadata {
fu@2358
   497
    margin-bottom: 1em;
fu@2358
   498
}
afuna@721
   499
fu@2242
   500
.tag ul {
fu@2242
   501
    display: inline;
fu@2242
   502
    list-style: none;
fu@2242
   503
    margin-left: .5em;
fu@2242
   504
    padding-left: 0;
afuna@798
   505
}
afuna@798
   506
.tag ul li {
fu@2242
   507
    display: inline;
fu@2242
   508
    padding: .25em;
afuna@798
   509
} /* same for month view */
afuna@721
   510
afuna@798
   511
ul.entry-management-links {
fu@2242
   512
    list-style: none;
fu@2242
   513
    margin-left: 0;
fu@2242
   514
    padding-left: 0;
afuna@798
   515
}
fu@2242
   516
ul.entry-management-links li {
fu@2242
   517
    display: inline;
fu@2242
   518
    padding: 0 .25em;
afuna@798
   519
}
afuna@798
   520
afuna@798
   521
ul.entry-interaction-links {
fu@2242
   522
    list-style: none;
fu@2242
   523
    margin-left: 0;
fu@2242
   524
    padding-left: 0;
fu@2242
   525
    text-align: right;
afuna@798
   526
}
afuna@814
   527
afuna@814
   528
.entry-interaction-links a { $entry_interaction_link_colors }
afuna@814
   529
fu@2242
   530
ul.entry-interaction-links li {
fu@2242
   531
    display: inline;
fu@2242
   532
    padding: 0 .25em;
afuna@798
   533
}
afuna@798
   534
afuna@798
   535
/* comments */
afuna@798
   536
fu@2242
   537
.comment-wrapper {
fu@2242
   538
    padding: .5em 0;
afuna@798
   539
}
afuna@798
   540
fu@2997
   541
.comment .comment-title, .comment .comment-title a {
mark@1324
   542
    $comment_title_colors
fu@3057
   543
}
fu@3057
   544
fu@3057
   545
.comment .comment-title {
fu@3019
   546
    $comment_title_font
mark@1324
   547
}
mark@1324
   548
kareila@2543
   549
.comment-title h4 {
kareila@2543
   550
    font-size: inherit;
kareila@2543
   551
    font-weight: inherit;
fu@2563
   552
    margin: 0;
fu@2563
   553
    padding: 0;
kareila@2543
   554
}
kareila@2543
   555
afuna@798
   556
ul.comment-management-links {
fu@2242
   557
    list-style: none;
fu@2242
   558
    margin-left: 0;
fu@2242
   559
    padding-left: 0;
fu@2242
   560
    text-align: right;
afuna@798
   561
}
fu@2242
   562
ul.comment-management-links li {
fu@2242
   563
    display: inline;
fu@2242
   564
    padding: 0 .25em;
afuna@798
   565
}
afuna@798
   566
afuna@798
   567
ul.comment-interaction-links {
fu@2242
   568
    list-style: none;
fu@2242
   569
    margin-left: 0;
fu@2242
   570
    padding-left: 0;
afuna@798
   571
}
fu@2242
   572
ul.comment-interaction-links li {
fu@2242
   573
    display: inline;
fu@2242
   574
    padding: 0 .25em;
afuna@798
   575
}
afuna@798
   576
fu@2242
   577
textarea#commenttext {
fu@2242
   578
    width: 100%; /* fix for FF form width glitch */
afuna@798
   579
}
afuna@798
   580
afuna@798
   581
/* archive */
afuna@798
   582
fu@2242
   583
table.month {
fu@2242
   584
    margin: 0 auto;
fu@2242
   585
    border-collapse: collapse;
afuna@798
   586
}
afuna@1535
   587
table.month td {
afuna@1535
   588
    height: 3.25em;
afuna@1535
   589
}
afuna@798
   590
table.month td,
fu@2242
   591
table.month th {
fu@2242
   592
    border: 1px solid; /* ? */
fu@2242
   593
    padding: 3px;
afuna@798
   594
}
fu@2242
   595
table.month td p {
fu@2242
   596
    margin: 0;
fu@2242
   597
    padding: 3px;
afuna@798
   598
}
afuna@798
   599
fu@2242
   600
.month dl dt {
fu@2242
   601
    font-weight: bold;
afuna@798
   602
}
fu@4187
   603
.month dl .time {
fu@2242
   604
    padding-right: .5em;
afuna@798
   605
}
fu@2242
   606
.month dl h3 {
fu@2242
   607
    display: inline;
fu@2242
   608
    font-size: medium;
afuna@798
   609
}
fu@2287
   610
.page-month .month .entry-poster {
fu@2287
   611
    margin-right: .5em;
fu@2287
   612
}
fu@2242
   613
.month dl .tag ul {
fu@2242
   614
    margin-top: 0;
afuna@798
   615
}
afuna@798
   616
fu@3903
   617
/* icons */
fu@3903
   618
fu@3903
   619
.sorting-options ul {
fu@3903
   620
    list-style: none;
fu@3903
   621
    margin-left: 0;
fu@3903
   622
}
fu@3903
   623
fu@3903
   624
.sorting-options ul li {
fu@3903
   625
    display: inline;
fu@3903
   626
}
fu@3903
   627
fu@3903
   628
.keywords ul {
fu@3903
   629
    display: inline;
fu@3903
   630
    list-style: none;
fu@3903
   631
    margin-left: .5em;
fu@3903
   632
    padding-left: 0;
fu@3903
   633
}
fu@3903
   634
fu@3903
   635
.keywords ul li {
fu@3903
   636
    display: inline;
fu@4240
   637
    padding: 0 .25em 0 0;
fu@3903
   638
}
fu@3903
   639
afuna@798
   640
/* modules */
afuna@798
   641
afuna@814
   642
.module {
afuna@814
   643
    $module_background
afuna@814
   644
    $module_colors
afuna@814
   645
}
afuna@814
   646
afuna@814
   647
.module a { $module_link_colors }
kareila@1642
   648
.module a:visited { $module_link_visited_colors }
kareila@1642
   649
.module a:hover { $module_link_hover_colors }
afuna@814
   650
.module a:active { $module_link_active_colors }
afuna@814
   651
afuna@888
   652
.module h2 {
afuna@814
   653
    $module_title_colors
afuna@1437
   654
    $module_title_font
afuna@1437
   655
}
afuna@1437
   656
afuna@1437
   657
.module-content {
afuna@1437
   658
    $module_font
afuna@814
   659
}
afuna@814
   660
fu@2242
   661
.module-content ul {
fu@2242
   662
    list-style: outside;
fu@2242
   663
    margin-left: 1em;
fu@2242
   664
    padding-left: 0;
afuna@798
   665
}
fu@2242
   666
.module-content li {
fu@2242
   667
    margin: .5em 0;
afuna@798
   668
}
afuna@798
   669
fu@2742
   670
ul.userlite-interaction-links.icon-links {
fu@2242
   671
    list-style: none;
fu@2242
   672
    margin-left: 0;
fu@2242
   673
    padding-left: 0;
afuna@798
   674
}
fu@2742
   675
fu@2742
   676
ul.userlite-interaction-links.icon-links li {
fu@2242
   677
    display: inline;
fu@2242
   678
    padding: 0 .20em;
afuna@798
   679
}
afuna@798
   680
fu@2742
   681
ul.userlite-interaction-links.text-links {
fu@2742
   682
    text-align: left;
fu@2742
   683
}
fu@2742
   684
fu@2242
   685
.module-calendar .module-content {
fu@2242
   686
    text-align: center;
afuna@798
   687
}
fu@3662
   688
fu@3662
   689
.one-column .module-calendar .module-content {
fu@3662
   690
    text-align: left;
fu@3662
   691
}
fu@3662
   692
fu@2242
   693
.module-calendar table {
fu@2242
   694
    margin: 0 auto;
afuna@798
   695
}
fu@3662
   696
fu@3662
   697
.one-column .module-calendar table {
fu@3662
   698
    margin: 0;
fu@3662
   699
}
fu@3662
   700
fu@2242
   701
.module-calendar td {
fu@2242
   702
    padding: 1px;
afuna@798
   703
}
fu@2242
   704
.module-calendar td a {
fu@2242
   705
    display: block;
fu@2242
   706
    padding: 2px;
afuna@798
   707
}
fu@2382
   708
fu@2382
   709
.search-box {
fu@2382
   710
    margin: .2em auto;
fu@2382
   711
}
fu@2382
   712
mark@1816
   713
/* wrap long content, particularly openid usernames */
mark@1816
   714
.module-pagesummary .ljuser {
mark@1816
   715
    white-space: normal !important;
mark@1816
   716
}
mark@1816
   717
.module-pagesummary .module-content {
mark@1816
   718
    word-wrap: break-word;
mark@1816
   719
}
mark@1413
   720
.module-credit dt, .module-credit dd {
mark@1413
   721
    display: inline;
mark@1413
   722
    margin: 0;
mark@1413
   723
    padding: 0;
mark@1413
   724
}
mark@1413
   725
.module-credit dt {
mark@1413
   726
    font-weight: bold;
mark@1413
   727
    margin-right: 0.5em;
mark@1413
   728
}
fu@2605
   729
fu@2605
   730
.tags_cloud li, .module-tags_cloud li { display: inline;
fu@2605
   731
    list-style-type: none; }
fu@2605
   732
fu@3662
   733
.module-syndicate .module-content {
fu@2242
   734
    text-align: center;
fu@2544
   735
}
fu@2564
   736
fu@3662
   737
.one-column .module-syndicate .module-content {
fu@3662
   738
    text-align: left;
fu@3662
   739
}
fu@3662
   740
fu@2564
   741
$userpic_css
afuna@798
   742
    """;
afuna@932
   743
}
afuna@965
   744