Created
January 9, 2010 00:46
-
-
Save seedprod/272617 to your computer and use it in GitHub Desktop.
Thematic CSS Framework
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment