Improve GeSHi code and book navigation view

This commit is contained in:
Manuel Cillero 2017-08-28 01:24:47 +02:00
parent e83619e12d
commit 30e8009713
2 changed files with 13 additions and 2 deletions

View file

@ -36,13 +36,13 @@
<?php if ($has_links): ?>
<div class="page-links clear-block">
<?php if ($prev_url) : ?>
<a href="<?php print $prev_url; ?>" class="page-previous" title="<?php print t('Go to previous page'); ?>"><?php print t(' ') . $prev_title; ?></a>
<a href="<?php print $prev_url; ?>" class="page-previous" title="<?php print t('Go to previous page'); ?>"><?php print '&nbsp;' . $prev_title; ?></a>
<?php endif; ?>
<?php if ($parent_url) : ?>
<a href="<?php print $parent_url; ?>" class="page-up" title="<?php print t('Go to parent page'); ?>"><?php print t('up'); ?></a>
<?php endif; ?>
<?php if ($next_url) : ?>
<a href="<?php print $next_url; ?>" class="page-next" title="<?php print t('Go to next page'); ?>"><?php print $next_title . t(' '); ?></a>
<a href="<?php print $next_url; ?>" class="page-next" title="<?php print t('Go to next page'); ?>"><?php print $next_title . '&nbsp;'; ?></a>
<?php endif; ?>
</div>
<?php endif; ?>

View file

@ -55,6 +55,17 @@ div.geshifilter li {
line-height: 1.3;
}
@media (max-width: 899px) {
div.geshifilter pre, div.geshifilter li {
font-size: 94%;
}
}
@media (max-width: 529px) {
div.geshifilter pre, div.geshifilter li {
font-size: 88%;
}
}
/* CSS resets for the table elements in GESHI_HEADER_PRE_TABLE mode */
div.geshifilter table, div.geshifilter tbody, div.geshifilter tr, div.geshifilter td {
margin: 0;