mirror of
https://github.com/nextcloud/documentation.git
synced 2026-03-26 13:28:45 +07:00
Adjust release style as well
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
committed by
John Molakvoæ (skjnldsv)
parent
1bc48a684c
commit
dcb10708db
@@ -100,25 +100,23 @@
|
|||||||
<div class="wrap container not-front">
|
<div class="wrap container not-front">
|
||||||
<div class="content row">
|
<div class="content row">
|
||||||
<main class="main">
|
<main class="main">
|
||||||
<div class="row page-content-header">
|
|
||||||
<div class="col-md-5 col-md-offset-7">
|
|
||||||
{% if theme_show_search %}
|
|
||||||
<form class="headersearch" style="margin-bottom:-3px;" action="{{ pathto('search') }}" method="get">
|
|
||||||
<input type="text" value="" name="q" id="q" class="form-control" />
|
|
||||||
<button class="btn btn-default" type="submit" id="searchsubmit">Search</button>
|
|
||||||
</form>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% block sidebartoc %}
|
{% block sidebartoc %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<div class="sidebar">
|
<div class="sidebar">
|
||||||
|
<h1>{{ project|e }}</h1>
|
||||||
|
{% if theme_show_search %}
|
||||||
|
<div class="sidebar-search">
|
||||||
|
<form class="headersearch" action="{{ pathto('search') }}" method="get">
|
||||||
|
<input type="text" value="" name="q" id="q" class="form-control" />
|
||||||
|
<button class="btn btn-default" type="submit" id="searchsubmit">Search</button>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
<div class="menu-support-container">
|
<div class="menu-support-container">
|
||||||
<ul id="menu-support" class="menu">
|
<ul id="menu-support" class="menu">
|
||||||
<ul>
|
<ul>
|
||||||
|
<li><a href="{{ pathto(master_doc) }}">Table of Contents</a></li>
|
||||||
<li><a href="{{ pathto(master_doc) }}">Table of Contents</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
{{ toctree(maxdepth=3) }}
|
{{ toctree(maxdepth=3) }}
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<li class="prev">
|
<li class="prev">
|
||||||
<a href="{{ prev.link|e }}" title="{{ _('Previous Chapter: ') + prev.title|striptags }}">
|
<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 -%}
|
{%- 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>
|
<span class="hidden-sm">{{ "«"|safe }} {{ prev.title|striptags }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
<li class="next">
|
<li class="next">
|
||||||
<a href="{{ next.link|e }}" title="{{ _('Next Chapter: ') + next.title|striptags }}">
|
<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 -%}
|
{%- 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>
|
<span class="hidden-sm">{{ next.title|striptags }} {{ "»"|safe }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -290,6 +290,25 @@ div.thumbnail > img {
|
|||||||
|
|
||||||
/* -- Start specific css for documentation -- */
|
/* -- Start specific css for documentation -- */
|
||||||
|
|
||||||
|
.sidebar h1 {
|
||||||
|
font-size: 1.5em;
|
||||||
|
margin: 0;
|
||||||
|
padding: 10px;
|
||||||
|
border-bottom: 1px solid #ccc;
|
||||||
|
}
|
||||||
|
.sidebar-search form {
|
||||||
|
display: flex;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.sidebar-search input,
|
||||||
|
.sidebar-search button {
|
||||||
|
margin: 10px;
|
||||||
|
}
|
||||||
|
.sidebar-search input {
|
||||||
|
flex-grow: 1;
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
ul#menu-support.menu {
|
ul#menu-support.menu {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
@@ -308,12 +327,6 @@ ul#menu-support.menu ul ul {
|
|||||||
ul#menu-support.menu ul ul ul {
|
ul#menu-support.menu ul ul ul {
|
||||||
list-style-type: square;
|
list-style-type: square;
|
||||||
}
|
}
|
||||||
/* having a separator between each elements of the top list and
|
|
||||||
between above the top of the third level list */
|
|
||||||
ul#menu-support.menu > ul > li,
|
|
||||||
ul#menu-support.menu ul ul ul {
|
|
||||||
border-top: 1px solid #EFEFEF;
|
|
||||||
}
|
|
||||||
/* set to default padding for the sublist of the current entry */
|
/* set to default padding for the sublist of the current entry */
|
||||||
ul#menu-support.menu ul > li.current > ul {
|
ul#menu-support.menu ul > li.current > ul {
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
@@ -347,25 +360,14 @@ ul#menu-support.menu > ul li.toctree-l1.current {
|
|||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu-support > ul > li:nth-child(odd) {
|
#menu-support > ul > li {
|
||||||
border-top: 1px solid #ccc;
|
border-top: 1px solid #ccc;
|
||||||
|
}
|
||||||
|
|
||||||
|
#menu-support > ul:last-child {
|
||||||
border-bottom: 1px solid #ccc;
|
border-bottom: 1px solid #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu-support > ul > li:last-child {
|
|
||||||
border-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu-support > ul > .current {
|
|
||||||
border: 1px solid #999 !important;
|
|
||||||
border-right: 0 !important;
|
|
||||||
border-bottom-left-radius: 5px;
|
|
||||||
border-top-left-radius: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu-support > ul > .current + li{
|
|
||||||
border-top: 0;
|
|
||||||
}
|
|
||||||
#menu-support ul ul {
|
#menu-support ul ul {
|
||||||
padding-left: 27px;
|
padding-left: 27px;
|
||||||
}
|
}
|
||||||
@@ -483,3 +485,14 @@ li.next {
|
|||||||
li.next {
|
li.next {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.not-front .content.row,
|
||||||
|
.content > .main > .row {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
.page-content {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
.content > .main > .row .sidebar {
|
||||||
|
border-right: 1px solid #ccc;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user