|
| 1 | +++++ |
| 2 | +<div class="signup-promo"> |
| 3 | + <p style="margin-bottom: 16px;"> |
| 4 | + It only takes 2 minutes to create your free Tiny account and get the API key: |
| 5 | + </p> |
| 6 | + <div> |
| 7 | + <a href="https://tiny.cloud/signup?_gl=1*1m4fqt3*_ga*NDE5MTIxMjQwLjE3MzIxOTkwODE.*_ga_GQ50XYHWQZ*MTczMjI2OTAwMi4yLjEuMTczMjI2OTQwNy40LjAuMA..*_gcl_au*NTYyNTc2NTQyLjE3MzIxOTkwODE." class="account-creation-button" target="_blank" title="Sign up with Google"> |
| 8 | + Sign up |
| 9 | + <span class="account-creation-button--full-text"> with email</span> |
| 10 | + <span class="social-signup"> |
| 11 | + <img src="https://www.tiny.cloud/images/icons/google.svg" alt="Google" width="24" height="24"> |
| 12 | + <img src="https://www.tiny.cloud/images/icons/github.svg" alt="GitHub" width="24" height="24"> |
| 13 | + </span> |
| 14 | + -> |
| 15 | + </a> |
| 16 | + </div> |
| 17 | +</div> |
| 18 | +
|
| 19 | +<style> |
| 20 | +.signup-promo { |
| 21 | + --radius: 3px; |
| 22 | + position: relative; |
| 23 | + padding: 1rem; |
| 24 | + background: #f9f9fb; |
| 25 | + margin: 1rem 0; |
| 26 | + border: 1px solid #e2e5ed; |
| 27 | + border-radius: var(--radius) 0 0 var(--radius) |
| 28 | +} |
| 29 | +
|
| 30 | +.signup-promo::before { |
| 31 | + content: ''; |
| 32 | + position: absolute; |
| 33 | + top: -1px; bottom: -1px; left: -1px; |
| 34 | + width: 5px; |
| 35 | + background: linear-gradient(to bottom, #F66 15%, #4D66CB 85%); |
| 36 | + border-radius: var(--radius) 0 0 var(--radius) |
| 37 | +} |
| 38 | +
|
| 39 | +.signup-promo .account-creation-button { |
| 40 | + --options-gap: 10px; |
| 41 | + text-decoration: none !important; |
| 42 | + padding: 8px 16px; |
| 43 | + background: #0c132c; |
| 44 | + color: #fff; |
| 45 | + border-radius: 2px; |
| 46 | + display: inline-flex; |
| 47 | + align-items: center; |
| 48 | + transition: background-color 0.15s; |
| 49 | + font-family: Fira Code; |
| 50 | + font-variant-ligatures: common-ligatures; |
| 51 | +} |
| 52 | +
|
| 53 | +.signup-promo .account-creation-button:hover { |
| 54 | + background-color: #335dff; |
| 55 | + color: #fff; |
| 56 | +} |
| 57 | +
|
| 58 | +.signup-promo .account-creation-button:active { |
| 59 | + background-position: 100% 0; |
| 60 | + color: #fff; |
| 61 | +} |
| 62 | +
|
| 63 | +.signup-promo .account-creation-button .social-signup { |
| 64 | + display: flex; |
| 65 | + margin: 0 12px 0 0; |
| 66 | +} |
| 67 | +
|
| 68 | +.signup-promo .account-creation-button .social-signup img { |
| 69 | + width: 16px; |
| 70 | + height: 16px; |
| 71 | + filter: invert(1) brightness(100); |
| 72 | + padding-left: var(--options-gap); |
| 73 | + margin-left: var(--options-gap); |
| 74 | + border-left: 1px solid #0008; |
| 75 | + box-sizing: content-box; |
| 76 | +} |
| 77 | +
|
| 78 | +@media screen and (max-width: 700px) { |
| 79 | + .signup-promo .account-creation-button .account-creation-button--full-text { |
| 80 | + display: none; |
| 81 | + } |
| 82 | +} |
| 83 | +</style> |
| 84 | +++++ |
0 commit comments