Skip to content

Commit

Permalink
Add link back to source on GitHub.
Browse files Browse the repository at this point in the history
  • Loading branch information
emackey committed May 31, 2017
1 parent 75e1675 commit 9a477e1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
</canvas>
<canvas id="canvas2d" width="600" height="600">
</canvas>
<a class="source" href="https://github.com/KhronosGroup/glTF-WebGL-PBR">source on GitHub</a>
<div id="pbrMath">
<div class="pbrMathSub" id="mathAll"><i>f</i>(<i>l</i>,<i>v</i>,<i>h</i>) = </div>
<div class="pbrMathSub" id="mathDiff">Diff(l,n)</div> +
Expand Down
13 changes: 13 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,19 @@ html, body {
display: inline;
}

a.source,
a.source:visited {
position: absolute;
top: 8px;
left: 10px;
color: white;
text-decoration: none;
}

a.source:hover {
text-decoration: underline;
}

.activeComponent {
background-color: darkslategray;
}
Expand Down

0 comments on commit 9a477e1

Please sign in to comment.