Skip to content

Instantly share code, notes, and snippets.

@dbb
Created July 15, 2011 17:22
Show Gist options
  • Save dbb/1085110 to your computer and use it in GitHub Desktop.
Save dbb/1085110 to your computer and use it in GitHub Desktop.
/* a dark style */
* {
background: #303030;
font-family: 'Cousine', monospace;
}
body {
background: #202020;
border-color: #cc5f29;
border-style: double;
border-width: 3px;
color: #e0e0e0;
margin: 4% 10%;
padding: 4%;
}
/* links */
a { background: #202020; }
a:link {color:#2996cc;}
a:visited {color:#a76bb3;}
a:hover {color:#cc2944;}
a:active {color:#ffffff;}
/* code ***************************************************/
code, div.code, pre {
background: #141414;
color: #70b751;
font-family: monospace !important ;
font-size: 12px;
}
code {
/* display: inline;
*/
font-family: monospace !important ;
font-weight: bold;
padding: 2px 8px;
}
div.code, pre {
border-color: #a0a0a0;
border-style: dashed;
border-width: 1px;
line-height: 200%;
margin: 1% 5%;
padding: 20px;
}
/* end code ***********************************************/
em {
background: #202020;
font-family: inherit;
text-decoration: italic;
}
h1, h2, h3, h4, h5, h6 {
background: #202020;
color: #cc5f29;
font-weight: bold;
line-height 1.5;
margin-bottom: 4px;
}
h2 {
text-indent: 3%;
}
h3 {
text-indent: 6%;
}
h4 {
text-indent: 9%;
}
h5 {
text-indent: 12%;
}
p {
background: #202020;
font-family: serif ;
font-size: 14px;
}
ul, ol {
background: #202020;
}
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
<title>demus.co</title>
<link rev="made" href="mailto:dbb" />
<meta name="copyright" content="Copyright 2011 dbb" />
<link type="text/css" rel="stylesheet" href="http://fonts.googleapis.com/css?family=Cousine" />
<link rel="stylesheet" type="text/css" href="/home/dbb/demus.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<p><h1>demus.co</h1>
<p>The future home of Demus Inc.</p>
<ul>
<li><p><a href="/index.pl">home</a></p></li>
<li><p><a href="/links.pl">links</a></p></li>
<li><p><a href="/contact.pl">contact</a></p></li>
</ul>
</p><p>Here is some <code>inline code text</code>, and below is a code box:</p>
<div class="code">% perl -le 'print "div.code"'<br />% print $shell</div>
<pre><code>% print "This is pre-code" br <br />
% print "no br"
% foo</code></pre>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment