mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-07 14:35:26 +02:00
Changed styles naming and added margin for navigation
This commit is contained in:
parent
bb2113cab9
commit
1a0f3e2fdf
4 changed files with 5 additions and 4 deletions
|
@ -19,7 +19,7 @@ Usage example:
|
|||
{% set tag = 'a' %}
|
||||
{% endif %}
|
||||
|
||||
<div class="navigator_wrapper">
|
||||
<div class="navigator__wrapper">
|
||||
{% if label and url %}
|
||||
<{{ tag }}
|
||||
{{ name is not empty ? 'name="' ~ name ~ '"': '' }}
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
</section>
|
||||
<footer class="page_footer">
|
||||
<footer class="page__footer">
|
||||
{% include 'components/navigator.twig' with {label: previousPage.title, direction: 'previous', url: '/' ~ previousPage.uri} %}
|
||||
{% include 'components/navigator.twig' with {label: nextPage.title, direction: 'next', url: '/' ~ nextPage.uri} %}
|
||||
</footer>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
.navigator {
|
||||
margin-top: 35px;
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
display: flex;
|
||||
|
@ -32,7 +33,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
.navigator_wrapper {
|
||||
.navigator__wrapper {
|
||||
max-width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
|
|
@ -497,7 +497,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
.page_footer {
|
||||
.page__footer {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue