♿️ Use titles only for the article region
This commit is contained in:
parent
dcb99c6a97
commit
1fe3640c28
4 changed files with 18 additions and 16 deletions
|
@ -58,13 +58,14 @@ header#main-header {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
hgroup {
|
#title-container {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
padding: 4rem;
|
padding: 4rem;
|
||||||
p, h1 {
|
p, h1 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -261,6 +262,7 @@ hgroup {
|
||||||
font-weight: 700
|
font-weight: 700
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#site-title,
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
h3,
|
h3,
|
||||||
|
@ -272,7 +274,7 @@ h6 {
|
||||||
font-weight: 700
|
font-weight: 700
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1, #site-title {
|
||||||
font-size: 3rem
|
font-size: 3rem
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
<header id="main-header">
|
<header id="main-header">
|
||||||
<nav aria-label="<?php $language->p('Pages') ?>"><?php echo MenuHelper::getStatics(6, true, "", "", "active", '<li class="separator-left"><a href="'.Theme::siteUrl().'rss.xml">RSS</a></li>'); ?></nav>
|
<nav aria-label="<?php $language->p('Pages') ?>"><?php echo MenuHelper::getStatics(6, true, "", "", "active", '<li class="separator-left"><a href="'.Theme::siteUrl().'rss.xml">RSS</a></li>'); ?></nav>
|
||||||
<hgroup id="title-container">
|
<div id="title-container">
|
||||||
<?php $logo = MediaHelper::getLogo(); ?>
|
<?php $logo = MediaHelper::getLogo(); ?>
|
||||||
<?php if ($logo) : ?>
|
<?php if ($logo) : ?>
|
||||||
<h1><?php echo $logo->toHTML('logo') ?></h1>
|
<div id="site-title"><?php echo $logo->toHTML('logo') ?></div>
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<h1><?php echo $site->title() ?></h1>
|
<p id="site-title"><?php echo $site->title() ?></h1>
|
||||||
<p><?php echo $site->description() ?></p>
|
<p><?php echo $site->description() ?></p>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</hgroup>
|
</div>
|
||||||
<nav aria-label="<?php $language->p('Categories') ?>"><?php echo MenuHelper::getCategories(true, false); ?></nav>
|
<nav aria-label="<?php $language->p('Categories') ?>"><?php echo MenuHelper::getCategories(true, false); ?></nav>
|
||||||
</header>
|
</header>
|
|
@ -9,7 +9,7 @@
|
||||||
<?php $language->p('No pages found') ?>
|
<?php $language->p('No pages found') ?>
|
||||||
</div>
|
</div>
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
<h2 class="p-name"><?php echo Theme::locationTitle(); ?></h2>
|
<h1 class="p-name"><?php echo Theme::locationTitle(); ?></h1>
|
||||||
<p class="p-summary"><?php echo Theme::locationDescription(); ?></p>
|
<p class="p-summary"><?php echo Theme::locationDescription(); ?></p>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
|
@ -21,9 +21,9 @@
|
||||||
<?php Theme::plugins('pageBegin'); ?>
|
<?php Theme::plugins('pageBegin'); ?>
|
||||||
|
|
||||||
<!-- Title -->
|
<!-- Title -->
|
||||||
<h3 class="title p-name entry-title">
|
<h2 class="title p-name entry-title">
|
||||||
<a class="u-url" rel="bookmark" href="<?php echo $page->permalink(); ?>"><?php echo $page->title(); ?></a>
|
<a class="u-url" rel="bookmark" href="<?php echo $page->permalink(); ?>"><?php echo $page->title(); ?></a>
|
||||||
</h3>
|
</h2>
|
||||||
|
|
||||||
<!-- Cover image -->
|
<!-- Cover image -->
|
||||||
<?php if ($page->coverImage()) : ?>
|
<?php if ($page->coverImage()) : ?>
|
||||||
|
|
|
@ -5,9 +5,9 @@
|
||||||
<?php Theme::plugins('pageBegin'); ?>
|
<?php Theme::plugins('pageBegin'); ?>
|
||||||
|
|
||||||
<!-- Title -->
|
<!-- Title -->
|
||||||
<h2 class="title p-name entry-title">
|
<h1 class="title p-name entry-title">
|
||||||
<a class="u-url" href="<?php echo $page->permalink(); ?>" rel="bookmark"><?php echo $page->title(); ?></a>
|
<a class="u-url" href="<?php echo $page->permalink(); ?>" rel="bookmark"><?php echo $page->title(); ?></a>
|
||||||
</h2>
|
</h1>
|
||||||
|
|
||||||
<!-- Cover image -->
|
<!-- Cover image -->
|
||||||
<?php if ($page->coverImage()) : ?>
|
<?php if ($page->coverImage()) : ?>
|
||||||
|
|
Loading…
Add table
Reference in a new issue