diff --git a/css/style.css b/css/style.css index 6d1e67b..464fca3 100644 --- a/css/style.css +++ b/css/style.css @@ -192,7 +192,7 @@ input[type=submit]:hover { .r4, .md-image, .md-content, -#content-header h1, +#content-header #title-tabs, #content-area, .fullnode, .comment-wrapper, @@ -235,7 +235,7 @@ ul.pager { /* CONTENT -----------------------------------*/ -#content-header h1, +#content-header #title-tabs, .fullnode, .comment-wrapper, #content-area { @@ -244,14 +244,13 @@ ul.pager { color: #fff; } -#content-header { - position: relative +#content-header div.tabs { + float: right; } -#content-header .tabs { - position: absolute; - top: 5px; - right: 3px +#content-header div.tabs ul.tabs { + clear: right; + float: right; } .tabs ul.primary { @@ -267,8 +266,9 @@ ul.pager { } #content-header h1 { - margin: 0; + margin: 0 1em 0 0; color: #fff; + float: left; } #content-area, diff --git a/js/md_minimal.js b/js/md_minimal.js index 9b876a9..c2dfcae 100644 --- a/js/md_minimal.js +++ b/js/md_minimal.js @@ -1,13 +1,8 @@ jQuery(function() { - var $totalw = 50; var $totalcmw = 50; - jQuery('#content-header a').each(function(){ - $totalw += jQuery(this).outerWidth(); - }); jQuery('#comments div.links:first a').each(function(){ $totalcmw += jQuery(this).outerWidth(); }); - jQuery('#content-header div.tabs').width($totalw); jQuery('#comments div.links').width($totalcmw); jQuery('.node-teaser').hover( diff --git a/templates/page.tpl.php b/templates/page.tpl.php index ea9ff33..77ee9bf 100644 --- a/templates/page.tpl.php +++ b/templates/page.tpl.php @@ -25,24 +25,30 @@
- +
- -

+ +
+ + +

+ + + +
+ + +
- -
- - @@ -65,4 +71,4 @@
-
\ No newline at end of file +