Skip to content

Instantly share code, notes, and snippets.

@agustibr
Forked from jpzwarte/gist:361195
Created October 21, 2011 23:22
Show Gist options
  • Save agustibr/1305249 to your computer and use it in GitHub Desktop.
Save agustibr/1305249 to your computer and use it in GitHub Desktop.
thickborder
<!DOCTYPE html>
<html>
<head>
<title>Thickborder</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../reset-min.css" media="screen" rel="stylesheet" type="text/css" />
<link href="thickborder.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
<nav>
<ul>
<li><a href="#">Top Stories</a></li>
<li><a href="#">TAmericas</a></li>
<li class="selected"><a href="#">TTechnology</a></li>
<li><a href="#">TBusiness</a></li>
<li><a href="#">TScience &amp; Environment</a></li>
</ul>
</nav>
<section>
<aside>
<ul class="ticker">
<li>
<div>
<img src="http://farm5.static.flickr.com/4068/4383957341_3ee2cc6394.jpg" alt="" />
<span>Apple iPad hits shops in America</span>
</div>
</li>
<li class="selected">
<div>
<img src="http://farm5.static.flickr.com/4068/4383957341_3ee2cc6394.jpg" alt="" />
<span>Apple iPad hits shops in America</span>
</div>
</li>
<li>
<div>
<img src="http://farm5.static.flickr.com/4068/4383957341_3ee2cc6394.jpg" alt="" />
<span>Apple iPad hits shops in America</span>
</div>
</li>
<li>
<div>
<img src="http://farm5.static.flickr.com/4068/4383957341_3ee2cc6394.jpg" alt="" />
<span>Apple iPad hits shops in America</span>
</div>
</li>
<li>
<div>
<img src="http://farm5.static.flickr.com/4068/4383957341_3ee2cc6394.jpg" alt="" />
<span>Apple iPad hits shops in America</span>
</div>
</li>
</ul>
</aside>
<article>
<hgroup>
<h2>Page last updatet at 02:52 GMT, Thursday, 12 April 2010</h1>
<h1>Apple iPad hits shops in America</h1>
</hgroup>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</article>
</section>
<footer>Lorem ipsum dolor sit amet</footer>
</body>
</html>
html {
font-family: 'Helvetica Neue';
font-size: 12px;
-webkit-text-stroke: 1px transparent;
}
nav {
background-color: #000;
display: block;
padding: 6px;
}
nav ul {
overflow: hidden;
}
nav ul li {
color: #ccc;
float: left;
font-weight: bold;
line-height: 16px;
margin: 0 10px;
padding: 5px 8px;
}
nav ul li.selected {
background-color: #fff;
color: #222;
-webkit-border-radius: 5px;
}
ul.ticker {
background: -webkit-gradient(linear, left top, left bottom, from(#313131), to(#080808), color-stop(85%, #313131));
border-bottom: 1px solid #404040;
color: #fff;
padding: 0px 0px 5px;
overflow: hidden;
}
ul.ticker li {
float: left;
margin: 0 5px;
padding: 3px;
}
ul.ticker li div {
background: -webkit-gradient(linear, left top, left bottom, from(#232323), to(#171717), color-stop(90%, #232323));
border: 1px solid #454545;
font-weight: bold;
padding: 5px;
width: 105px;
-webkit-border-radius: 2px;
-webkit-box-shadow: 0 0 4px #000 inset;
}
ul.ticker li img {
border: 1px solid #3a3a3a;
display: block;
height: 80px;
margin-bottom: 10px;
width: 103px;
}
ul.ticker li span {
display: block;
line-height: 14px;
padding-bottom: 5px;
}
ul.ticker li.selected {
background: -webkit-gradient(linear, left top, left bottom, from(#cdcdcd), to(#5e5e5e), color-stop(90%, #cdcdcd));
-webkit-border-radius: 3px;
-webkit-box-shadow: 0 1px 2px #000;
}
.article {
margin: 20px;
}
.article h2 {
border-bottom: 1px solid #000;
color: #999;
font-size: 11px;
font-weight: bold;
padding-bottom: 5px;
}
.article h1 {
color: #000;
font-size: 20px;
font-weight: bold;
margin: 5px 0;
}
.article p {
margin-bottom: 10px;
}
.article p:first-of-type {
font-size: 13px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment