|
8 | 8 | <meta charset="utf-8"> |
9 | 9 | <meta http-equiv="X-UA-Compatible" content="chrome=1"> |
10 | 10 | <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> |
11 | | - <title>pace.js</title> |
| 11 | + <title>PACE — Automatic page load progress bars</title> |
12 | 12 | <link rel="icon" href="http://static.hubspot.com/favicon.ico"> |
13 | 13 | <script type="text/javascript" src="//use.typekit.net/jbn8qxr.js"></script> |
14 | 14 | <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script> |
|
25 | 25 | background: #29d; |
26 | 26 | } |
27 | 27 |
|
28 | | - a, a:hover, a:active { |
| 28 | + a, a:hover, a:active, .header .title .title2:before { |
29 | 29 | color: #29d; |
30 | 30 | } |
31 | 31 | </style> |
|
179 | 179 | position: absolute; |
180 | 180 | top: 0; |
181 | 181 | } |
| 182 | + .header .title .title2:before { |
| 183 | + position: absolute; |
| 184 | + top: 16.5%; |
| 185 | + bottom: 34%; |
| 186 | + left: 2%; |
| 187 | + right: 2%; |
| 188 | + content: "Progress, Automatically. Certain to Entertain."; |
| 189 | + font-size: 1rem; |
| 190 | + line-height: 1.3em; |
| 191 | + padding: 1rem 15rem 1rem 1rem; |
| 192 | + background: #fff; |
| 193 | + opacity: 0; |
| 194 | + text-align: left; |
| 195 | + -webkit-box-sizing: border-box; |
| 196 | + -moz-box-sizing: border-box; |
| 197 | + box-sizing: border-box; |
| 198 | + -webkit-transform: translateY(-15px); |
| 199 | + -webkit-transition: all .3s; |
| 200 | + -moz-transition: all .3s; |
| 201 | + transition: all .3s; |
| 202 | + z-index: 10; |
| 203 | + } |
| 204 | + .header .title .title2:hover:before { |
| 205 | + opacity: 1; |
| 206 | + -webkit-transform: translateY(0px); |
| 207 | + } |
182 | 208 | .header .title .char1 { left: .5%; width: 22%; } |
183 | 209 | .header .title .char2 { left: 25%; width: 22%; } |
184 | 210 | .header .title .char3 { left: 51%; width: 22%; } |
@@ -503,7 +529,7 @@ <h2>Themes</h2> |
503 | 529 | var color = $(this).val(); |
504 | 530 | updateColor(color); |
505 | 531 |
|
506 | | - var css = '.section.colored, a.button { background: ' + color + '; } a, a:hover, a:active { color: ' + color + '; }'; |
| 532 | + var css = '.section.colored, a.button { background: ' + color + '; } a, a:hover, a:active, .header .title .title2:before { color: ' + color + '; }'; |
507 | 533 | if ($('html').hasClass('ie8-and-less')) { |
508 | 534 | $('#app-colors').get(0).styleSheet.cssText = css |
509 | 535 | } else { |
|
0 commit comments