bin/upgrading/s2layers/easyread/layout.s2
author fu
Fri Jan 27 17:59:59 2012 +0800
changeset 4240 5bab31c9f015
parent 4213 9bf2ee057539
child 4302 4fc7eee083ff
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.
afuna@2161
     1
layerinfo "type" = "layout";
afuna@2161
     2
layerinfo "name" = "EasyRead";
afuna@2161
     3
layerinfo redist_uniq = "easyread/layout";
fu@3030
     4
layerinfo author_name = "rb";
afuna@2161
     5
layerinfo "des" = "A journal layout which is friendly to low vision users who need a large font, and to screen reader users. Accessibility is paramount.";
afuna@2161
     6
layerinfo author_email = "ricky@notdoneliving.net";
afuna@2162
     7
afuna@2161
     8
set layout_authors = [ { "name" => "rb", "type" => "user" }];
afuna@2161
     9
afuna@2161
    10
##===============================
afuna@2161
    11
## Display settings - general
afuna@2161
    12
##===============================
afuna@2161
    13
afuna@2161
    14
propgroup presentation {
afuna@2161
    15
    property use num_items_recent;
afuna@2161
    16
    property use num_items_reading;
afuna@2161
    17
    property use use_journalstyle_entry_page;
afuna@2161
    18
    property use layout_type;
afuna@2161
    19
    property use tags_page_type;
fu@3552
    20
    property use margins_size;
fu@3552
    21
    property use margins_unit;
fu@3482
    22
    property use userpics_style_group;
fu@2565
    23
    property use userpics_position;
kareila@2359
    24
    property use entry_metadata_position;
fu@3002
    25
    property use use_custom_friend_colors;
fu@2347
    26
    property use use_shared_pic;
fu@2456
    27
    property use userlite_interaction_links;
fu@2456
    28
    property use entry_management_links;
fu@2456
    29
    property use comment_management_links;
fu@4189
    30
    property use reg_firstdayofweek;
fu@3210
    31
    property use entry_datetime_format_group;
fu@3210
    32
    property use comment_datetime_format_group;
afuna@2161
    33
}
afuna@2161
    34
fu@3683
    35
set layout_type = "one-column-split";
fu@3002
    36
set use_custom_friend_colors = false;
fu@3002
    37
set custom_foreground_element = "subject";
fu@3002
    38
set custom_background_element = "subject";
afuna@2161
    39
afuna@2161
    40
##===============================
afuna@2161
    41
## Journal style - colors
afuna@2161
    42
##===============================
afuna@2161
    43
afuna@2161
    44
propgroup colors {
afuna@2161
    45
afuna@2161
    46
    property use color_page_background;
afuna@2161
    47
    property use color_page_text;
afuna@2161
    48
    property use color_page_link;
afuna@2161
    49
    property use color_page_link_active;
afuna@2161
    50
    property use color_page_link_visited;
afuna@2161
    51
    property use color_page_title;
afuna@2161
    52
  
afuna@2161
    53
    property use color_header_background;
afuna@2161
    54
afuna@2161
    55
    property use color_entry_background;
afuna@2161
    56
    property use color_entry_text;
afuna@2161
    57
  
afuna@2161
    58
}
afuna@2161
    59
afuna@2161
    60
##===============================
afuna@2161
    61
## Display settings - fonts
afuna@2161
    62
##===============================
afuna@2161
    63
afuna@2161
    64
propgroup fonts {
afuna@2161
    65
    property use font_base;
afuna@2161
    66
    property use font_fallback;
afuna@2161
    67
    property use font_base_size;
afuna@2161
    68
    property use font_base_units;
afuna@2161
    69
    property use font_journal_title;
afuna@2161
    70
    property use font_journal_title_size;
afuna@2161
    71
    property use font_journal_title_units;
afuna@2161
    72
    property use font_journal_subtitle;
afuna@2161
    73
    property use font_journal_subtitle_size;
afuna@2161
    74
    property use font_journal_subtitle_units;
afuna@2161
    75
    property use font_entry_title;
afuna@2161
    76
    property use font_entry_title_size;
afuna@2161
    77
    property use font_entry_title_units;
fu@3057
    78
    property use font_comment_title;
fu@3057
    79
    property use font_comment_title_size;
fu@3057
    80
    property use font_comment_title_units;
afuna@2161
    81
    property use font_module_heading;
fu@2209
    82
    property use font_module_heading_size;
afuna@2161
    83
    property use font_module_heading_units;
afuna@2161
    84
    property use font_module_text;
fu@2209
    85
    property use font_module_text_size;
afuna@2161
    86
    property use font_module_text_units;
afuna@2161
    87
}
afuna@2161
    88
