1
Fork 0
blog/fnord.css

101 lines
2.1 KiB
CSS
Raw Normal View History

2011-08-25 10:20:25 +00:00
body {
background-color: #eee;
color: #1a1a1a;
2014-09-19 09:15:02 +00:00
font-style: normal;
2014-10-20 21:21:30 +00:00
font-size: 1.0em;
2014-09-19 09:15:02 +00:00
font-family: Helvetica, Arial, sans-serif;
2011-08-25 10:20:25 +00:00
}
a { color: #06c; text-decoration: none; }
a:hover { text-decoration: underline; }
2015-05-09 11:51:57 +00:00
.post p a:visited { color: #004488; }
2011-08-25 10:20:25 +00:00
h1 a, .heading a { color: black; }
h1 a:hover { text-decoration: none; }
.post .heading:before { content: "// "; }
2014-09-19 09:15:02 +00:00
.post .heading { font: bold 20px monospace; }
.post .date { font: italic 14px monospace; }
2011-08-25 10:20:25 +00:00
.post h2 { margin: 0; }
.post p.date { margin: 0; font-style: italic; }
.post p.date:before { content: "/* "; }
.post p.date:after { content: " */"; }
.post p {
2015-07-14 21:55:43 +00:00
line-height: 1.5em;
2011-08-25 10:20:25 +00:00
word-wrap: break-word;
}
.footer { padding-top: 0px; }
.footer p { padding: 0; margin: 0;}
blockquote {
2015-05-09 11:46:29 +00:00
margin: 0;
padding: 7px 15px;
border-left: 7px solid rgba(128, 128, 128, 0.075);
background-color: #f3f3f3;
2011-08-25 10:20:25 +00:00
}
2015-05-09 11:46:29 +00:00
blockquote p { margin: 0; }
2011-08-25 10:20:25 +00:00
pre {
margin-left: 10px;
background-color: #ddd;
}
2015-07-14 22:46:39 +00:00
p code, li code, table code {
2015-07-14 21:55:43 +00:00
background-color: rgba(0,0,0,0.04);
margin: 0;
2014-10-20 21:21:30 +00:00
color: black;
2015-07-14 21:55:43 +00:00
padding: .2em 0;
border-radius: 3px;
font-size: 95%;
}
2015-07-14 22:15:19 +00:00
p code::before, p code::after,
li code::before, li code::after,
table code::before, table code::after {
2015-07-14 21:55:43 +00:00
letter-spacing: -0.2em;
content: "\00a0";
2011-09-02 19:32:47 +00:00
}
2011-08-25 10:20:25 +00:00
.post {
margin-bottom: 15px;
padding: 20px;
padding-top: 10px;
padding-bottom: 5px;
background-color: white;
box-shadow: 0px 0px 2px #666;
}
.nav {
margin-bottom: 10px;
}
.nav h1, .nav ul, .nav li {
display: inline;
}
2014-09-19 09:15:02 +00:00
.nav h1 {
font: bold 26px monospace;
}
.nav li, .paginator, .footer {
font: normal 13px monospace;
}
2011-08-25 10:20:25 +00:00
.content {
margin: 0 auto;
2011-09-21 17:36:49 +00:00
max-width: 986px;
2011-08-25 10:20:25 +00:00
}
.paginator {
margin-bottom: 10px;
text-align: center;
}
2015-05-09 11:46:29 +00:00
hr {
border: 1px solid #f3f3f3;
}
2015-07-14 20:57:12 +00:00
table {
border-collapse: collapse;
2015-07-14 22:15:19 +00:00
border: 1px solid #ddd;
2015-07-14 20:57:12 +00:00
}
table th, table td {
padding: 7px 15px;
2015-07-14 22:15:19 +00:00
border: 1px solid #ddd;
2015-07-14 20:57:12 +00:00
}
table td:first-child {
width: 20%;
}
2015-07-14 22:15:19 +00:00
table tbody tr:nth-child(even) {
background-color: rgb(248, 248, 248);
2015-07-14 20:57:12 +00:00
}
2015-07-14 22:27:12 +00:00
code, pre {
2015-07-14 21:55:43 +00:00
background-color: #f8f8f8;
font-family: Inconsolata, monospace, sans-serif;
2015-07-14 22:27:12 +00:00
}