From f22bf7ffb8217525a17ec3e1414fa642047f8584 Mon Sep 17 00:00:00 2001 From: Marc Schumann Date: Tue, 29 Nov 2011 22:17:34 +0100 Subject: Bug 692737 - Main page icons are not centered. r/a=mkanat --- skins/standard/index.css | 29 +++++++++++++++++---------- template/en/default/index.html.tmpl | 40 ++++++++++++++++++++++--------------- 2 files changed, 42 insertions(+), 27 deletions(-) diff --git a/skins/standard/index.css b/skins/standard/index.css index 1b28dabd8..1e440cb99 100644 --- a/skins/standard/index.css +++ b/skins/standard/index.css @@ -26,7 +26,6 @@ easier on customizers. */ .intro, .outro { text-align: center; - width: 20em; } /* Hide from NN4 */ @@ -49,24 +48,32 @@ { font-weight: bold; } - + .bz_common_actions { - display: block; + text-align: center; + } + .bz_common_actions ul { + list-style-type: none; + padding: 0; + } + .bz_common_actions ul li { + display: inline; + vertical-align: top; + } + .bz_common_actions ul li a { + display: inline-block; height: 170px; width: 145px; - float: left; margin: 0 2ex 2em 0; - text-align: center; } - .bz_common_actions span { + .bz_common_actions ul li a span { position: relative; - top: 95%; + top: 90%; font-weight: bold; } - .bz_common_actions, - .bz_common_actions:visited, - .bz_common_actions:hover - { + .bz_common_actions a, + .bz_common_actions a:visited, + .bz_common_actions a:hover { text-decoration: none; } #enter_bug { background: url(index/file-a-bug.png) no-repeat; } diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl index 98648e25e..5b9237aa1 100644 --- a/template/en/default/index.html.tmpl +++ b/template/en/default/index.html.tmpl @@ -125,22 +125,30 @@ YAHOO.util.Event.onDOMReady(onLoadActions);

Welcome to [% terms.Bugzilla %]

[% Hook.process('intro') %]
- File [% terms.aBug %] - - Search - - User Preferences - [% ELSIF Param('createemailregexp') - && user.authorizer.user_can_create_account - %] - href="createaccount.cgi">Open a New Account - [% ELSE %] - href="?GoAheadAndLogIn=1">Log In - [% END %] + +
+ +
-- cgit v1.2.3-24-g4f1b