set font_base = """APHont, "Helvetica Neue", Arial, Helvetica, Geneva""";
afuna@2161
    89
set font_base_size = "1";
afuna@2161
    90
set font_base_units = "em";
afuna@2161
    91
set font_fallback = "sans-serif";
afuna@2161
    92
set font_journal_title = """APHont, "Helvetica Neue", Arial, Helvetica, Geneva""";
afuna@2161
    93
set font_journal_title_size = "3";
afuna@2161
    94
set font_journal_title_units = "em";
afuna@2161
    95
set font_journal_subtitle = """APHont, "Helvetica Neue", Arial, Helvetica, Geneva""";
afuna@2161
    96
set font_journal_subtitle_size = "1.5";
afuna@2161
    97
set font_journal_subtitle_units = "em";
afuna@2161
    98
afuna@2161
    99
##===============================
afuna@2161
   100
## Display settings - modules
afuna@2161
   101
##===============================
afuna@2161
   102
afuna@2161
   103
propgroup modules {
afuna@2161
   104
    property use module_userprofile_group;
afuna@2161
   105
    property use module_navlinks_group;
afuna@2161
   106
    property use module_customtext_group;
afuna@2161
   107
    property use module_calendar_group;
afuna@2161
   108
    property use module_pagesummary_group;
afuna@2161
   109
    property use module_tags_group;
afuna@2161
   110
    property use module_links_group;
afuna@2161
   111
    property use module_syndicate_group;
afuna@2161
   112
    property use module_time_group;
afuna@2161
   113
    property use module_poweredby_group;
afuna@2161
   114
    property use module_credit_group;
fu@3689
   115
    property use module_search_group;
fu@3465
   116
    property use module_cuttagcontrols_group;
afuna@2161
   117
}
afuna@2161
   118
afuna@2161
   119
# explicitly define what sections the layout has available
kareila@2351
   120
set module_layout_sections = "none|(none)|one|Above entries|two|Below entries";
afuna@2161
   121
afuna@2161
   122
##===============================
afuna@2161
   123
## Custom CSS
afuna@2161
   124
##===============================
afuna@2161
   125
afuna@2161
   126
propgroup customcss {
afuna@2161
   127
    property use external_stylesheet;
afuna@2161
   128
    property use include_default_stylesheet;
afuna@2161
   129
    property use linked_stylesheet;
afuna@2161
   130
    property use custom_css;
afuna@2161
   131
}
afuna@2161
   132
afuna@2161
   133
propgroup text {
afuna@2161
   134
##===============================
afuna@2161
   135
## Text - main navigation
afuna@2161
   136
##===============================
afuna@2161
   137
afuna@2161
   138
    property use text_view_recent;
afuna@2161
   139
    property use text_view_friends;
afuna@2161
   140
    property use text_view_network;
afuna@2161
   141
    property use text_view_archive;
afuna@2161
   142
    property use text_view_userinfo;
afuna@2161
   143
    property use text_view_memories;
afuna@2161
   144
    property use text_view_tags;
afuna@2161
   145
afuna@2161
   146
##===============================
afuna@2161
   147
## Text - entry comment-related
afuna@2161
   148
##===============================
afuna@2161
   149
afuna@2161
   150
    property use text_post_comment;
afuna@2161
   151
    property use text_max_comments;
afuna@2161
   152
    property use text_read_comments;
afuna@2161
   153
    property use text_post_comment_friends;
afuna@2161
   154
    property use text_read_comments_friends;
afuna@2161
   155
afuna@2161
   156
    property use text_skiplinks_back;
afuna@2161
   157
    property use text_skiplinks_forward;
afuna@2161
   158
    property use text_meta_music;
afuna@2161
   159
    property use text_meta_mood;
afuna@2161
   160
    property use text_meta_location;
fu@3354
   161
    property use text_meta_xpost;
afuna@2161
   162
    property use text_tags;
afuna@2161
   163
afuna@2161
   164
    property use text_entry_prev;
afuna@2161
   165
    property use text_entry_next;
afuna@2161
   166
    property use text_edit_entry;
afuna@2161
   167
    property use text_edit_tags;
afuna@2161
   168
    property use text_tell_friend;
afuna@2161
   169
    property use text_mem_add;
afuna@2161
   170
    property use text_watch_comments;
afuna@2161
   171
    property use text_unwatch_comments;
afuna@2161
   172
    property use text_permalink;
afuna@2161
   173
    property use text_stickyentry_subject;
afuna@2161
   174
afuna@2161
   175
    property use text_module_customtext;
afuna@2161
   176
    property use text_module_customtext_content;
afuna@2161
   177
    property use text_module_customtext_url;
afuna@2161
   178
}
afuna@2161
   179
