3 $site-toc-width: 175px;
5 // Site navigation on all pages
10 @include display-flex();
48 // background: $white;
61 border-bottom: $default-border;
67 background-color: darken($gray-light, 2%);
69 > ol > li:first-child {
100 background-color: $gray-light;
132 content: ""; /* don't make it look like you can toggle it closed */
147 ol.toc ol.toc ol.toc li {
153 // TOC on article pages
180 @include display-flex();
186 background-color: $gray-light;
187 box-shadow: $nav-box-shadow;
188 padding: 1em 1em 0.5em 1em;
189 margin-bottom: 1em; /* so the box shadow doesn't get cut off */
200 background-image: $nav-hover-gradient;
234 border-top: $default-border;
240 border-bottom: $default-border;
246 // Footer at bottom of articles
249 //font-size: $small-label-size;
251 color: lighten($text, 5%);
258 // Multi-step codelabs
259 .h1-step { display: block; font-size: 0.5em; line-height: 150%; }
261 // API roundup on codelabs
262 .anchor-link-icon { padding-left: 1px; }
264 // Larger than mobile.
265 @media only screen and (min-width: $break-small) {
268 width: $site-toc-width;
275 margin: 0 4% 20px 4%;
284 // width: $article-width;
285 // padding-right: 5%;
286 border-right: 1px solid $gray-light;
287 min-height: 750px; /* add min-height so fatnav, sidenav, and footer don't overlap badly */
289 [itemprop="articleBody"] {
299 @media only screen and (min-width: $break-small + 1) and (max-width: $break-large) {
301 width: $toc-width - 40;
302 //margin-left: $toc-margin-left - 30;
306 width: $site-toc-width;
312 @media only screen and (max-width: $break-small) {
313 .article-content [itemprop="articleBody"] {
328 padding: $default-padding - 5 $default-padding - 5 $default-padding - 5 0;
329 border-top: $default-border;
332 text-overflow: ellipsis;
342 margin: $default-padding 0;
375 margin: 0 0 15px 180px;
379 @media(max-width:580px) {