font-style: italic;
}
+nav div#titleappend {
+ /* Vertically align.*/
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+
+ /* Position on right hand side of navigation bar. */
+ margin-left: auto;
+ text-align: center;
+
+ /* Pad appropriately. */
+ padding: 1% 2%;
+
+ /* Emphasise. */
+ color: red;
+ font-weight: bold;
+}
+
/* Hide collapsible menu checkbox. */
input#menutoggle {
display: none;
<?php
require_once('includes/utils.php');
require_once('includes/html-templating.php');
+include_once('includes/config.php');
function get_menu_pages() {
return [
</a>
</li><?php
}?>
- </ul>
+ </ul><?php
+ $cfg = get_config();
+ if (!empty($cfg['title_append'])) {?>
+ <div id="titleappend"><?php esc($cfg['title_append']);?></div>
+ <div class="clear"></div><?php
+ }?>
</nav>
<!--nav class="navbar" id="subnav">
<ul><li><a href="#">About</a></li></ul>