afuna@2161
   180
set module_userprofile_section = "one";
afuna@2161
   181
set module_pagesummary_section = "one";
afuna@2161
   182
afuna@2161
   183
set module_navlinks_section = "two";
afuna@2161
   184
afuna@2161
   185
set module_tags_section = "two";
afuna@2161
   186
set module_tags_opts_type = "cloud";
afuna@2161
   187
afuna@2161
   188
set module_links_section = "two";
afuna@2161
   189
set module_customtext_section = "two";
afuna@2161
   190
set module_customtext_show = false;
afuna@2161
   191
set module_syndicate_section = "two";
afuna@2161
   192
set module_credit_section = "two";
afuna@2161
   193
set module_time_section = "two";
afuna@2161
   194
set module_poweredby_section = "two";
afuna@2161
   195
afuna@2161
   196
set module_calendar_section = "two";
afuna@2161
   197
set module_calendar_show = false;
afuna@2161
   198
afuna@2161
   199
set module_userprofile_order = 1;
afuna@2161
   200
set module_pagesummary_order = 2;
afuna@2161
   201
afuna@2161
   202
set module_navlinks_order = 10;
afuna@2161
   203
set module_tags_order = 11;
afuna@2161
   204
set module_links_order = 12;
afuna@2161
   205
afuna@2161
   206
set module_customtext_order = 13;
afuna@2161
   207
set module_syndicate_order = 14;
afuna@2161
   208
set module_credit_order = 15;
afuna@2161
   209
set module_time_order = 16;
afuna@2161
   210
set module_poweredby_order = 17;
fu@3689
   211
set module_search_order = 19;
fu@3689
   212
set module_cuttagcontrols_order = 20;
afuna@2161
   213
afuna@2161
   214
set module_calendar_order = 18;
afuna@2161
   215
afuna@2161
   216
function Page::print()
afuna@2161
   217
{
afuna@2161
   218
    """<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n<head profile="http://www.w3.org/2006/03/hcard http://purl.org/uF/hAtom/0.1/ http://gmpg.org/xfn/11">\n""";
afuna@2161
   219
    $this->print_head();
afuna@2161
   220
    $this->print_stylesheets();
afuna@2161
   221
    $this->print_head_title();
afuna@2161
   222
    """</head>""";
afuna@2161
   223
    $this->print_wrapper_start();
afuna@2161
   224
    $this->print_control_strip();
afuna@2161
   225
    """
afuna@2161
   226
    <div id="canvas">
afuna@2161
   227
        <div class="inner">
afuna@2161
   228
            <div id="header">
afuna@2161
   229
                <div class="inner">
afuna@2161
   230
                    """;
afuna@2161
   231
                    $this->print_global_title();
afuna@2161
   232
                    $this->print_global_subtitle();
afuna@2161
   233
                    $this->print_title();
afuna@2161
   234
    """
afuna@2161
   235
                </div><!-- end header>inner -->
afuna@2161
   236
            </div><!-- end header -->
afuna@2161
   237
            <div id="content">
afuna@2161
   238
                <div class="inner">
afuna@2161
   239
                    <div id="secondary"><div class="inner">
afuna@2161
   240
                        """;
afuna@2161
   241
                        $this->print_module_section("one");
afuna@2161
   242
    """
afuna@2161
   243
                    </div></div><!--  end secondary and secondary>inner -->
afuna@2161
   244
afuna@2161
   245
                    <div id="primary"><div class="inner">
afuna@2161
   246
                        """; 
afuna@2161
   247
                        $this->print_body();
afuna@2161
   248
    """
afuna@2161
   249
                    </div></div><!-- end primary and primary>inner -->
afuna@2161
   250
                    <div id="tertiary"><div class="inner">
afuna@2161
   251
                        """;
afuna@2161
   252
                        $this->print_module_section("two");
afuna@2161
   253
    """
afuna@2161
   254
                    </div></div><!-- end tertiary and tertiary>inner -->
afuna@2161
   255
                </div><!-- end content>inner -->
afuna@2161
   256
            </div> <!-- end content -->
afuna@2161
   257
        </div> <!-- end canvas>inner --> 
afuna@2161
   258
    """;
afuna@2161
   259
    
afuna@2161
   260
    """
afuna@2161
   261
    <div id="footer">
afuna@2161
   262
        <div class="inner">
afuna@2161
   263
            """;
afuna@2161
   264
            print safe """
afuna@2161
   265
                <div class="page-top"><a href="#">$*text_page_top</a></div>
afuna@2161
   266
        </div><!-- end footer>inner -->
afuna@2161
   267
    </div><!-- end footer -->
afuna@2161
   268
    
afuna@2161
   269
    </div> <!-- end canvas -->
afuna@2161
   270
    """;
afuna@2161
   271
    $this->print_wrapper_end();
afuna@2161
   272
    """</html>""";
afuna@2161
   273
}
afuna@2161
   274
