Improve GeSHi code and book navigation view
This commit is contained in:
parent
e83619e12d
commit
30e8009713
2 changed files with 13 additions and 2 deletions
|
@ -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 '‹ ' . $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 . ' ›'; ?></a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
|
|
@ -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;
|
||||
|
|
Reference in a new issue