mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +00:00
438 lines
9.2 KiB
CSS
438 lines
9.2 KiB
CSS
/* Island screen styles */
|
|
|
|
body {
|
|
font: 1em/1.15em "Hoefler Text", Georgia, "Adobe Garamond Pro", Palatino, "Times New Roman", serif;
|
|
color: #eee;
|
|
background: #000;
|
|
margin: 5px;
|
|
}
|
|
|
|
#leftcolumn {
|
|
width: 23%;
|
|
float: right;
|
|
margin: 0 10px 0 20px;
|
|
text-align: right;
|
|
}
|
|
|
|
#header {
|
|
/* text-align: center;*/
|
|
}
|
|
|
|
#content {
|
|
/* padding-top: 50px;*/
|
|
width: 72%;
|
|
float: left;
|
|
}
|
|
|
|
#main {
|
|
}
|
|
|
|
#search {
|
|
padding: 3px;
|
|
}
|
|
|
|
#sidebar {
|
|
}
|
|
|
|
#footer {
|
|
text-align: center;
|
|
/* background: #333;*/
|
|
border-top: 1px solid #666;
|
|
padding-bottom: 5px;
|
|
clear: both;
|
|
}
|
|
|
|
#footer a { border: none; }
|
|
#footer img { border: none; }
|
|
|
|
/*+-------------------------------------------+
|
|
| LINKS |
|
|
+-------------------------------------------+*/
|
|
|
|
a {
|
|
color: #5189ea;
|
|
text-decoration: none;
|
|
border-bottom: 1px dotted #3179ca;
|
|
padding-top: 2px;
|
|
}
|
|
|
|
a:hover {
|
|
background: #ffa;
|
|
color: #000;
|
|
}
|
|
|
|
/*+-------------------------------------------+
|
|
| UTILITY |
|
|
+-------------------------------------------+*/
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
form, div { padding: 0; margin: 0; }
|
|
p { margin: 0 0 1em 0; padding: 0; }
|
|
img {
|
|
border: 0;
|
|
padding: 5px;
|
|
}
|
|
|
|
/*+-------------------------------------------+
|
|
| HEADER |
|
|
+-------------------------------------------+*/
|
|
|
|
#header h1 {
|
|
margin-top: 30px;
|
|
font-size: 5em;
|
|
}
|
|
|
|
#header h1 a {
|
|
color: #ffa;
|
|
background: inherit;
|
|
text-decoration: none;
|
|
border-bottom: none;
|
|
}
|
|
|
|
#header h1 a:hover {
|
|
background: #000;
|
|
}
|
|
|
|
#header h2 {
|
|
color: #555;
|
|
padding-top: .2em;
|
|
font-size: 1.2em;
|
|
letter-spacing: 2px;
|
|
}
|
|
|
|
/*+-------------------------------------------+
|
|
| SEARCH |
|
|
+-------------------------------------------+*/
|
|
|
|
#sform {
|
|
padding-top: 15px;
|
|
}
|
|
|
|
#search-results {
|
|
text-align: left;
|
|
padding-bottom: 5px;
|
|
border-bottom: 1px dotted #666;
|
|
}
|
|
|
|
/*+-------------------------------------------+
|
|
| POST |
|
|
+-------------------------------------------+*/
|
|
|
|
.post {
|
|
padding: 10px 0 10px 0;
|
|
margin: 5px 0 15px 5px;
|
|
/* clear: left;*/
|
|
}
|
|
|
|
.post h2 {
|
|
font-size: 140%;
|
|
line-height: 1.4em;
|
|
margin: 5px 0;
|
|
/* padding-top: 15px;*/
|
|
}
|
|
|
|
.post h3 {
|
|
margin: 5px 0;
|
|
}
|
|
|
|
.post h2 a {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
border: none;
|
|
}
|
|
|
|
.post h2 a:before {
|
|
content: '# ';
|
|
}
|
|
|
|
.post h2 a:hover {
|
|
color: #ffa;
|
|
background: #000;
|
|
}
|
|
|
|
.post p {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
p.meta {
|
|
font-size: 75%;
|
|
text-align: right;
|
|
margin-right: 15px;
|
|
/* border-right: 1px solid #999;*/
|
|
/* float: left;*/
|
|
/* width: 75px;*/
|
|
}
|
|
|
|
p.auth {
|
|
font-size: 85%;
|
|
font-weight: bold;
|
|
color: #999;
|
|
}
|
|
|
|
/*+-------------------------------------------+
|
|
| COMMENTS |
|
|
+-------------------------------------------+*/
|
|
|
|
.comment-list li, #preview {
|
|
background: #666;
|
|
padding: 5px;
|
|
margin-bottom: 8px;
|
|
color: #eee;
|
|
/*border-right: 20px solid #d3e0ea;*/
|
|
min-height: 60px;
|
|
}
|
|
|
|
.gravatar {
|
|
float: right;
|
|
padding: 0 5px;
|
|
}
|
|
|
|
/*+-------------------------------------------+
|
|
| SIDEBAR |
|
|
+-------------------------------------------+*/
|
|
|
|
#sidebar h3 {
|
|
font-size: 110%;
|
|
line-height: 1.5em;
|
|
color: #ff9d47;
|
|
margin-top: 15px;
|
|
margin-bottom: 2px;
|
|
text-transform: lowercase;
|
|
}
|
|
|
|
#sidebar h3:before {
|
|
content: "<< ";
|
|
font-size: small;
|
|
}
|
|
#sidebar h3:after {
|
|
content: " >>";
|
|
font-size: small;
|
|
}
|
|
|
|
#sidebar h3 a {
|
|
color: #ff9d47;
|
|
border-bottom: 1px dotted #ff9d47;
|
|
}
|
|
|
|
#sidebar h3 a:hover {
|
|
color: #000;
|
|
background: #ffa;
|
|
}
|
|
|
|
#sidebar ul {
|
|
text-align: right;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style-type: none;
|
|
}
|
|
|
|
#sidebar ul li {
|
|
/* background: url(http://web.archive.org/web/20060321041209/http://sami.samhuri.net/images/theme/small_arrow.png) 45% no-repeat;*/
|
|
/* padding-left: 12px;*/
|
|
}
|
|
|
|
#sidebar a.feed,
|
|
#sidebar a.feed:link,
|
|
#sidebar a.feed:hover {
|
|
display: inline;
|
|
border: none;
|
|
background: #000;
|
|
}
|
|
|
|
/*+-------------------------------------------+
|
|
| FOOTER |
|
|
+-------------------------------------------+*/
|
|
|
|
#footer ul {
|
|
margin: 0;
|
|
padding: 10px 0 0 0;
|
|
list-style: none;
|
|
}
|
|
|
|
#footer ul li {
|
|
display: inline;
|
|
margin: 0;
|
|
padding: 0 5px 0 0;
|
|
font-size: 100%;
|
|
}
|
|
|
|
/*+-------------------------------------------+
|
|
| FORMS |
|
|
+-------------------------------------------+*/
|
|
|
|
input, textarea, select {
|
|
border: 1px solid #8ab3d1;
|
|
background: #f9f9f9;
|
|
}
|
|
|
|
.frm-tbl td { vertical-align: top; padding: 5px; }
|
|
td#frm-btns { text-align: right; }
|
|
|
|
#comment_body { height: 220px; }
|
|
#form-submit-button { background: #d3e0ea; }
|
|
|
|
/*+-------------------------------------------+
|
|
| MISC |
|
|
+-------------------------------------------+*/
|
|
|
|
.powered { border: none; }
|
|
.powered img { margin-top: 20px; }
|
|
.pullquote {
|
|
width: 30%;
|
|
float:right;
|
|
font: 150%/1.5em Times, Helvetica, "Times New Roman", serif;
|
|
color: #666;
|
|
margin:10px;
|
|
background: url(http://web.archive.org/web/20060321041209/http://sami.samhuri.net/images/theme/q-close.gif) no-repeat 70% 100% !important;
|
|
background /**/:url(); /* removing quote graphic in IE5+ */
|
|
padding: 0 25px 5px 0;
|
|
}
|
|
.pullquote:first-letter {
|
|
background: url(http://web.archive.org/web/20060321041209/http://sami.samhuri.net/images/theme/q-open.gif) no-repeat left top !important;
|
|
padding:5px 2px 10px 35px!important;
|
|
padding /**/:0px; /* resetting padding in IE5+ */
|
|
background /**/: url(); /* removing quote graphic in IE5+ */
|
|
}
|
|
|
|
.light-bg { background: #666; padding: 2px; }
|
|
.clearfix:after {
|
|
content: ".";
|
|
display: block;
|
|
height: 0;
|
|
clear: both;
|
|
visibility: hidden;
|
|
}
|
|
|
|
#errors {
|
|
color: red;
|
|
}
|
|
|
|
.admintools {
|
|
float: right;
|
|
background-color: #fff;
|
|
font-size: smaller;
|
|
padding: 0 2px;
|
|
margin: 0 1px;
|
|
color: #ccc;
|
|
border: 1px solid #ccc;
|
|
}
|
|
|
|
.admintools:hover {
|
|
color: #c00;
|
|
border: 1px solid #c00;
|
|
}
|
|
|
|
a[name] { border: none; }
|
|
|
|
/* Hides from IE-mac \*/
|
|
* html .clearfix {height: 1%;}
|
|
/* End hide from IE-mac */
|
|
|
|
#categories li em, #archives li em
|
|
{
|
|
color: #98B4D1;
|
|
font-size: smaller;
|
|
}
|
|
|
|
/* Syntax highlighting */
|
|
.typocode_ruby .normal {}
|
|
.typocode_ruby .comment { color: #005; font-style: italic; }
|
|
.typocode_ruby .keyword { color: #A00; font-weight: bold; }
|
|
.typocode_ruby .method { color: #077; }
|
|
.typocode_ruby .class { color: #074; }
|
|
.typocode_ruby .module { color: #050; }
|
|
.typocode_ruby .punct { color: #447; font-weight: bold; }
|
|
.typocode_ruby .symbol { color: #099; }
|
|
.typocode_ruby .string { color: #944; background: #FFE; }
|
|
.typocode_ruby .char { color: #F07; }
|
|
.typocode_ruby .ident { color: #004; }
|
|
.typocode_ruby .constant { color: #07F; }
|
|
.typocode_ruby .regex { color: #B66; background: #FEF; }
|
|
.typocode_ruby .number { color: #F99; }
|
|
.typocode_ruby .attribute { color: #7BB; }
|
|
.typocode_ruby .global { color: #7FB; }
|
|
.typocode_ruby .expr { color: #227; }
|
|
.typocode_ruby .escape { color: #277; }
|
|
.typocode_xml .normal {}
|
|
.typocode_xml .namespace { color: #B66; font-weight: bold; }
|
|
.typocode_xml .tag { color: #F88; }
|
|
.typocode_xml .comment { color: #005; font-style: italic; }
|
|
.typocode_xml .punct { color: #447; font-weight: bold; }
|
|
.typocode_xml .string { color: #944; }
|
|
.typocode_xml .number { color: #F99; }
|
|
.typocode_xml .attribute { color: #BB7; }
|
|
.typocode_yaml .normal {}
|
|
.typocode_yaml .document { font-weight: bold; color: #07F; }
|
|
.typocode_yaml .type { font-weight: bold; color: #05C; }
|
|
.typocode_yaml .key { color: #F88; }
|
|
.typocode_yaml .comment { color: #005; font-style: italic; }
|
|
.typocode_yaml .punct { color: #447; font-weight: bold; }
|
|
.typocode_yaml .string { color: #944; }
|
|
.typocode_yaml .number { color: #F99; }
|
|
.typocode_yaml .time { color: #F99; }
|
|
.typocode_yaml .date { color: #F99; }
|
|
.typocode_yaml .ref { color: #944; }
|
|
.typocode_yaml .anchor { color: #944; }
|
|
|
|
.typocode {
|
|
background-color:#eee;
|
|
padding:2px;
|
|
margin:5px;
|
|
margin-left:1em;
|
|
margin-bottom:1em;
|
|
}
|
|
|
|
.typocode pre {
|
|
padding: 0px;
|
|
margin: 0px;
|
|
border: none;
|
|
background: transparent;
|
|
font-family: monospace;
|
|
overflow:auto;
|
|
}
|
|
|
|
|
|
.typocode .lineno {
|
|
text-align: right;
|
|
/* color: #B00;*/
|
|
font-family: monospace;
|
|
padding-right: 1em;
|
|
}
|
|
|
|
code {
|
|
font-family: "Andale Mono", "Lucida Typewriter", "Bitstream Vera Sans Mono", fixed-width, monospace;
|
|
/* font-size: 120%;*/
|
|
}
|
|
|
|
pre {
|
|
background: #555;
|
|
border: 1px dashed #5189ea;
|
|
margin-bottom: 30px;
|
|
margin-top: -10px;
|
|
padding: 5px;
|
|
}
|
|
|
|
/*+-------------------------------------------+
|
|
| TAGLIST |
|
|
+-------------------------------------------+*/
|
|
|
|
ul#taglist li {
|
|
display: inline;
|
|
line-height: 3em;
|
|
}
|
|
|
|
.tags .tags0 { font-size: 1.0em; }
|
|
.tags .tags1 { font-size: 1.2em; }
|
|
.tags .tags2 { font-size: 1.4em; }
|
|
.tags .tags3 { font-size: 1.6em; }
|
|
.tags .tags4 { font-size: 1.8em; }
|
|
.tags .tags5 { font-size: 2.0em; }
|
|
.tags .tags6 { font-size: 2.2em; }
|
|
.tags .tags7 { font-size: 2.4em; }
|
|
.tags .tags8 { font-size: 2.6em; }
|
|
.tags .tags9 { font-size: 2.8em; }
|
|
.tags .tags10 { font-size: 3.0em; }
|