Skip to content

Commit 61b6155

Browse files
committed
PACE Progress, Automatically. Certain to Entertain.
1 parent 53e1e18 commit 61b6155

File tree

1 file changed

+29
-3
lines changed

1 file changed

+29
-3
lines changed

docs/welcome/index.html

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta charset="utf-8">
99
<meta http-equiv="X-UA-Compatible" content="chrome=1">
1010
<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>
1212
<link rel="icon" href="http://static.hubspot.com/favicon.ico">
1313
<script type="text/javascript" src="//use.typekit.net/jbn8qxr.js"></script>
1414
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
@@ -25,7 +25,7 @@
2525
background: #29d;
2626
}
2727

28-
a, a:hover, a:active {
28+
a, a:hover, a:active, .header .title .title2:before {
2929
color: #29d;
3030
}
3131
</style>
@@ -179,6 +179,32 @@
179179
position: absolute;
180180
top: 0;
181181
}
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+
}
182208
.header .title .char1 { left: .5%; width: 22%; }
183209
.header .title .char2 { left: 25%; width: 22%; }
184210
.header .title .char3 { left: 51%; width: 22%; }
@@ -503,7 +529,7 @@ <h2>Themes</h2>
503529
var color = $(this).val();
504530
updateColor(color);
505531

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 + '; }';
507533
if ($('html').hasClass('ie8-and-less')) {
508534
$('#app-colors').get(0).styleSheet.cssText = css
509535
} else {

0 commit comments

Comments
 (0)