public
Last active

Thematic CSS Framework

  • Download Gist
gistfile1.phtml
HTML+PHP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
// add YUI tags and classes
function rhythm_yui_1(){
echo '<div id="custom-doc" class="yui-t6"> <div id="hd">';
}
add_action('thematic_aboveheader','rhythm_yui_1');
 
function rhythm_yui_3(){
echo '</div><!-- hd --> <div id="bd"> <div id="yui-main"> <div class="yui-b"> <div class="yui-g">';
}
add_action('thematic_belowheader','rhythm_yui_3');
 
function rhythm_yui_4(){
echo '</div><!-- bd --></div><!-- yui-main --></div><!-- yui-b --></div><!-- yui-g --><div class="yui-b">';
}
add_action('thematic_abovemainasides','rhythm_yui_4');
 
function rhythm_yui_11(){
echo '<div class="yui-g"><div class="yui-u first">';
}
add_action('thematic_abovemainasides','rhythm_yui_11',12);
 
function rhythm_yui_12(){
echo '</div><div class="yui-u">';
}
add_action('thematic_betweenmainasides','rhythm_yui_12',13);
 
function rhythm_yui_13(){
echo '</div></div> <!-- yui-g" -->';
}
add_action('thematic_belowmainasides','rhythm_yui_13',9);
 
function rhythm_yui_5(){
echo '</div> <!-- yui-b -->';
}
add_action('thematic_belowmainasides','rhythm_yui_5');
 
function rhythm_yui_2(){
echo '<div id="ft">';
}
add_action('thematic_abovefooter','rhythm_yui_2');
 
function rhythm_yui_6(){
echo '</div><!-- ft --></div><!-- doc -->';
}
add_action('thematic_belowfooter','rhythm_yui_6');
 
function rhythm_yui_7(){
echo ' <div class="yui-gb"> <div class="yui-u first">';
}
add_action('thematic_before_first_sub','rhythm_yui_7');
 
function rhythm_yui_8(){
echo '</div><div class="yui-u">';
}
add_action('thematic_between_firstsecond_sub','rhythm_yui_8');
 
function rhythm_yui_9(){
echo '</div><div class="yui-u">';
}
add_action('thematic_between_secondthird_sub','rhythm_yui_9');
 
function rhythm_yui_10(){
echo '</div></div><!-- yui-gb -->';
}
add_action('thematic_after_third_sub','rhythm_yui_10');

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.