|
12 | 12 | <script type="text/javascript" charset="utf-8"> hljs.initHighlightingOnLoad(); </script>
|
13 | 13 | <script async defer src="https://buttons.github.io/buttons.js"></script>
|
14 | 14 | <link rel="stylesheet" href="highlight/github.css" type="text/css" media="screen" />
|
15 |
| - <link href="https://fonts.googleapis.com/css?family=Nunito:400,400i,700,800" rel="stylesheet"> |
| 15 | + <link href="https://fonts.googleapis.com/css?family=Lato:400,400i,900,900i&display=swap" rel="stylesheet"> |
16 | 16 | <link href="https://fonts.googleapis.com/css?family=Fira+Mono:400" rel="stylesheet">
|
17 | 17 | <style type="text/css" media="screen">
|
18 | 18 | html {
|
|
21 | 21 |
|
22 | 22 | body {
|
23 | 23 | font-weight: 400;
|
24 |
| - font-family: "Nunito", "Helvetica Neue", arial, sans-serif; |
| 24 | + font-family: "Lato", "Helvetica Neue", arial, sans-serif; |
25 | 25 | line-height: 1.666;
|
26 | 26 | -webkit-font-smoothing: antialiased;
|
27 | 27 | color: #5e6c76;
|
|
148 | 148 | a.btn { display: block; text-align: center; padding: 1rem; }
|
149 | 149 | }
|
150 | 150 |
|
| 151 | + .sponsor .note { |
| 152 | + font-size: 11px; |
| 153 | + text-transform: uppercase; |
| 154 | + color: #bbb; |
| 155 | + } |
| 156 | + |
| 157 | + .sponsor img { |
| 158 | + display: block; |
| 159 | + max-width: 100%; |
| 160 | + } |
| 161 | + |
| 162 | + .sponsor .banner { |
| 163 | + display: flex; |
| 164 | + align-items: center; |
| 165 | + justify-content: space-around; |
| 166 | + } |
| 167 | + |
| 168 | + .sponsor .illustration { |
| 169 | + width: 40%; |
| 170 | + } |
| 171 | + |
| 172 | + .sponsor .content { |
| 173 | + width: 50%; |
| 174 | + } |
| 175 | + |
| 176 | + .sponsor .text { |
| 177 | + font-size: 16px; |
| 178 | + line-height: 1.75; |
| 179 | + margin: 28px 0; |
| 180 | + } |
| 181 | + |
| 182 | + .sponsor .content .text a { |
| 183 | + color: #1284ff; |
| 184 | + border-color: #1284ff; |
| 185 | + } |
| 186 | + |
| 187 | + .sponsor .content .text a:hover { |
| 188 | + color: #373a3c; |
| 189 | + border-color: #373a3c; |
| 190 | + } |
| 191 | + |
| 192 | + .sponsor .button { |
| 193 | + background: #3ecf4a; |
| 194 | + border-radius: 3px; |
| 195 | + color: #fff; |
| 196 | + padding: 10px 20px; |
| 197 | + display: inline-block; |
| 198 | + border: none; |
| 199 | + } |
| 200 | + |
| 201 | + .sponsor .button:hover { |
| 202 | + background: #2baf36; |
| 203 | + transform: translateY(-3px); |
| 204 | + } |
| 205 | + |
| 206 | + @media only screen and (max-width: 600px) { |
| 207 | + .sponsor .note { |
| 208 | + margin-bottom: 16px; |
| 209 | + } |
| 210 | + |
| 211 | + .sponsor .illustration { |
| 212 | + display: none; |
| 213 | + } |
| 214 | + |
| 215 | + .sponsor .content { |
| 216 | + width: 100%; |
| 217 | + } |
| 218 | + } |
151 | 219 | </style>
|
152 | 220 | <title>jQuery Modal</title>
|
153 | 221 | <meta name="description" content="jQuery Modal is the easiest way to display modal windows with jQuery. Built by Kyle Fox.">
|
@@ -190,6 +258,29 @@ <h1>jQuery Modal</h1>
|
190 | 258 |
|
191 | 259 | <hr>
|
192 | 260 |
|
| 261 | +<div class="sponsor"> |
| 262 | + <div class="note">Sponsor</div> |
| 263 | + <div class="banner"> |
| 264 | + <div class="illustration"> |
| 265 | + <a href="https://www.getrewardful.com/?via=jquery-modal" target="_blank"> |
| 266 | + <img src="https://r.wdfl.co/financial-money-heart.svg" alt="Incentivize and reward your best promoters."> |
| 267 | + </a> |
| 268 | + </div> |
| 269 | + <div class="content"> |
| 270 | + <a href="https://www.getrewardful.com/?via=jquery-modal" target="_blank"> |
| 271 | + <img width="200" src="https://r.wdfl.co/rewardful-logo.svg" alt="Rewardful: simple affiliate programs for Stripe."> |
| 272 | + </a> |
| 273 | + <div class="text"> |
| 274 | + <a href="https://www.getrewardful.com/?via=jquery-modal" target="_blank">Rewardful</a> is a simple way for SaaS companies to create <strong>affiliate and referral programs with Stripe.</strong> |
| 275 | + Just connect your account and let us track referrals, discounts, and commissions for you! |
| 276 | + </div> |
| 277 | + <a href="https://www.getrewardful.com/?via=jquery-modal" class="button" target="_blank">Learn more →</a> |
| 278 | + </div> |
| 279 | + </div> |
| 280 | +</div> |
| 281 | + |
| 282 | +<hr> |
| 283 | + |
193 | 284 | <h2 id="install"><a href="#install">#</a> Install</h2>
|
194 | 285 |
|
195 | 286 | <p>The simplest method is to use the hosted version from <a href="https://cdnjs.com/libraries/jquery-modal">cdnjs</a>:</p>
|
|
0 commit comments