mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #3232 from dhrp/Full-width-documentation
Full width documentation
This commit is contained in:
commit
945a1f06f9
3 changed files with 43 additions and 9 deletions
8
docs/theme/docker/layout.html
vendored
8
docs/theme/docker/layout.html
vendored
|
@ -86,13 +86,13 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="container-fluid">
|
||||
|
||||
<!-- Docs nav
|
||||
================================================== -->
|
||||
<div class="row main-row">
|
||||
<div class="row-fluid main-row">
|
||||
|
||||
<div class="span3 sidebar bs-docs-sidebar">
|
||||
<div class="sidebar bs-docs-sidebar">
|
||||
<div class="page-title" >
|
||||
<h4>DOCUMENTATION</h4>
|
||||
</div>
|
||||
|
@ -105,7 +105,7 @@
|
|||
</div>
|
||||
|
||||
<!-- body block -->
|
||||
<div class="span9 main-content">
|
||||
<div class="main-content">
|
||||
|
||||
<!-- Main section
|
||||
================================================== -->
|
||||
|
|
12
docs/theme/docker/static/css/main.css
vendored
12
docs/theme/docker/static/css/main.css
vendored
|
@ -186,8 +186,15 @@ body {
|
|||
.main-row {
|
||||
margin-top: 40px;
|
||||
}
|
||||
.sidebar {
|
||||
width: 215px;
|
||||
float: left;
|
||||
}
|
||||
.main-content {
|
||||
padding: 16px 18px inherit;
|
||||
margin-left: 230px;
|
||||
/* space for sidebar */
|
||||
|
||||
}
|
||||
/* =======================
|
||||
Social footer
|
||||
|
@ -410,7 +417,7 @@ dt:hover > a.headerlink {
|
|||
.admonition.seealso {
|
||||
border-color: #23cb1f;
|
||||
}
|
||||
|
||||
/* Add styles for other types of comments */
|
||||
.versionchanged,
|
||||
.versionadded,
|
||||
.versionmodified,
|
||||
|
@ -418,15 +425,12 @@ dt:hover > a.headerlink {
|
|||
font-size: larger;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.versionchanged {
|
||||
color: lightseagreen;
|
||||
}
|
||||
|
||||
.versionadded {
|
||||
color: mediumblue;
|
||||
}
|
||||
|
||||
.deprecated {
|
||||
color: orangered;
|
||||
}
|
||||
|
|
32
docs/theme/docker/static/css/main.less
vendored
32
docs/theme/docker/static/css/main.less
vendored
|
@ -98,7 +98,6 @@ p a {
|
|||
}
|
||||
|
||||
|
||||
|
||||
.navbar .brand {
|
||||
margin-left: 0px;
|
||||
float: left;
|
||||
|
@ -317,10 +316,18 @@ body {
|
|||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
width: 215px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
padding: 16px 18px inherit;
|
||||
margin-left: 230px; /* space for sidebar */
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* =======================
|
||||
Social footer
|
||||
======================= */
|
||||
|
@ -612,3 +619,26 @@ dt:hover > a.headerlink {
|
|||
|
||||
}
|
||||
|
||||
/* Add styles for other types of comments */
|
||||
|
||||
.versionchanged,
|
||||
.versionadded,
|
||||
.versionmodified,
|
||||
.deprecated {
|
||||
font-size: larger;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.versionchanged {
|
||||
color: lightseagreen;
|
||||
}
|
||||
|
||||
.versionadded {
|
||||
color: mediumblue;
|
||||
}
|
||||
|
||||
.deprecated {
|
||||
color: orangered;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue