Skip to content

Instantly share code, notes, and snippets.

@rthor
Created March 26, 2013 18:30
Show Gist options
  • Save rthor/5247881 to your computer and use it in GitHub Desktop.
Save rthor/5247881 to your computer and use it in GitHub Desktop.
Icelandic chrome frame comment and styling...
<!--[if lt IE 7]>
<div class="chromeframe">
<div class="container">
<p>Þú er að nota <strong>úreltann</strong> vafra. Vinsamlegast <a href="http://browsehappy.com/">uppfærið vafrann</a> eða <a href="http://www.google.com/chromeframe/?redirect=true">gerið Google Chrome Frame virkt</a> til að gera þessa síðu nothæfa.</p>
<hr>
<p class="en">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
</div>
</div>
<![endif]-->
/*
|--------------------------------------------------------------------------
| Chrome frame
|--------------------------------------------------------------------------
*/
.chromeframe {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: #aaa;
z-index: 20000;
overflow-y: auto;
color: #fff;
padding: 25px;
p {
font-size: 32px;
line-height: 1.5em;
margin: 0;
}
hr {
border-color: #999;
margin: 2em 0;
}
p.en {
color: #888;
font-size: 24px;
}
p.en a {
color: #777;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment