am 20ef3823
: add About pages to the quicknav and tweak new h1 styles and move training navbar down so the page title can span the page width before wrapping
* commit '20ef3823691b341d2a8d7c30af331371dbe8425f': add About pages to the quicknav and tweak new h1 styles and move training navbar down so the page title can span the page width before wrapping
This commit is contained in:
commit
cff12133cd
3 changed files with 38 additions and 18 deletions
|
@ -158,12 +158,6 @@ video.with-shadow {
|
||||||
.layout-content-row {
|
.layout-content-row {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-bottom: 10px; }
|
margin-bottom: 10px; }
|
||||||
.layout-content-row:after {
|
|
||||||
content: ".";
|
|
||||||
display: block;
|
|
||||||
height: 0;
|
|
||||||
clear: both;
|
|
||||||
visibility: hidden; }
|
|
||||||
* html .layout-content-row {
|
* html .layout-content-row {
|
||||||
height: 1px; }
|
height: 1px; }
|
||||||
|
|
||||||
|
@ -430,17 +424,19 @@ video.with-shadow {
|
||||||
/* content header */
|
/* content header */
|
||||||
.content-header {
|
.content-header {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
margin:20px 0 25px;
|
margin:36px 0 23px; /* same as h1 */
|
||||||
padding:0 0 10px;}
|
padding:0 0 10px;} /* same as h1 */
|
||||||
.content-header.just-links {
|
.content-header.just-links {
|
||||||
margin-bottom:0;
|
margin-bottom:0;
|
||||||
padding-bottom:0;}
|
padding-bottom:0;}
|
||||||
|
|
||||||
.content-header h1 {
|
.content-header h1 {
|
||||||
margin-top:16px; /* +20px from div.content header == 34px */
|
margin:0;
|
||||||
|
padding:0;
|
||||||
|
width: 700px;
|
||||||
}
|
}
|
||||||
.content-header > div:first-child {
|
.content-header > div:first-child {
|
||||||
height:55px; /* set fixed height for the header div to ensure the
|
height:1px; /* set fixed height for the header div to ensure the
|
||||||
next/prev links align with toc on training classes */
|
next/prev links align with toc on training classes */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1101,12 +1097,12 @@ table, fieldset {
|
||||||
h1 {
|
h1 {
|
||||||
color:#333;
|
color:#333;
|
||||||
font-size: 34px;
|
font-size: 34px;
|
||||||
margin: 36px 0 12px;
|
margin: 36px 0 27px;
|
||||||
padding:0 0 10px;
|
padding:0 0 10px;
|
||||||
font-weight:300;
|
font-weight:300;
|
||||||
}
|
}
|
||||||
h1, h2 {
|
h1, h2 {
|
||||||
line-height: 34px;
|
line-height: 30px;
|
||||||
}
|
}
|
||||||
h1.short {
|
h1.short {
|
||||||
margin-right:320px;
|
margin-right:320px;
|
||||||
|
@ -1840,6 +1836,11 @@ EndColorStr='#ececec');
|
||||||
margin:0 0 0 20px;
|
margin:0 0 0 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.training-nav-top {
|
||||||
|
position:relative;
|
||||||
|
top:73px;
|
||||||
|
}
|
||||||
|
|
||||||
.training-nav-bottom {
|
.training-nav-bottom {
|
||||||
padding:0 0 20px;
|
padding:0 0 20px;
|
||||||
}
|
}
|
||||||
|
@ -1848,12 +1849,12 @@ EndColorStr='#ececec');
|
||||||
#qv-wrapper {
|
#qv-wrapper {
|
||||||
float:right;
|
float:right;
|
||||||
clear:right;
|
clear:right;
|
||||||
margin:0 0 0 30px; /* negative top-margin to counter the content-header bottom margin */
|
margin:6px 0 0 30px; /* negative top-margin to counter the content-header bottom margin */
|
||||||
padding:0 0 30px;
|
padding:0 0 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tb-wrapper {
|
#tb-wrapper {
|
||||||
margin:-29px 0 0 20px; /* negative top-margin to counter the content-header bottom margin */
|
margin:51px 0 0 20px; /* negative top-margin to counter the content-header bottom margin */
|
||||||
}
|
}
|
||||||
|
|
||||||
#tb,
|
#tb,
|
||||||
|
@ -4247,7 +4248,7 @@ EndColorStr='#ececec');
|
||||||
#quicknav {
|
#quicknav {
|
||||||
float:none;
|
float:none;
|
||||||
clear:both;
|
clear:both;
|
||||||
margin-left:180px;
|
margin-left:0;
|
||||||
margin-top:-30px;
|
margin-top:-30px;
|
||||||
display:none;
|
display:none;
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
|
@ -4262,6 +4263,10 @@ EndColorStr='#ececec');
|
||||||
padding:0;
|
padding:0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#quicknav ul li.about {
|
||||||
|
border-top:1px solid #9933CC;
|
||||||
|
}
|
||||||
|
|
||||||
#quicknav ul li.design {
|
#quicknav ul li.design {
|
||||||
border-top:1px solid #33b5e5;
|
border-top:1px solid #33b5e5;
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,8 +51,16 @@
|
||||||
|
|
||||||
|
|
||||||
<!-- Expanded quicknav -->
|
<!-- Expanded quicknav -->
|
||||||
<div id="quicknav" class="col-9">
|
<div id="quicknav" class="col-13">
|
||||||
<ul>
|
<ul>
|
||||||
|
<li class="about">
|
||||||
|
<ul>
|
||||||
|
<li><a href="<?cs var:toroot ?>about/index.html">About</a></li>
|
||||||
|
<li><a href="<?cs var:toroot ?>wear/index.html">Wear</a></li>
|
||||||
|
<li><a href="<?cs var:toroot ?>tv/index.html">TV</a></li>
|
||||||
|
<li><a href="<?cs var:toroot ?>auto/index.html">Auto</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
<li class="design">
|
<li class="design">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="<?cs var:toroot ?>design/index.html">Get Started</a></li>
|
<li><a href="<?cs var:toroot ?>design/index.html">Get Started</a></li>
|
||||||
|
|
|
@ -90,7 +90,7 @@ include:"header.cs" ?>
|
||||||
</div>
|
</div>
|
||||||
<?cs /if ?><?cs # end if training ?>
|
<?cs /if ?><?cs # end if training ?>
|
||||||
</div>
|
</div>
|
||||||
<?cs /if ?>
|
<?cs /if ?><?cs # end if header.hide ?>
|
||||||
|
|
||||||
<?cs elif:samplesProjectIndex ?>
|
<?cs elif:samplesProjectIndex ?>
|
||||||
<div id="api-info-block">
|
<div id="api-info-block">
|
||||||
|
@ -103,7 +103,14 @@ include:"header.cs" ?>
|
||||||
<h1 itemprop="name"><?cs var:projectDir ?></h1>
|
<h1 itemprop="name"><?cs var:projectDir ?></h1>
|
||||||
|
|
||||||
<?cs else ?>
|
<?cs else ?>
|
||||||
|
<?cs if:training ?>
|
||||||
|
<?cs # horrible horrible hack to move TOC up when the next/prev links are not there ?>
|
||||||
|
<style>
|
||||||
|
#tb-wrapper {
|
||||||
|
margin-top:6px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<?cs /if ?>
|
||||||
|
|
||||||
<?cs if:(!fullpage && !header.hide) ?>
|
<?cs if:(!fullpage && !header.hide) ?>
|
||||||
<?cs if:page.landing ?><?cs # header logic for docs that are landing pages ?>
|
<?cs if:page.landing ?><?cs # header logic for docs that are landing pages ?>
|
||||||
|
|
Loading…
Reference in a new issue