mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-04 02:36:49 +07:00
Added space between title and headerlink
Horizontal alignment prev-next links
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
{# Switch to icon instead of text in `sm` view size for BS3 only. #}
|
||||
{%- if prev or next %}
|
||||
<ul class="prevnext-title list-unstyled list-inline">
|
||||
{%- endif %}
|
||||
{%- if prev %}
|
||||
<li>
|
||||
<li class="prev">
|
||||
<a href="{{ prev.link|e }}" title="{{ _('Previous Chapter: ') + prev.title|striptags }}">
|
||||
{%- if theme_bootstrap_version == "3" -%}<span class="glyphicon glyphicon-chevron-left visible-sm"></span>{%- endif -%}
|
||||
<span class="hidden-sm">{{ "«"|safe }} {{ prev.title|striptags|truncate(length=16, killwords=True) }}</span>
|
||||
@@ -8,10 +11,13 @@
|
||||
</li>
|
||||
{%- endif %}
|
||||
{%- if next %}
|
||||
<li>
|
||||
<li class="next">
|
||||
<a href="{{ next.link|e }}" title="{{ _('Next Chapter: ') + next.title|striptags }}">
|
||||
{%- if theme_bootstrap_version == "3" -%}<span class="glyphicon glyphicon-chevron-right visible-sm"></span>{%- endif -%}
|
||||
<span class="hidden-sm">{{ next.title|striptags|truncate(length=16, killwords=True) }} {{ "»"|safe }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{%- endif %}
|
||||
{%- if prev or next %}
|
||||
</ul>
|
||||
{%- endif %}
|
||||
|
||||
@@ -1,11 +1,35 @@
|
||||
/* This css file should only be used for Documentation, not replace the styles.css in owncloud.org website */
|
||||
|
||||
/* -- begin specific css for documentation -- */
|
||||
|
||||
ul#menu-support.menu {
|
||||
padding-left: 0;
|
||||
}
|
||||
ul#menu-support.menu ul {
|
||||
padding-left: 20px;
|
||||
}
|
||||
/* -- end of specific css for documentation -- */
|
||||
.headerlink {
|
||||
color: rgba(66, 139, 202,0.5);
|
||||
display: none;
|
||||
margin-left: 5px;
|
||||
}
|
||||
.section:hover > * > .headerlink {
|
||||
display: inline-block;
|
||||
}
|
||||
.section:hover > dl > dt > .headerlink {
|
||||
display: inline-block;
|
||||
}
|
||||
.method:hover .headerlink {
|
||||
display: inline-block;
|
||||
}
|
||||
a:hover, a:active {
|
||||
color: #3276B1;
|
||||
}
|
||||
li.next {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* -- End of specific css for documentation -- */
|
||||
|
||||
.navbar-header .logo {
|
||||
width: 121px;
|
||||
|
||||
Reference in New Issue
Block a user