afuna@2161
   275
function Page::print_default_stylesheet {
afuna@2161
   276
afuna@2161
   277
    var string page_background = generate_background_css ($*image_background_page_url, $*image_background_page_repeat, $*image_background_page_position, $*color_page_background);
afuna@2161
   278
    var string entry_background = generate_background_css ($*image_background_entry_url, $*image_background_entry_repeat, $*image_background_entry_position, $*color_entry_background);
afuna@2161
   279
    var string page_colors = generate_color_css($*color_page_text, $*color_page_background, $*color_page_border);
afuna@2161
   280
    var string entry_colors = generate_color_css($*color_entry_text, $*color_entry_background, $*color_entry_border);
afuna@2161
   281
    var string page_title_colors = generate_color_css($*color_page_title, new Color, new Color);
afuna@2161
   282
    var string page_link_colors = generate_color_css($*color_page_link, new Color, new Color);
afuna@2161
   283
    var string page_link_active_colors = generate_color_css($*color_page_link_active, new Color, new Color);
afuna@2161
   284
    var string page_link_hover_colors = generate_color_css($*color_page_link_hover, new Color, new Color);
afuna@2161
   285
    var string page_link_visited_colors = generate_color_css($*color_page_link_visited, new Color, new Color);
fu@2209
   286
fu@2977
   287
    var string page_font = generate_font_css("", $*font_base, $*font_fallback, $*font_base_size, $*font_base_units);
fu@2977
   288
    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
   289
    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
   290
    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
   291
    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
   292
    var string module_font = generate_font_css($*font_module_text, $*font_base, $*font_fallback, $*font_module_text_size, $*font_module_text_units);
fu@2977
   293
    var string module_title_font = generate_font_css($*font_module_heading, $*font_base, $*font_fallback, $*font_module_heading_size, $*font_module_heading_units);
fu@2209
   294
fu@3482
   295
    var string entry_contentsfooter_shift = "";
fu@3482
   296
    if ( $*entry_userpic_style == "" ) { $entry_contentsfooter_shift = "84px"; }
fu@3482
   297
    elseif ( $*entry_userpic_style == "small" ) { $entry_contentsfooter_shift = "59px"; }
fu@3482
   298
    elseif ( $*entry_userpic_style == "smaller" ) { $entry_contentsfooter_shift = "34px"; }
fu@3482
   299
fu@3482
   300
    var string entry_header_margin = "";
fu@3482
   301
    if ( $*entry_userpic_style == "" ) { $entry_header_margin = "110px"; }
fu@3482
   302
    elseif ( $*entry_userpic_style == "small" ) { $entry_header_margin = "85px"; }
fu@3482
   303
    elseif ( $*entry_userpic_style == "smaller" ) { $entry_header_margin = "60px"; }
fu@3482
   304
fu@3482
   305
    var string comment_header_margin = "";
fu@3482
   306
    if ( $*comment_userpic_style == "" ) { $comment_header_margin = "110px"; }
fu@3482
   307
    elseif ( $*comment_userpic_style == "small" ) { $comment_header_margin = "85px"; }
fu@3482
   308
    elseif ( $*comment_userpic_style == "smaller" ) { $comment_header_margin = "60px"; }
fu@3482
   309
fu@3482
   310
    var string entrytitle_padding = $*use_custom_friend_colors ? "padding: .2em;" : "";
fu@3002
   311
fu@2565
   312
    var string userpic_css = "";
fu@2565
   313
    if ($*userpics_position == "left") {
fu@2565
   314
        $userpic_css = """
fu@3482
   315
        .has-userpic .entry .header {
fu@3482
   316
            margin-left: $entry_header_margin;
fu@2565
   317
            }
fu@3482
   318
        .has-userpic .comment .header {
fu@3482
   319
            margin-left: $comment_header_margin;
fu@3482
   320
            }
fu@3482
   321
fu@2565
   322
        .has-userpic .entry .poster {
fu@3482
   323
            margin-left: $entry_header_margin;
fu@2565
   324
            }
fu@3482
   325
fu@2565
   326
        #comments .userpic a img, .comment-wrapper .userpic a img  {
fu@2565
   327
            float: left;
fu@2565
   328
            margin-right: 10px;
fu@2565
   329
            }
fu@2565
   330
        #comments .comment-content, .comment-wrapper .comment-content {
fu@2565
   331
            clear: left;
fu@2565
   332
            }
fu@2565
   333
        """;
fu@2565
   334
    }
fu@2565
   335
    elseif ($*userpics_position == "right") {
fu@2565
   336
        $userpic_css = """
fu@3482
   337
        .has-userpic .entry .header {
fu@3482
   338
            margin-right: $entry_header_margin;
fu@2565
   339
            }
fu@3482
   340
        .has-userpic .comment .header {
fu@3482
   341
            margin-right: $comment_header_margin;
fu@3482
   342
            }
fu@3482
   343
fu@2565
   344
        .has-userpic .entry .poster {
fu@3482
   345
            margin-right: $entry_header_margin;
fu@2565
   346
            }
fu@3482
   347
fu@2565
   348
        .has-userpic .entry .contents .userpic {
fu@3482
   349
            text-align: right;
fu@2565
   350
            }
fu@3482
   351
fu@2565
   352
        #comments .userpic a img, .comment-wrapper .userpic a img  {
fu@2565
   353
            float: right;
fu@2565
   354
            margin-left: 10px;
fu@2565
   355
            }
fu@2565
   356
        #comments .comment-content, .comment-wrapper .comment-content {
fu@2565
   357
            clear: right;
fu@2565
   358
            }
fu@2565
   359
        """;
fu@2565
   360
    }
fu@2565
   361
afuna@2161
   362
afuna@2161
   363
"""/* Globals */
afuna@2161
   364
ul {
afuna@2161
   365
    margin-top: 0;
afuna@2161
   366
}
afuna@2161
   367
afuna@2161
   368
a {
afuna@2161
   369
    $page_link_colors
afuna@2161
   370
}
afuna@2161
   371
afuna@2161
   372
a:visited {
afuna@2161
   373
    $page_link_visited_colors
afuna@2161
   374
}
afuna@2161
   375
afuna@2161
   376
a:focus, a:active {
afuna@2161
   377
    $page_link_active_colors
afuna@2161
   378
}
afuna@2161
   379
fu@2217
   380
q { font-style: italic;
fu@2217
   381
}
fu@2217
   382
afuna@2161
   383
/* All posts & all navigation */
afuna@2161
   384
#primary, #secondary, #tertiary, #footer {
afuna@2161
   385
    width: 80%;
afuna@2161
   386
    margin-left: auto;
afuna@2161
   387
    margin-right: auto;
afuna@2161
   388
    font-family: $page_font
afuna@2161
   389
    $entry_colors
afuna@2161
   390
    padding: 0px 1em;
afuna@2161
   391
afuna@2161
   392
}
afuna@2161
   393
afuna@2161
   394
/* General page background */
afuna@2161
   395
body {
fu@3022
   396
    margin: 0;
afuna@2161
   397
    font-family: $page_font;
afuna@2161
   398
    $page_colors
afuna@2161
   399
}
afuna@2161
   400
fu@3552
   401
html body {
fu@3552
   402
    margin-left: $*margins_size$*margins_unit;
fu@3552
   403
    margin-right: $*margins_size$*margins_unit;
fu@3552
   404
    }
fu@3552
   405
fu@2209
   406
/* Modules */
fu@2209
   407
.module h2 {
fu@2209
   408
    $module_title_font
fu@2209
   409
}
fu@2209
   410
fu@2209
   411
.module-content {
fu@2209
   412
    $module_font
fu@2209
   413
}
afuna@2161
   414
afuna@2161
   415
/*
afuna@2161
   416
 * Journal Header
afuna@2161
   417
 */
afuna@2161
   418
afuna@2161
   419
#header {
afuna@2161
   420
    padding: 10px;
afuna@2161
   421
    color: $*color_page_title ;
afuna@2161
   422
    background-color: $*color_header_background ;
afuna@2161
   423
}
afuna@2161
   424
afuna@2161
   425
#header h1#title {
afuna@2161
   426
    font-weight: bold;
afuna@2161
   427
    margin-bottom: 0;
afuna@2161
   428
    $page_title_font
afuna@2161
   429
}
afuna@2161
   430
afuna@2161
   431
#header h2#subtitle {
afuna@2161
   432
    font-style: italic;
afuna@2161
   433
    margin-top: 0;
afuna@2161
   434
    $page_subtitle_font
afuna@2161
   435
}
afuna@2161
   436
fu@2209
   437
#header h2#pagetitle {
fu@2209
   438
    $page_subtitle_font
fu@2209
   439
}
fu@2209
   440
afuna@2161
   441
#header h2#pagetitle:before {
afuna@2161
   442
    content: "This page: ";
afuna@2161
   443
}
afuna@2161
   444
afuna@2161
   445
/* Navigation at top/bottom of recent entries page */
afuna@2161
   446
.navigation {
afuna@2161
   447
    margin-top: 10px;
afuna@2161
   448
}
afuna@2161
   449
afuna@2161
   450
.navigation .inner ul:before {
afuna@2161
   451
    content: "Navigation: ";
afuna@2161
   452
}
afuna@2161
   453
afuna@2161
   454
.navigation ul {
afuna@2161
   455
    clear: left;
afuna@2161
   456
    list-style: none;
afuna@2161
   457
    font-weight: bold;
afuna@2161
   458
    padding-left: 0;
afuna@2161
   459
}
afuna@2161
   460
afuna@2161
   461
.navigation .inner ul li {
afuna@2161
   462
    display: inline;  
afuna@2161
   463
}
afuna@2161
   464
afuna@2161
   465
.navigation ul li.page-back:after {
afuna@2161
   466
    content: " posts";
afuna@2161
   467
}
afuna@2161
   468
afuna@2161
   469
/*
afuna@2161
   470
 * Page Header (module-section-one)
afuna@2161
   471
 */
afuna@2161
   472
afuna@2161
   473
ul.userlite-interaction-links {
afuna@2161
   474
    list-style: none;
afuna@2161
   475
    padding-left: 0;
afuna@2161
   476
}
afuna@2161
   477
fu@2766
   478
ul.userlite-interaction-links.icon-links li {
afuna@2161
   479
    display: inline;
afuna@2161
   480
}
afuna@2161
   481
afuna@2161
   482
.module-section-one {
afuna@2161
   483
    clear: left;
afuna@2161
   484
}
afuna@2161
   485
afuna@2161
   486
h2.module-header {
afuna@2161
   487
    margin-top: 0;
afuna@2161
   488
    margin-bottom: 0;
afuna@2161
   489
    clear: left;
afuna@2161
   490
}
afuna@2161
   491
afuna@2161
   492
h2.module-header a {
afuna@2161
   493
    text-decoration: none;
afuna@2161
   494
}
afuna@2161
   495
afuna@2161
   496
.module-navlinks ul li {
afuna@2161
   497
    display: inline;
afuna@2161
   498
}
afuna@2161
   499
afuna@2161
   500
.module-tags_list ul.module-list {
afuna@2161
   501
    list-style: none;
afuna@2161
   502
    padding-left: 0;
afuna@2161
   503
    display: inline;
afuna@2161
   504
}
afuna@2161
   505
fu@2605
   506
.tags_cloud li, .module-tags_cloud li { 
fu@2605
   507
    display: inline;
fu@2605
   508
    list-style-type: none; 
fu@2605
   509
}
fu@2605
   510
afuna@2161
   511
.module-tags_list ul.module-list li {
afuna@2161
   512
    display: inline;
afuna@2161
   513
}
afuna@2161
   514
fu@3360
   515
.module-typelist .manage-link:before,
fu@3360
   516
.module-tags_list .manage-link:before,
fu@3360
   517
.module-tags_multilevel .manage-link:before {
afuna@2161
   518
    content: "(";
afuna@2161
   519
}
afuna@2161
   520
fu@3360
   521
.module-typelist .manage-link:after,
fu@3360
   522
.module-tags_list .manage-link:after,
fu@3360
   523
.module-tags_multilevel .manage-link:after {
afuna@2161
   524
    content: ")";
afuna@2161
   525
}
afuna@2161
   526
afuna@2161
   527
/*
afuna@2161
   528
 * Single Post and Comment pages
afuna@2161
   529
 */
afuna@2161
   530
afuna@2161
   531
#primary .entry, #primary .comment {
afuna@2161
   532
    position: relative;
afuna@2161
   533
}
afuna@2161
   534
fu@3057
   535
.comment-title {
fu@3057
   536
    $comment_title_font
fu@3057
   537
    }
fu@3057
   538
kareila@2543
   539
.comment-title h4 {
kareila@2543
   540
    font-size: inherit;
kareila@2543
   541
    font-weight: inherit;
fu@2563
   542
    margin: 0;
fu@2563
   543
    padding: 0;
kareila@2543
   544
}
kareila@2543
   545
afuna@2161
   546
/* Entry header */
afuna@2161
   547
afuna@2161
   548
.has-userpic .entry .header {
afuna@2161
   549
    margin-bottom: 1em;
afuna@2161
   550
}
afuna@2161
   551
afuna@2161
   552
.entry {
afuna@2161
   553
    border-top: solid 2px $*color_page_border;
afuna@2161
   554
}
afuna@2161
   555
fu@2209
   556
.entry .entry-title {
fu@2209
   557
    $entry_title_font
fu@3002
   558
    $entrytitle_padding
fu@2209
   559
}
afuna@2161
   560
afuna@2161
   561
.entry .metadata-label {
afuna@2161
   562
    font-weight: bold;
afuna@2161
   563
}
afuna@2161
   564
afuna@2161
   565
.entry .metadata-label:first {
afuna@2161
   566
    text-transform: uppercase;
afuna@2161
   567
}
afuna@2161
   568
afuna@2161
   569
.entry .metadata ul {  
afuna@2161
   570
    list-style: none;
afuna@2161
   571
    padding-left: 0;
afuna@2161
   572
}
afuna@2161
   573
afuna@2161
   574
.entry .metadata {
afuna@2161
   575
    margin-top: 1em;
afuna@2161
   576
    position: relative;
afuna@2161
   577
}
afuna@2161
   578
fu@2358
   579
.entry .metadata.top-metadata {
fu@2358
   580
    margin-top: 0;
fu@2358
   581
}
fu@2358
   582
afuna@2161
   583
.entry h3.entry-title {
afuna@2161
   584
    font-size: 2em;
afuna@2161
   585
}
afuna@2161
   586
afuna@2161
   587
.entry h3.entry-title a {
afuna@2161
   588
    text-decoration: none;
afuna@2161
   589
}
afuna@2161
   590
afuna@2161
   591
.entry .contents .userpic a img {
afuna@2161
   592
    border: 0;
afuna@2161
   593
    margin-bottom: 10px;
afuna@2161
   594
}
afuna@2161
   595
afuna@2161
   596
.has-userpic .entry .poster {
afuna@2161
   597
    top:-35px;
afuna@2161
   598
    position:relative;
afuna@2161
   599
}
afuna@2161
   600
afuna@2161
   601
/* Main body of a post */
afuna@2161
   602
/* Pushed down in order to accomodate the header being next to the icon. */
afuna@2161
   603
.entry .contents {
afuna@2161
   604
    position: relative;
fu@3482
   605
    bottom: $entry_contentsfooter_shift;
afuna@2161
   606
}
afuna@2161
   607
afuna@2161
   608
/* Single post metadata links location/etc. */
afuna@2161
   609
.entry .footer {
afuna@2161
   610
    position: relative;
fu@3482
   611
    bottom: $entry_contentsfooter_shift;
afuna@2161
   612
}
afuna@2161
   613
afuna@2161
   614
/* Entry/Comment links */
fu@4187
   615
ul.entry-interaction-links, ul.entry-management-links,
fu@4187
   616
ul.comment-management-links, ul.comment-interaction-links {
afuna@2161
   617
    list-style: none;
afuna@2161
   618
    padding-left: 0;
afuna@2161
   619
    margin-bottom: 10px;
afuna@2161
   620
    margin-top: 10px;
afuna@2161
   621
}
afuna@2161
   622
afuna@2161
   623
/* entries w/o icons (especially feeds) needs to be styled separately */
afuna@2161
   624
afuna@2161
   625
.ljsyndicationlink {
afuna@2161
   626
    margin-top: 1em;
afuna@2161
   627
}
afuna@2161
   628
afuna@2161
   629
#primary .no-userpic .header {
afuna@2161
   630
    position: static;
afuna@2161
   631
    padding-bottom: 1em;
afuna@2161
   632
}
afuna@2161
   633
afuna@2161
   634
.no-userpic .poster .entry-poster {
afuna@2161
   635
    position: static;
afuna@2161
   636
}
afuna@2161
   637
afuna@2161
   638
.no-userpic .entry .contents {
afuna@2161
   639
    position: static;
afuna@2161
   640
}
afuna@2161
   641
afuna@2161
   642
.no-userpic .entry .footer {
afuna@2161
   643
    position: static;
afuna@2161
   644
}
afuna@2161
   645
afuna@2161
   646
/*
afuna@2161
   647
 * Calendar/Archive page
afuna@2161
   648
 * NB: This is horribly inaccessible so mostly I just have trashed/hidden it :)
afuna@2161
   649
 */
afuna@2161
   650
afuna@2161
   651
#archive-year table.month {
afuna@2161
   652
    display: none;
afuna@2161
   653
}
afuna@2161
   654
fu@4187
   655
#archive-year .month .header h3,
fu@4187
   656
#archive-year .month .footer a {
afuna@2161
   657
    margin-left: 0;
afuna@2161
   658
    float: left;
afuna@2161
   659
    clear: left;
afuna@2161
   660
}
afuna@2161
   661
afuna@2161
   662
/*
afuna@2161
   663
 * Comments
afuna@2161
   664
 */
afuna@2161
   665
#comments .userpic a img, .comment-wrapper .userpic a img  {
afuna@2161
   666
    border: 0;
afuna@2161
   667
    margin-bottom: 10px;
afuna@2161
   668
}
afuna@2161
   669
afuna@2161
   670
#comments .comment-content, .comment-wrapper .comment-content {
afuna@2161
   671
    margin-top: 1em;
afuna@2161
   672
    margin-bottom: 1em;
afuna@2161
   673
}
afuna@2161
   674
fu@4187
   675
ul.entry-interaction-links li, ul.entry-management-links li,
fu@4187
   676
ul.comment-interaction-links li, ul.comment-management-links li {
afuna@2161
   677
    display: inline;
afuna@2161
   678
    font-weight: bold;
afuna@2161
   679
}
afuna@2161
   680
afuna@2161
   681
.tag {
afuna@2161
   682
    margin-top: 1em;
afuna@2161
   683
}
afuna@2161
   684
afuna@2161
   685
.tag ul {
afuna@2161
   686
    list-style: none;
afuna@2161
   687
    display: inline;
afuna@2161
   688
    padding-left: 0;
afuna@2161
   689
}
afuna@2161
   690
afuna@2161
   691
.tag ul li {
afuna@2161
   692
    display: inline;
afuna@2161
   693
}
afuna@2161
   694
afuna@2161
   695
/*
afuna@2161
   696
 * page footer
afuna@2161
   697
 */
afuna@2161
   698
afuna@2161
   699
.module-credit .module-content dl dt, .module-credit .module-content dl dd {
afuna@2161
   700
       display: inline;
afuna@2161
   701
       margin-left: 0;
afuna@2161
   702
}
afuna@2161
   703
fu@3022
   704
.module-section-one {
fu@3022
   705
    padding-top: 1em;
fu@3022
   706
}
fu@3022
   707
fu@3022
   708
.module-section-two {
afuna@2161
   709
    border-top: solid $*color_page_border 2px;
afuna@2161
   710
    padding-top: 1em;
afuna@2161
   711
}
afuna@2161
   712
afuna@2161
   713
ul.module-list {
afuna@2161
   714
    list-style: none;
afuna@2161
   715
    padding-left: 0;
afuna@2161
   716
}
afuna@2161
   717
afuna@2161
   718
module-section-two ul.module-list li {
afuna@2161
   719
    display: inline;
afuna@2161
   720
afuna@2161
   721
}
afuna@2161
   722
fu@4187
   723
.page-top {
afuna@2161
   724
    text-align: right;
afuna@2161
   725
    margin-bottom: 10px;
afuna@2161
   726
}
afuna@2161
   727
fu@4213
   728
/*
fu@4213
   729
 * icons page
fu@4213
   730
 */
fu@4213
   731
fu@4213
   732
.sorting-options ul {
fu@4213
   733
    list-style: none;
fu@4213
   734
    padding-left: 0;
fu@4213
   735
    }
fu@4213
   736
fu@4213
   737
.sorting-options ul li {
fu@4213
   738
    display: inline;
fu@4213
   739
    }
fu@4213
   740
fu@4213
   741
.page-icons .icon {
fu@4213
   742
    margin: 1em 0;
fu@4213
   743
    }
fu@4213
   744
fu@4213
   745
.icon-image {
fu@4213
   746
    float: left;
fu@4213
   747
    clear: left;
fu@4213
   748
    margin-bottom: .25em;
fu@4213
   749
    min-width: 100px;
fu@4213
   750
    padding-right: 1em;
fu@4213
   751
    }
fu@4213
   752
fu@4213
   753
.icon-info {
fu@4213
   754
    min-height: 100px;
fu@4213
   755
    }
fu@4213
   756
fu@4213
   757
.icon-info span {
fu@4213
   758
    font-weight: bold;
fu@4213
   759
    }
fu@4213
   760
fu@4213
   761
.icon-info .default {
fu@4213
   762
    text-decoration: underline;
fu@4213
   763
    }
fu@4213
   764
fu@4213
   765
.icon-info .keywords ul {
fu@4213
   766
    display: inline;
fu@4213
   767
    list-style: none;
fu@4213
   768
    padding-left: 0;
fu@4213
   769
    }
fu@4213
   770
fu@4213
   771
.icon-info .keywords ul li {
fu@4213
   772
    display: inline;
fu@4240
   773
    padding: 0 .25em 0 0;
fu@4213
   774
    }
fu@4213
   775
fu@2565
   776
$userpic_css
fu@2565
   777
afuna@2161
   778
/* End of CSS file */""";
fu@2358
   779
}