Ticket #2105: hatom-kubrick.diff

File hatom-kubrick.diff, 8.0 KB (added by myelin, 6 years ago)

Patch to add hAtom support into Kubrick theme

  • wp-content/themes/default/style.css

     
    4848        font-size: 1.2em 
    4949        } 
    5050 
    51 .widecolumn .entry p { 
     51.widecolumn .content p { 
    5252        font-size: 1.05em; 
    5353        } 
    5454 
    55 .narrowcolumn .entry, .widecolumn .entry { 
     55.narrowcolumn .content, .widecolumn .content { 
    5656        line-height: 1.4em; 
    5757        } 
    5858 
     
    125125        text-decoration: none; 
    126126        } 
    127127 
    128 .entry p a:visited { 
     128.content p a:visited { 
    129129        color: #b85b5a; 
    130130        } 
    131131 
     
    247247        width: 450px; 
    248248        } 
    249249         
    250 .post { 
     250.entry { 
    251251        margin: 0 0 40px; 
    252252        text-align: justify; 
    253253        } 
    254254 
    255 .widecolumn .post { 
     255.widecolumn .entry { 
    256256        margin: 0; 
    257257        } 
    258258 
     
    378378        Special stylized non-IE bullets 
    379379        Do not work in Internet Explorer, which merely default to normal bullets. */ 
    380380 
    381 html>body .entry ul { 
     381html>body .content ul { 
    382382        margin-left: 0px; 
    383383        padding: 0 0 0 30px; 
    384384        list-style: none; 
     
    386386        text-indent: -10px; 
    387387        }  
    388388 
    389 html>body .entry li { 
     389html>body .content li { 
    390390        margin: 7px 0 8px 10px; 
    391391        } 
    392392 
    393 .entry ul li:before, #sidebar ul ul li:before { 
     393.content ul li:before, #sidebar ul ul li:before { 
    394394        content: "\00BB \0020"; 
    395395        } 
    396396 
    397 .entry ol { 
     397.content ol { 
    398398        padding: 0 0 0 35px; 
    399399        margin: 0; 
    400400        } 
    401401 
    402 .entry ol li { 
     402.content ol li { 
    403403        margin: 0; 
    404404        padding: 0; 
    405405        } 
     
    441441        margin: 3px 0 0; 
    442442        padding: 0; 
    443443        } 
    444 /* End Entry Lists */ 
     444/* End Content Lists */ 
    445445 
    446446 
    447447 
     
    461461        padding: 1px; 
    462462        } 
    463463 
    464 .entry form { /* This is mainly for password protected posts, makes them look better. */ 
     464.content form { /* This is mainly for password protected posts, makes them look better. */ 
    465465        text-align:center; 
    466466        } 
    467467 
  • wp-content/themes/default/search.php

     
    1414 
    1515                <?php while (have_posts()) : the_post(); ?> 
    1616                                 
    17                         <div class="post"> 
     17                        <div class="entry"> 
    1818                                <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3> 
    1919                                <small><?php the_time('l, F jS, Y') ?></small> 
    2020                 
  • wp-content/themes/default/index.php

     
    11<?php get_header(); ?> 
    22 
    3         <div id="content" class="narrowcolumn"> 
     3        <div id="content" class="narrowcolumn feed"> 
    44 
    55        <?php if (have_posts()) : ?> 
    66                 
    77                <?php while (have_posts()) : the_post(); ?> 
    88                                 
    9                         <div class="post" id="post-<?php the_ID(); ?>"> 
     9                        <div class="entry" id="post-<?php the_ID(); ?>"> 
    1010                                <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> 
    1111                                <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small> 
    1212                                 
    13                                 <div class="entry"> 
     13                                <div class="content"> 
    1414                                        <?php the_content('Read the rest of this entry &raquo;'); ?> 
    1515                                </div> 
    1616                 
  • wp-content/themes/default/page.php

     
    33        <div id="content" class="narrowcolumn"> 
    44 
    55    <?php if (have_posts()) : while (have_posts()) : the_post(); ?> 
    6                 <div class="post" id="post-<?php the_ID(); ?>"> 
     6                <div class="entry" id="post-<?php the_ID(); ?>"> 
    77                <h2><?php the_title(); ?></h2> 
    88                        <div class="entrytext"> 
    99                                <?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?> 
  • wp-content/themes/default/single.php

     
    11<?php get_header(); ?> 
    22 
    3         <div id="content" class="widecolumn"> 
     3        <div id="content" class="widecolumn feed"> 
    44                                 
    55  <?php if (have_posts()) : while (have_posts()) : the_post(); ?> 
    66         
     
    99                        <div class="alignright"><?php next_post_link('%link &raquo;') ?></div> 
    1010                </div> 
    1111         
    12                 <div class="post" id="post-<?php the_ID(); ?>"> 
     12                <div class="entry" id="post-<?php the_ID(); ?>"> 
    1313                        <h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2> 
    1414         
    1515                        <div class="entrytext"> 
    16                                 <?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?> 
     16                                <div class="content"> 
     17                                        <?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?> 
    1718         
    18                                 <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?> 
     19                                        <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?> 
     20                                </div> 
    1921         
    2022                                <p class="postmetadata alt"> 
    2123                                        <small> 
     
    2426                                                        You'll need to download this plugin, and follow the instructions: 
    2527                                                        http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */ 
    2628                                                        /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>  
    27                                                 on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?> 
     29                                                on <abbr class="published" title="<?php $t = get_the_time('Y-m-d\TH:i:sO'); echo substr($t, 0, strlen($t)-2).":".substr($t, strlen($t)-2); ?>"><?php the_time('l, F jS, Y') ?> at <?php the_time() ?></abbr> 
    2830                                                and is filed under <?php the_category(', ') ?>. 
    2931                                                You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed.  
    3032                                                 
  • wp-content/themes/default/archive.php

     
    3535                </div> 
    3636 
    3737                <?php while (have_posts()) : the_post(); ?> 
    38                 <div class="post"> 
     38                <div class="entry"> 
    3939                                <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3> 
    4040                                <small><?php the_time('l, F jS, Y') ?></small> 
    4141                                 
    42                                 <div class="entry"> 
     42                                <div class="content"> 
    4343                                        <?php the_content() ?> 
    4444                                </div> 
    4545                 
  • wp-content/themes/default/attachment.php

     
    1010                </div> 
    1111<?php $attachment_link = get_the_attachment_link($post->ID, true, array(450, 800)); // This also populates the iconsize for the next line ?> 
    1212<?php $_post = &get_post($post->ID); $classname = ($_post->iconsize[0] <= 128 ? 'small' : '') . 'attachment'; // This lets us style narrow icons specially ?> 
    13                 <div class="post" id="post-<?php the_ID(); ?>"> 
     13                <div class="entry" id="post-<?php the_ID(); ?>"> 
    1414                        <h2><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"><?php echo get_the_title($post->post_parent); ?></a> &raquo; <a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2> 
    1515                        <div class="entrytext"> 
    1616                                <p class="<?php echo $classname; ?>"><?php echo $attachment_link; ?><br /><?php echo basename($post->guid); ?></p> 
     
    2626                                                        You'll need to download this plugin, and follow the instructions: 
    2727                                                        http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */ 
    2828                                                        /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>  
    29                                                 on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?> 
     29                                                on <abbr class="published" title="<?php the_time('l') ?>"><?php the_time('l, F jS, Y') ?> at <?php the_time() ?></abbr> 
    3030                                                and is filed under <?php the_category(', ') ?>. 
    3131                                                You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed.  
    3232