mirror of https://github.com/docker/docs.git
Improvement upon @SvenDowideit suggestion to make the docs use full-width
Moved the style comments source to into the .less file
This commit is contained in:
parent
fa48f17493
commit
fe956ad449
|
@ -92,7 +92,7 @@
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<div class="row-fluid main-row">
|
<div class="row-fluid main-row">
|
||||||
|
|
||||||
<div class="span2 sidebar bs-docs-sidebar">
|
<div class="sidebar bs-docs-sidebar">
|
||||||
<div class="page-title" >
|
<div class="page-title" >
|
||||||
<h4>DOCUMENTATION</h4>
|
<h4>DOCUMENTATION</h4>
|
||||||
</div>
|
</div>
|
||||||
|
@ -105,7 +105,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- body block -->
|
<!-- body block -->
|
||||||
<div class="span10 main-content">
|
<div class="main-content">
|
||||||
|
|
||||||
<!-- Main section
|
<!-- Main section
|
||||||
================================================== -->
|
================================================== -->
|
||||||
|
|
|
@ -186,8 +186,15 @@ body {
|
||||||
.main-row {
|
.main-row {
|
||||||
margin-top: 40px;
|
margin-top: 40px;
|
||||||
}
|
}
|
||||||
|
.sidebar {
|
||||||
|
width: 215px;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
.main-content {
|
.main-content {
|
||||||
padding: 16px 18px inherit;
|
padding: 16px 18px inherit;
|
||||||
|
margin-left: 230px;
|
||||||
|
/* space for sidebar */
|
||||||
|
|
||||||
}
|
}
|
||||||
/* =======================
|
/* =======================
|
||||||
Social footer
|
Social footer
|
||||||
|
@ -410,7 +417,7 @@ dt:hover > a.headerlink {
|
||||||
.admonition.seealso {
|
.admonition.seealso {
|
||||||
border-color: #23cb1f;
|
border-color: #23cb1f;
|
||||||
}
|
}
|
||||||
|
/* Add styles for other types of comments */
|
||||||
.versionchanged,
|
.versionchanged,
|
||||||
.versionadded,
|
.versionadded,
|
||||||
.versionmodified,
|
.versionmodified,
|
||||||
|
@ -418,15 +425,12 @@ dt:hover > a.headerlink {
|
||||||
font-size: larger;
|
font-size: larger;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.versionchanged {
|
.versionchanged {
|
||||||
color: lightseagreen;
|
color: lightseagreen;
|
||||||
}
|
}
|
||||||
|
|
||||||
.versionadded {
|
.versionadded {
|
||||||
color: mediumblue;
|
color: mediumblue;
|
||||||
}
|
}
|
||||||
|
|
||||||
.deprecated {
|
.deprecated {
|
||||||
color: orangered;
|
color: orangered;
|
||||||
}
|
}
|
||||||
|
|
|
@ -98,7 +98,6 @@ p a {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.navbar .brand {
|
.navbar .brand {
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
float: left;
|
float: left;
|
||||||
|
@ -317,10 +316,18 @@ body {
|
||||||
margin-top: 40px;
|
margin-top: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sidebar {
|
||||||
|
width: 215px;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
.main-content {
|
.main-content {
|
||||||
padding: 16px 18px inherit;
|
padding: 16px 18px inherit;
|
||||||
|
margin-left: 230px; /* space for sidebar */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* =======================
|
/* =======================
|
||||||
Social footer
|
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 New Issue