Skip to content
This repository has been archived by the owner on Aug 15, 2019. It is now read-only.

Commit

Permalink
Fixes navbar overlap on in-page link jumps (#746)
Browse files Browse the repository at this point in the history
* Fixes header overlap on in-page link jumps
* Cleans up the unused CSS
  • Loading branch information
manrajgrover authored and tafsiri committed Feb 22, 2018
1 parent 75b0b4a commit 4d71d85
Showing 1 changed file with 9 additions and 23 deletions.
32 changes: 9 additions & 23 deletions website/api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@
.container .content-area {
display: flex;
flex-direction: row;
/* height: 100vh; */
/* overflow-y: hidden; */
margin-top: 52px;
}

Expand All @@ -124,11 +122,8 @@
margin-left: 0px;
margin-top: 16px;
padding-bottom: 32px;
/* border-bottom: 1px solid #d2d7da; */
}



.section-title {
margin-bottom: 0px;
}
Expand All @@ -143,6 +138,13 @@
font-weight: 400;
}

.subsection-title::before, h5::before {
display: block;
content: "";
height: 60px;
margin: -60px 0 0;
}


/* TOC Pane */
.toc .section:nth-of-type(2) {
Expand Down Expand Up @@ -172,17 +174,6 @@
font-weight: bold;
}

/* .toc::-webkit-scrollbar {
-webkit-appearance: none;
width: 7px;
}

.toc::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: rgba(0, 0, 0, .5);
-webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
} */

/* Reference Pane */

.reference .section {
Expand All @@ -197,7 +188,6 @@
.reference .subsection-title {
font-weight: 300;
margin-bottom: 16px;
/* border-bottom: 1px solid rgb(96,125,139); */
}

.reference .subsection-description {
Expand Down Expand Up @@ -240,7 +230,6 @@
pre.hljs {
padding: 24px;
padding-bottom: 32px;
/* margin-left: 24px; */
margin: 0;
background: white;
}
Expand All @@ -249,16 +238,13 @@
background: #f7f7f7;
background: #f4f4f4;
color: #37474f;
/* padding: 2px 4px; */
font-weight: 500;
font-family: Roboto Mono, monospace;
word-break: break-word;
}

.documentation a, .returns a, .param-name a, .method-docs a, .param-docs a {
/* background: #f4f4f4; */
color: #0277BD;
/* padding: 2px 2px; */
font-weight: 500;
font-family: Roboto Mono, monospace;
}
Expand Down Expand Up @@ -408,7 +394,7 @@
<ul>
{{#parameters}}
<li class="parameter">
<span <span class="param-name">
<span class="param-name">
{{name}}:&nbsp;{{{markdownInner type}}}
</span>
<span class="param-docs">
Expand Down Expand Up @@ -469,7 +455,7 @@
<div class="subsection-description mdl-typography--headline">{{{description}}}</div>
{{#symbols}}
<div class="symbol">
<h5>
<h5 id="{{urlHash}}">
{{#if isClass}}
<span class="chip">Class</span>
{{else}}
Expand Down

0 comments on commit 4d71d85

Please sign in to comment.