Remove whitespace between link and site name in maintenance page
[project/zen.git] / templates / maintenance-page.tpl.php
1 <?php
2 /**
3 * @file
4 * Zen theme's implementation to display a single Drupal page while offline.
5 *
6 * All the available variables are mirrored in html.tpl.php and page.tpl.php.
7 * Some may be blank but they are provided for consistency.
8 *
9 * @see template_preprocess()
10 * @see template_preprocess_maintenance_page()
11 */
12 ?><!DOCTYPE html>
13 <!--[if IEMobile 7]><html class="iem7" <?php print $html_attributes; ?>><![endif]-->
14 <!--[if lte IE 6]><html class="ie6 ie6-7 ie6-8" <?php print $html_attributes; ?>><![endif]-->
15 <!--[if (IE 7)&(!IEMobile)]><html class="ie7 ie6-7 ie6-8" <?php print $html_attributes; ?>><![endif]-->
16 <!--[if IE 8]><html class="ie8 ie6-8" <?php print $html_attributes; ?>><![endif]-->
17 <!--[if (gte IE 9)|(gt IEMobile 7)]><!--><html <?php print $html_attributes; ?>><!--<![endif]-->
18
19 <head>
20 <?php print $head; ?>
21 <title><?php print $head_title; ?></title>
22
23 <?php if ($add_responsive_meta): ?>
24 <meta name="viewport" content="width=device-width, target-densityDpi=160dpi, initial-scale=1">
25 <meta name="MobileOptimized" content="width">
26 <meta name="HandheldFriendly" content="true">
27 <meta name="apple-mobile-web-app-capable" content="yes">
28 <?php endif; ?>
29 <meta http-equiv="cleartype" content="on">
30 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
31
32 <?php print $styles; ?>
33 <?php print $scripts; ?>
34 <?php if ($add_respond_js): ?>
35 <!--[if lt IE 9]>
36 <script src="<?php print $base_path . $path_to_zen; ?>/js/html5-respond.js"></script>
37 <![endif]-->
38 <?php elseif ($add_html5_shim): ?>
39 <!--[if lt IE 9]>
40 <script src="<?php print $base_path . $path_to_zen; ?>/js/src/html5-innershiv.js"></script>
41 <![endif]-->
42 <?php endif; ?>
43 </head>
44 <body class="<?php print $classes; ?>">
45
46 <div id="page-wrapper"><div id="page">
47
48 <header id="header"><div class="section clearfix">
49
50 <?php if ($logo): ?>
51 <a href="<?php print $base_path; ?>" title="<?php print t('Home'); ?>" rel="home" id="logo"><img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" /></a>
52 <?php endif; ?>
53
54 <?php if ($site_name || $site_slogan): ?>
55 <hgroup id="name-and-slogan">
56 <?php if ($site_name): ?>
57 <h1 id="site-name">
58 <a href="<?php print $base_path; ?>" title="<?php print t('Home'); ?>" rel="home"><span><?php print $site_name; ?></span></a>
59 </h1>
60 <?php endif; ?>
61 <?php if ($site_slogan): ?>
62 <h2 id="site-slogan"><?php print $site_slogan; ?></h2>
63 <?php endif; ?>
64 </hgroup><!-- /#name-and-slogan -->
65 <?php endif; ?>
66
67 <?php print $header; ?>
68
69 </div></header><!-- /.section, /#header -->
70
71 <div id="main-wrapper"><div id="main" class="clearfix">
72
73 <div id="content" class="column" role="main"><div class="section">
74
75 <?php print $highlighted; ?>
76
77 <?php if ($title): ?>
78 <h1 class="title"><?php print $title; ?></h1>
79 <?php endif; ?>
80 <?php print $messages; ?>
81
82 <?php print $content; ?>
83
84 </div></div><!-- /.section, /#content -->
85
86 <div id="navigation"><div class="section clearfix">
87 <?php print $navigation; ?>
88 </div></div><!-- /.section, /#navigation -->
89
90 <?php if ($sidebar_first || $sidebar_second): ?>
91 <aside class="sidebars">
92 <?php print $sidebar_first; ?>
93 <?php print $sidebar_second; ?>
94 </aside><!-- /.sidebars -->
95 <?php endif; ?>
96
97 </div></div><!-- /#main, /#main-wrapper -->
98
99 <?php print $footer; ?>
100
101 </div></div><!-- /#page, /#page-wrapper -->
102
103 <?php print $bottom; ?>
104
105 </body>
106 </html>