Skip to content

Commit

Permalink
hoistup.com stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
wlrs committed Nov 26, 2011
1 parent 29c248a commit f9ce8d4
Show file tree
Hide file tree
Showing 4 changed files with 114 additions and 8 deletions.
20 changes: 18 additions & 2 deletions hoistup.com/footer.php
Expand Up @@ -9,8 +9,24 @@
<script src="/prettify.js"></script>
<script>prettyPrint();</script>

<script type="text/javascript" src="http://use.typekit.com/qvc8urq.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>

<? if($_SERVER['HTTP_HOST'] == 'hoistup.com'){ ?>
<script type="text/javascript" src="http://use.typekit.com/qvc8urq.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>

<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-734122-11']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>
<? } ?>
</body>
</html>
1 change: 0 additions & 1 deletion hoistup.com/header.php
Expand Up @@ -10,7 +10,6 @@
<title><?=$page['title']?><? if($page['url'] != '/') echo " | Hoist" ?></title>

<link href="/style.css" rel="stylesheet">
<link href="/prettify.css" rel="stylesheet">

<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
Expand Down
54 changes: 54 additions & 0 deletions hoistup.com/style.css
Expand Up @@ -406,3 +406,57 @@ pre {
margin: 0.75em 2.625em 0;
}
}
.com {
color: #feffc8;
}
.lit {
color: #5fdfff;
}
.pun, .opn, .clo {
color: #999;
}
.fun {
color: #dc322f;
}
.str, .atv {
color: #4fd230;
}
.kwd, .tag {
color: #57b2ff;
}
.typ,
.atn,
.dec,
.var {
color: #f9f464;
}
.pln {
color: #f8f9d7;
}
.prettyprint {
/*
background-color: #0071d2;
*/

background-color: #222222;
padding: 12px;
/*border: 1px solid rgba(0,0,0,.2);
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.1);
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.1);
box-shadow: 0 1px 2px rgba(0,0,0,.1); */

}
/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
margin: 0 0 0 40px;
}
/* IE indents via margin-left */
ol.linenums li {
padding: 0 5px;
color: rgba(0, 0, 0, 0.15);
line-height: 20px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
/* Alternate shading for lines */
47 changes: 42 additions & 5 deletions hoistup.com/style.less
@@ -1,9 +1,4 @@






/*
Frameless <http://framelessgrid.com/>
by Joni Korpi <http://jonikorpi.com/>
Expand Down Expand Up @@ -475,3 +470,45 @@ pre{
}

}







.com { color: #feffc8; }
.lit { color: #5fdfff; }
.pun, .opn, .clo { color: #999; }
.fun { color: #dc322f; }
.str, .atv { color: #4fd230; }
.kwd, .tag { color: #57b2ff; }
.typ, .atn, .dec, .var { color: #f9f464; }
.pln { color: #f8f9d7; }
.prettyprint {
/*
background-color: #0071d2;
*/
background-color: #222222;
padding: 12px;
/*border: 1px solid rgba(0,0,0,.2);
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.1);
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.1);
box-shadow: 0 1px 2px rgba(0,0,0,.1); */
}

/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
margin: 0 0 0 40px;
}
/* IE indents via margin-left */
ol.linenums li {
padding: 0 5px;
color: rgba(0,0,0,.15);
line-height: 20px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
/* Alternate shading for lines */
li.L1, li.L3, li.L5, li.L7, li.L9 { }

0 comments on commit f9ce8d4

Please sign in to comment.