Unified · Split
Binary file not shown.
Binary file not shown.
| @@ -1,6 +1,7 @@ | ||
| 1 | 1 | app.templates.splash = """ |
| 2 | 2 | <div class="_splash-title">DevDocs</div> |
| 3 | 3 | <a href="http://www.maxcdn.com" class="_splash-maxcdn">Sponsored by<span class="_maxcdn-logo-bw"> MaxCDN</span></a> |
| 4 | + <a href="https://www.gittip.com/Thibaut/" class="_splash-gittip">Donate on<span class="_gittip-logo-bw"> Gittip</span></a> | |
| 4 | 5 | """ |
| 5 | 6 | |
| 6 | 7 | <% if App.development? %> |
| @@ -21,6 +22,7 @@ app.templates.intro = """ · 14 unmodified lines | ||
| 21 | 22 | <li>DevDocs is licensed under the terms of the Mozilla Public License v2.0. For more information, |
| 22 | 23 | see the <a href="https://github.com/Thibaut/devdocs/blob/master/COPYRIGHT">COPYRIGHT</a> and |
| 23 | 24 | <a href="https://github.com/Thibaut/devdocs/blob/master/LICENSE">LICENSE</a> files. |
| 25 | + <li>If you like the app, please consider funding the project on <a href="https://www.gittip.com/Thibaut/">Gittip</a>. Thanks! | |
| 24 | 26 | </ol> |
| 25 | 27 | <a href="http://www.maxcdn.com" class="_intro-maxcdn">Sponsored by<span class="_maxcdn-logo"> MaxCDN</span></a> |
| 26 | 28 | <p>That's all. Happy coding! |
| @@ -43,6 +45,7 @@ app.templates.intro = """ · 16 unmodified lines | ||
| 43 | 45 | <li>For the latest news, subscribe to the <a href="http://eepurl.com/HnLUz">newsletter</a> or follow <a href="https://twitter.com/DevDocs">@DevDocs</a> |
| 44 | 46 | <li>DevDocs is free and <a href="https://github.com/Thibaut/devdocs">open source</a> |
| 45 | 47 | <iframe class="_github-btn" src="http://ghbtns.com/github-btn.html?user=Thibaut&repo=devdocs&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"></iframe> |
| 48 | + <li>If you like the app, please consider funding the project on <a href="https://www.gittip.com/Thibaut/">Gittip</a>. Thanks! | |
| 46 | 49 | </ol> |
| 47 | 50 | <a href="http://www.maxcdn.com" class="_intro-maxcdn">Sponsored by<span class="_maxcdn-logo"> MaxCDN</span></a> |
| 48 | 51 | <p>That's all. Happy coding! |
| @@ -53,21 +53,31 @@ · 52 unmodified lines | ||
| 53 | 53 | @extend ._booting:before, %user-select-none; |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | −._splash-maxcdn { | |
| 56 | +%splash-promo { | |
| 57 | 57 | position: absolute; |
| 58 | 58 | bottom: 1.25rem; |
| 59 | − left: 50%; | |
| 60 | − width: 16rem; | |
| 61 | − margin-left: -8rem; | |
| 62 | 59 | line-height: 1rem; |
| 63 | 60 | color: #bbb; |
| 64 | − text-align: center; | |
| 65 | 61 | |
| 66 | 62 | &:hover { color: $linkColor; } |
| 63 | +} | |
| 64 | + | |
| 65 | +._splash-maxcdn { | |
| 66 | + left: .75rem; | |
| 67 | + @extend %splash-promo; | |
| 68 | + | |
| 67 | 69 | > ._maxcdn-logo-bw { opacity: .2; } |
| 68 | 70 | &:hover > ._maxcdn-logo-bw { opacity: .5; } |
| 69 | 71 | } |
| 70 | 72 | |
| 73 | +._splash-gittip { | |
| 74 | + right: 1.25rem; | |
| 75 | + @extend %splash-promo; | |
| 76 | + | |
| 77 | + > ._gittip-logo-bw { opacity: .35; } | |
| 78 | + &:hover > ._gittip-logo-bw { opacity: .65; } | |
| 79 | +} | |
| 80 | + | |
| 71 | 81 | // |
| 72 | 82 | // Intro |
| 73 | 83 | // |
| @@ -298,7 +308,7 @@ · 224 unmodified lines | ||
| 298 | 308 | display: inline-block; |
| 299 | 309 | vertical-align: top; |
| 300 | 310 | width: 6.25rem; |
| 301 | − margin-left: .375rem; | |
| 311 | + margin-left: .5rem; | |
| 302 | 312 | overflow: hidden; |
| 303 | 313 | text-indent: -20rem; |
| 304 | 314 | background-position: center center; |
| @@ -323,3 +333,15 @@ · 18 unmodified lines | ||
| 323 | 333 | background-image: image-url('maxcdn-bw@2x.png'); |
| 324 | 334 | } |
| 325 | 335 | } |
| 336 | + | |
| 337 | +._gittip-logo-bw { | |
| 338 | + width: 4.375rem; | |
| 339 | + margin-left: .375rem; | |
| 340 | + background-size: 4.375rem 1rem; | |
| 341 | + background-image: image-url('gittip-bw.png'); | |
| 342 | + @extend %maxcdn-logo; | |
| 343 | + | |
| 344 | + @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) { | |
| 345 | + background-image: image-url('gittip-bw@2x.png'); | |
| 346 | + } | |
| 347 | +} | |
| @@ -131,7 +131,13 @@ · 130 unmodified lines | ||
| 131 | 131 | |
| 132 | 132 | // Splash |
| 133 | 133 | |
| 134 | − ._splash-title { margin-top: -.5em; } | |
| 134 | + ._splash-maxcdn, ._splash-gittip { | |
| 135 | + left: 0; | |
| 136 | + right: 0; | |
| 137 | + text-align: center; | |
| 138 | + } | |
| 139 | + | |
| 140 | + ._splash-gittip { margin-bottom: 2.25rem; } | |
| 135 | 141 | } |
| 136 | 142 | |
| 137 | 143 | // |
| @@ -10,6 +10,8 @@ CACHE: · 9 unmodified lines | ||
| 10 | 10 | <%= image_path 'maxcdn@2x.png' %> |
| 11 | 11 | <%= image_path 'maxcdn-bw.png' %> |
| 12 | 12 | <%= image_path 'maxcdn-bw@2x.png' %> |
| 13 | +<%= image_path 'gittip-bw.png' %> | |
| 14 | +<%= image_path 'gittip-bw@2x.png' %> | |
| 13 | 15 | <%= asset_path 'docs.js' %> |
| 14 | 16 | <%= doc_index_urls.join "\n" %> |
| 15 | 17 | |