Added space between title and headerlink

Horizontal alignment prev-next links
This commit is contained in:
Marieke
2014-05-06 22:25:33 +02:00
parent a23c5a68f1
commit c99848a912
2 changed files with 33 additions and 3 deletions

View File

@@ -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">{{ "&laquo;"|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) }} {{ "&raquo;"|safe }}</span>
</a>
</li>
{%- endif %}
{%- if prev or next %}
</ul>
{%- endif %}

View File

@@ -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;