Skip to content

Commit b593efb

Browse files
committed
Add link to GitHub
1 parent 170f7c3 commit b593efb

1 file changed

Lines changed: 22 additions & 3 deletions

File tree

example/index.html

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,29 +136,46 @@
136136
background: #fff;
137137
}
138138

139-
button {
139+
button,
140+
a.button-like {
141+
display: inline-block;
142+
padding: 0.15em 0.4em;
140143
font-size: 0.9em;
141144
line-height: 1.5em;
142145
text-transform: uppercase;
146+
text-decoration: none;
143147
border-radius: 0.2rem;
144148
border: 0;
149+
color: black;
145150
background: #ccc;
146151
box-shadow: 0 0 0 0 black, 0 0 0 0 #6fb2e4;
147152
transition: background 0.15s cubic-bezier(0.25, 0.1, 0.25, 1),
148153
box-shadow 0.15s cubic-bezier(0.25, 0.1, 0.25, 1);
149154
}
150155

151-
button:hover {
156+
button:hover,
157+
a.button-like:hover {
152158
background: #fff;
153159
}
154160

155-
button:focus {
161+
button:focus,
162+
a.button-like:focus {
156163
background: #fff;
157164
border: 0;
158165
outline: 0;
159166
box-shadow: 0 0 0 1px black, 0 0 0 3px #6fb2e4;
160167
}
161168

169+
a {
170+
color: white;
171+
text-decoration: underline;
172+
text-decoration-color: rgba(255, 255, 255, 0.33);
173+
}
174+
175+
a:hover {
176+
text-decoration-color: rgba(255, 255, 255, 1);
177+
}
178+
162179
.flex-c {
163180
display: flex;
164181
}
@@ -432,6 +449,8 @@ <h1 id="title">Regl Scatterplot</h1>
432449
>
433450
</li>
434451
</ul>
452+
<hr />
453+
<a class="button-like" href="https://github.com/flekschas/regl-scatterplot" target="_blank">Source code</a>
435454
</aside>
436455
</header>
437456
<div id="parent-wrapper">

0 commit comments

Comments
 (0)