From b5d57d5313b61842a72f0e2ad002cf633aa72dd7 Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Mon, 2 Apr 2012 17:17:14 +0200 Subject: diabook-themes: fixed pageheader --- view/theme/diabook/style-network.css | 6 ++-- view/theme/diabook/style-profile.css | 6 ++-- view/theme/diabook/style-settings.css | 7 ++-- view/theme/diabook/style.css | 6 ++-- view/theme/diabook/theme.php | 68 +++++++++++++++++------------------ 5 files changed, 50 insertions(+), 43 deletions(-) (limited to 'view/theme/diabook') diff --git a/view/theme/diabook/style-network.css b/view/theme/diabook/style-network.css index 641d35b39..2044e1126 100644 --- a/view/theme/diabook/style-network.css +++ b/view/theme/diabook/style-network.css @@ -1144,8 +1144,10 @@ section { body .pageheader{ text-align: center; - margin-top: 25px; - font-size: 0px; + font-size: 20px; + margin-bottom: 20px; + margin-top: 0px; + max-width: 575px; } #id_username { diff --git a/view/theme/diabook/style-profile.css b/view/theme/diabook/style-profile.css index 54b282310..2664adfc5 100644 --- a/view/theme/diabook/style-profile.css +++ b/view/theme/diabook/style-profile.css @@ -1138,8 +1138,10 @@ section { body .pageheader{ text-align: center; - margin-top: 25px; - font-size: 0px; + font-size: 20px; + margin-bottom: 20px; + margin-top: 0px; + max-width: 575px; } #id_username { diff --git a/view/theme/diabook/style-settings.css b/view/theme/diabook/style-settings.css index 46f7e957e..b23c2bb1b 100644 --- a/view/theme/diabook/style-settings.css +++ b/view/theme/diabook/style-settings.css @@ -1135,8 +1135,11 @@ section { body .pageheader{ text-align: center; - margin-top: 25px; - font-size: 0px; + font-size: 20px; + max-width: 575px; + margin-bottom: 20px; + margin-top: 0px; + max-width: 575px; } #id_username { diff --git a/view/theme/diabook/style.css b/view/theme/diabook/style.css index 99bf1b335..4ce3068f0 100644 --- a/view/theme/diabook/style.css +++ b/view/theme/diabook/style.css @@ -1190,8 +1190,10 @@ section { body .pageheader{ text-align: center; - margin-top: 25px; - font-size: 0px; + font-size: 20px; + margin-bottom: 20px; + margin-top: 0px; + max-width: 575px; } #id_username { diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index a535ed07e..34e5535de 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -265,7 +265,7 @@ if ($a->argv[0].$a->argv[1] === "profile".$a->user['nickname']){ } } -//tabs at right_aside on settings page +//tabs at aside on settings page if ($a->argv[0] === "settings"){ $tabs = array( @@ -324,55 +324,58 @@ $a->page['htmlhead'] .= sprintf(' + '; + +if ($a->argv[0].$a->argv[1] === "profile".$a->user['nickname'] or $a->argv[0] === "network" && local_user()){ +$a->page['htmlhead'] .= ' - - -EOT; +';} \ No newline at end of file -- cgit v1.2.3