Skip to content

Commit 1d21704

Browse files
committed
Add tidelift sponsor badge
1 parent 75e8618 commit 1d21704

File tree

4 files changed

+38
-0
lines changed

4 files changed

+38
-0
lines changed

images/tidelift.png

665 Bytes
Loading

images/tidelift.svg

Lines changed: 1 addition & 0 deletions
Loading

index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ <h3 id="top-subtitle" class="large-font">Browserify lets you require(<span class
4141
</a>
4242
</nav>
4343
</section>
44+
<aside id="sponsor">
45+
<a href="https://tidelift.com/subscription/npm/browserify">
46+
<div class="tidelift-banner">
47+
<img src="images/tidelift.png">
48+
Get Professional Support for Browserify
49+
</div>
50+
</a>
51+
</aside>
4452
<section id="bottom-section" class="bottom-section color-c">
4553
<header>
4654
<h1 class="title" id="install"><a name="rel_pos_size">Install</a></h1>

style.css

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,35 @@ a:hover, button:hover { cursor: pointer; cursor: hand;}
339339
.title { margin-bottom: 10px; }
340340
.subtitle { margin-bottom: 20px; }
341341

342+
#sponsor {
343+
padding: 0;
344+
margin: 0;
345+
}
346+
.tidelift-banner {
347+
background-color: #626980;
348+
color: #ffffff;
349+
font: 14px "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial,
350+
sans-serif;
351+
padding: 6px 10px;
352+
display: inline-block;
353+
width: 100%;
354+
}
355+
.tidelift-banner img {
356+
display: inline-block;
357+
height: 1.428em;
358+
width: 1.428em;
359+
margin-right: 10px;
360+
vertical-align: middle;
361+
}
362+
@media (min-width: 900px) {
363+
#sponsor {
364+
position: absolute;
365+
top: 16px;
366+
right: 0;
367+
}
368+
.tidelift-banner { width: auto; }
369+
}
370+
342371
#bottom-section header, #bottom-section .step {
343372
text-shadow: 0px 0px 30px #08c, 0px 0px 30px #08c,0px 0px 30px #08c;
344373
}

0 commit comments

Comments
 (0)