Skip to content

Commit 83a1a90

Browse files
committed
Ticket release date
1 parent bf1b94b commit 83a1a90

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

phase2/fullfrontal.css

+13
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,19 @@ html:before {
531531
margin-left: 11em;
532532
}
533533
}
534+
time.time {
535+
font-size: 11.75em;
536+
letter-spacing: -0.12em;
537+
margin-right: 0.1em;
538+
}
539+
540+
time.time:after {
541+
content: '19.07.11';
542+
}
543+
544+
time.time b {
545+
display: none;
546+
}
534547
@media screen and (max-width: 63em) {
535548
.want-to {
536549
margin-bottom: 3.075em;

phase2/index.php

+11-4
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ function validEmail($e) {
3535

3636
</head>
3737
<!--[if lte IE 8]><body class="ie nomediaquerygoodnessyepisuck"><![endif]-->
38-
<!--[if gt IE 8]><!--><body><!--<![endif]-->
38+
<!--[if gt IE 8]><!--><body class="time"><!--<![endif]-->
3939
<header>
4040
<h1 class="full-frontal">Full Frontal</h1>
41-
<time datetime="2011-11-11T09:00:00Z">11.11.11</time>
41+
<time id="time" datetime="2011-11-11T09:00:00Z"><b>11.11.11</b></time>
4242
<h2>JavaScript <br /> <span>Conference</span></h2>
4343
<h3>Duke Of Yorks, Brighton, <br /> 11th November 2011</h3>
4444
</header>
@@ -122,7 +122,7 @@ function linkify($text) {
122122

123123
<script>
124124
// Google Analytics
125-
var _gaq = _gaq || [];
125+
var _gaq = _gaq || [], d = document, n = 'className', g = 'getElementById', i = 'time';
126126
_gaq.push(['_setAccount', 'UA-1656750-25']);
127127
_gaq.push(['_trackPageview']);
128128
(function() {
@@ -132,7 +132,14 @@ function linkify($text) {
132132
})();
133133

134134
// stops the transitions from applying whilst the page is rendering
135-
document.documentElement.className += ' transition';
135+
document.documentElement.className += ' transition';
136+
137+
var k = "65,66,39,37,39,37,40,40,38,38",
138+
c = _gaq;
139+
d.onkeyup=function(e){
140+
c.unshift((e||event).keyCode);
141+
if (!(c+'').indexOf(k))d[g](i)[n]=i;
142+
}
136143
</script>
137144
</body>
138145
</html>

0 commit comments

Comments
 (0)