mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +00:00
ie7 support
This commit is contained in:
parent
f592cb3956
commit
82e251ac65
5 changed files with 19 additions and 1 deletions
1
ie7.css
Normal file
1
ie7.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
li.ie-bullet { display: inline }
|
||||
|
|
@ -4,6 +4,10 @@
|
|||
<meta name=viewport content=width=device-width>
|
||||
<title>samhuri.net</title>
|
||||
<link rel=stylesheet href=style.css>
|
||||
<!-- fuck ie -->
|
||||
<!--[if lt IE 8]>
|
||||
<link rel=stylesheet href=ie7.css>
|
||||
<![endif]-->
|
||||
<script>
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push( ['_setAccount', 'UA-214054-5']
|
||||
|
|
@ -20,8 +24,11 @@
|
|||
<h1>samhuri.net</h1>
|
||||
<ul>
|
||||
<li><a href=proj>projects</a></li>
|
||||
<li class=ie-bullet>•</li>
|
||||
<li><a href=json-diff>json-diff</a></li>
|
||||
<li class=ie-bullet>•</li>
|
||||
<li><a href=riak-js>riak-js docs</a></li>
|
||||
<li class=ie-bullet>•</li>
|
||||
<li class=last><a href=f>randoms</a></li>
|
||||
</ul>
|
||||
<p id=sjs>
|
||||
|
|
|
|||
|
|
@ -4,6 +4,10 @@
|
|||
<meta name=viewport content=width=device-width>
|
||||
<title>projects :: samhuri.net</title>
|
||||
<link rel=stylesheet href=../style.css>
|
||||
<!-- fuck ie -->
|
||||
<!--[if lt IE 8]>
|
||||
<link rel=stylesheet href=../ie7.css>
|
||||
<![endif]-->
|
||||
<style>
|
||||
#gh { text-align: center }
|
||||
#gh img { border: none }
|
||||
|
|
@ -99,9 +103,13 @@
|
|||
<h1>projects</h1>
|
||||
<ul>
|
||||
<li><a href=batteries>batteries</a></li>
|
||||
<li class=ie-bullet>•</li>
|
||||
<li><a href=format>format</a></li>
|
||||
<li class=ie-bullet>•</li>
|
||||
<li><a href=gitter>gitter</a></li>
|
||||
<li class=ie-bullet>•</li>
|
||||
<li><a href=repl-edit>repl-edit</a></li>
|
||||
<li class=ie-bullet>•</li>
|
||||
<li class=last><a href=strftime>strftime</a></li>
|
||||
</ul>
|
||||
<p id=gh>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
(function() {
|
||||
if (typeof localStorage !== 'undefined') {
|
||||
var global = this
|
||||
if (typeof localStorage !== 'undefined') {
|
||||
global.createObjectStore = function(namespace) {
|
||||
function makeKey(k) {
|
||||
return '--' + namespace + '-' + (k || '')
|
||||
|
|
|
|||
|
|
@ -67,6 +67,8 @@ li { display: inline
|
|||
|
||||
li:after { content: ' •' }
|
||||
li:last-child:after { content: '' }
|
||||
|
||||
li.ie-bullet { display: none } /* fuck ie */
|
||||
li.last:after { content: '' } /* fuck ie */
|
||||
|
||||
li a { padding: 5px
|
||||
|
|
|
|||
Loading…
Reference in a new issue