Browse Source

add css files

oz123 11 years ago
parent
commit
1c5ea346e8
4 changed files with 574 additions and 0 deletions
  1. 51 0
      media/css/print.css
  2. 70 0
      media/css/pygments_style.css
  3. 428 0
      media/css/site.css
  4. 25 0
      media/css/tipsy.css

+ 51 - 0
media/css/print.css

@@ -0,0 +1,51 @@
+body {
+    font: normal 18px/28px  Georgia, serif;
+    font-family:    
+    color:#444;
+    padding:0;margin:0;
+    background: #fff; 
+}
+h1, h2, h3, h4 {
+    font-family: Helvetica, Arial, sans-serif;
+}
+h2, h3, h4 {
+    border-bottom: 1px solid #eee;
+    color: #444;
+}
+
+h1 {
+    font-size:45px;
+    line-height:50px;
+}
+
+h2 {
+    font-size:32px;
+    line-height:50px;
+}
+
+h3 {
+    font-size:23px
+    line-height:25px;
+}
+
+h4 {
+    font-size:18px;
+    line-height:25px;
+}
+
+h1 a, h2 a, h3 a, h4 a {
+    color:#444;
+}
+#page { width: 99%; margin: 0 auto; }
+#nav { display:none;} 
+.codehilite {
+    background: #002B36 ;
+    padding:40px 10px 20px 20px;
+    border-radius: 0 0 5px 5px;
+    line-height:0.78em;
+    overflow:auto;
+    font-size:0.8em !important;
+    border-radius: 5px;
+    max-width: 99%;
+    margin: -15px auto auto;
+}

+ 70 - 0
media/css/pygments_style.css

@@ -0,0 +1,70 @@
+.codehilite .hll { background-color: #404040 }
+.codehilite  { background: #202020; color: #d0d0d0 }
+.codehilite .c { color: #999999; font-style: italic } /* Comment */
+.codehilite .err { color: #a61717; background-color: #e3d2d2 } /* Error */
+.codehilite .g { color: #d0d0d0 } /* Generic */
+.codehilite .k { color: #6ab825; font-weight: bold } /* Keyword */
+.codehilite .l { color: #d0d0d0 } /* Literal */
+.codehilite .n { color: #d0d0d0 } /* Name */
+.codehilite .o { color: #d0d0d0 } /* Operator */
+.codehilite .x { color: #d0d0d0 } /* Other */
+.codehilite .p { color: #d0d0d0 } /* Punctuation */
+.codehilite .cm { color: #999999; font-style: italic } /* Comment.Multiline */
+.codehilite .cp { color: #cd2828; font-weight: bold } /* Comment.Preproc */
+.codehilite .c1 { color: #999999; font-style: italic } /* Comment.Single */
+.codehilite .cs { color: #e50808; font-weight: bold; background-color: #520000 } /* Comment.Special */
+.codehilite .gd { color: #d22323 } /* Generic.Deleted */
+.codehilite .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */
+.codehilite .gr { color: #d22323 } /* Generic.Error */
+.codehilite .gh { color: #ffffff; font-weight: bold } /* Generic.Heading */
+.codehilite .gi { color: #589819 } /* Generic.Inserted */
+.codehilite .go { color: #cccccc } /* Generic.Output */
+.codehilite .gp { color: #aaaaaa } /* Generic.Prompt */
+.codehilite .gs { color: #d0d0d0; font-weight: bold } /* Generic.Strong */
+.codehilite .gu { color: #ffffff; text-decoration: underline } /* Generic.Subheading */
+.codehilite .gt { color: #d22323 } /* Generic.Traceback */
+.codehilite .kc { color: #6ab825; font-weight: bold } /* Keyword.Constant */
+.codehilite .kd { color: #6ab825; font-weight: bold } /* Keyword.Declaration */
+.codehilite .kn { color: #6ab825; font-weight: bold } /* Keyword.Namespace */
+.codehilite .kp { color: #6ab825 } /* Keyword.Pseudo */
+.codehilite .kr { color: #6ab825; font-weight: bold } /* Keyword.Reserved */
+.codehilite .kt { color: #6ab825; font-weight: bold } /* Keyword.Type */
+.codehilite .ld { color: #d0d0d0 } /* Literal.Date */
+.codehilite .m { color: #3677a9 } /* Literal.Number */
+.codehilite .s { color: #ed9d13 } /* Literal.String */
+.codehilite .na { color: #bbbbbb } /* Name.Attribute */
+.codehilite .nb { color: #24909d } /* Name.Builtin */
+.codehilite .nc { color: #447fcf; text-decoration: underline } /* Name.Class */
+.codehilite .no { color: #40ffff } /* Name.Constant */
+.codehilite .nd { color: #ffa500 } /* Name.Decorator */
+.codehilite .ni { color: #d0d0d0 } /* Name.Entity */
+.codehilite .ne { color: #bbbbbb } /* Name.Exception */
+.codehilite .nf { color: #447fcf } /* Name.Function */
+.codehilite .nl { color: #d0d0d0 } /* Name.Label */
+.codehilite .nn { color: #447fcf; text-decoration: underline } /* Name.Namespace */
+.codehilite .nx { color: #d0d0d0 } /* Name.Other */
+.codehilite .py { color: #d0d0d0 } /* Name.Property */
+.codehilite .nt { color: #6ab825; font-weight: bold } /* Name.Tag */
+.codehilite .nv { color: #40ffff } /* Name.Variable */
+.codehilite .ow { color: #6ab825; font-weight: bold } /* Operator.Word */
+.codehilite .w { color: #666666 } /* Text.Whitespace */
+.codehilite .mf { color: #3677a9 } /* Literal.Number.Float */
+.codehilite .mh { color: #3677a9 } /* Literal.Number.Hex */
+.codehilite .mi { color: #3677a9 } /* Literal.Number.Integer */
+.codehilite .mo { color: #3677a9 } /* Literal.Number.Oct */
+.codehilite .sb { color: #ed9d13 } /* Literal.String.Backtick */
+.codehilite .sc { color: #ed9d13 } /* Literal.String.Char */
+.codehilite .sd { color: #ed9d13 } /* Literal.String.Doc */
+.codehilite .s2 { color: #ed9d13 } /* Literal.String.Double */
+.codehilite .se { color: #ed9d13 } /* Literal.String.Escape */
+.codehilite .sh { color: #ed9d13 } /* Literal.String.Heredoc */
+.codehilite .si { color: #ed9d13 } /* Literal.String.Interpol */
+.codehilite .sx { color: #ffa500 } /* Literal.String.Other */
+.codehilite .sr { color: #ed9d13 } /* Literal.String.Regex */
+.codehilite .s1 { color: #ed9d13 } /* Literal.String.Single */
+.codehilite .ss { color: #ed9d13 } /* Literal.String.Symbol */
+.codehilite .bp { color: #24909d } /* Name.Builtin.Pseudo */
+.codehilite .vc { color: #40ffff } /* Name.Variable.Class */
+.codehilite .vg { color: #40ffff } /* Name.Variable.Global */
+.codehilite .vi { color: #40ffff } /* Name.Variable.Instance */
+.codehilite .il { color: #3677a9 } /* Literal.Number.Integer.Long */

+ 428 - 0
media/css/site.css

@@ -0,0 +1,428 @@
+.wf-loading { 
+  /*visibility: hidden; */
+}
+.wf-active, .wf-inactive {
+  visibility: visible; 
+}
+
+.clearfix:before,
+.clearfix:after {
+    content:"";
+    display:table;
+}
+
+.clearfix:after {
+    clear:both;
+}
+
+/* For IE 6/7 (trigger hasLayout) */
+.cf {
+    zoom:1;
+}
+
+body {
+    font: normal 18px/28px "Gentium Basic", Gentium, Palatino, Georgia, serif;
+    font-family:    
+    color:#444;
+    padding:0;margin:0;
+    background: #fff; 
+}
+img {
+    max-width:680px;
+    margin:0 auto;
+}
+
+html>body {font-size:18px; line-height:28px;}
+
+a {
+    text-decoration:none;
+    color:#2760BF; 
+}
+
+a:hover {
+    border-bottom: 1px dotted #444;
+    color:#00252e;
+}
+
+a  img { border: 0;}
+a:visited {
+}
+
+h1, h2, h3, h4 {
+    font-family:"Yanone Kaffeesatz", Ubuntu, Helvetica, Arial, sans-serif;
+}
+h2, h3, h4 {
+    border-bottom: 1px solid #eee;
+    color: #444;
+}
+
+h1 {
+    font-size:45px;
+    line-height:50px;
+}
+
+h2 {
+    font-size:32px;
+    line-height:50px;
+}
+
+h3 {
+    font-size:23px
+    line-height:25px;
+}
+
+h4 {
+    font-size:18px;
+    line-height:25px;
+}
+
+h1 a, h2 a, h3 a, h4 a {
+    color:#444;
+}
+
+h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover {
+    color:#4183c4;
+    text-decoration:none;
+    border:none;
+}
+
+pre code, pre {
+    font-family: "Ubuntu Mono", "Inconsolata", "Consolas", "Monaco", "Droid Sans Mono", "Bitstream Vera Mono", monospace;
+    font-style:normal;
+}
+
+pre {
+    margin:0 !important;
+    padding:0 !important;
+    background: #002B36 url(../img/noise.png) repeat-x !important;
+}
+
+pre code { 
+    font-size: inherit;
+       /* background:inherit;*/
+}
+
+code {
+    font-family: "Ubuntu Mono", "Inconsolata", "Consolas", "Monaco", "Droid Sans Mono", "Bitstream Vera Mono", monospace;
+    font-style:italic;
+    background: #eee;
+        padding: 0 0px;
+}
+
+li {
+    margin-top:-6px;
+}
+
+
+table
+{
+    font-family: Ubuntu, Helvetica, Arial, sans-serif;
+    font-size: 14px;
+    background: #fff;
+    min-width: 380px;
+    border-collapse: collapse;
+    border: 1px solid #ddd;
+    text-align: left;
+    overflow:auto;
+}
+table th
+{
+    font-size: 16px;
+    font-weight:normal;
+    padding: 10px 8px 6px;
+    border: 1px solid #ddd;
+    background: #eee;
+    
+}
+table td
+{
+    border: 1px solid #ccc;
+    padding: 6px 8px;
+}
+table tbody tr:hover 
+{
+    background:#eee;
+}
+
+blockquote {
+    margin: 1em 2em;
+    border-left: 2px solid #999;
+    font-style:oblique;
+    padding-left: 1em;
+}
+blockquote p:first-letter {
+    float: left;
+    margin: .2em .1em .1em 0;
+    font-family:"Yanone Kaffeesatz", Ubuntu, Helvetica, Arial, sans-serif;
+    font-size: 260%;
+    font-weight: bold; 
+}
+blockquote p:first-line {
+    font-weight:bold;
+}
+
+
+#page {
+    width:712px;
+    margin-left: 128px;
+}
+
+.in_progress {
+    background:#fff url(../img/in_progress.png);
+}
+
+
+#archive {
+    margin-left: 3.5cm
+}
+
+#nav {
+    margin:0;
+    margin-right: 70px
+    text-align:left;
+    position:fixed;
+    left: 0;
+    top: 6px;
+    font-family: Ubuntu, Helvetica, Arial, sans-serif;
+    opacity: 0.5;
+    height: 100%;
+    -moz-transition: opacity 0.5s ease-in;
+    -webkit-transition: opacity 0.5s ease-in;
+    -o-transition: opacity 0.5s ease-in;
+    transition: opacity 0.5s ease-in;
+}
+
+#nav:hover {
+    opacity:1.0;
+}
+
+#nav a {
+    text-align:left;
+    display:block;
+    border:none;
+    font-size: 13px;
+    line-height:22px;
+    background: #f0f0f5;
+    color:#333;
+    padding:0 6px 0 8px;
+    margin:2px 0px;
+}
+#nav img { margin:3px;border-radius:5px; }
+#nav .spacer {
+}
+#nav a:hover {
+    background-color:#333;
+    color:#fff;
+}
+
+
+
+#header {
+    text-align:left;
+    font-family:"Yanone Kaffeesatz", Ubuntu, Helvetica, Arial, sans-serif;
+    color:#444;
+}
+
+#header  a{
+    color:#40a2ff;
+}
+#header  a:hover {
+    text-decoration:none;
+}
+#header h1 {
+}
+#sitename h1{
+    margin:0px;
+    padding:0;
+    font-size: 32px;
+}
+#sitename h1 a{
+    color:#ddd;
+    border:none;
+}
+
+#sidebar {
+    position:absolute;
+}
+
+#content {
+    font-family: "Gentium Basic", Gentium, Palatino, Georgia, serif;
+    padding-left:13px;
+}
+
+#index {
+    margin:20px 0;
+}
+
+
+
+#index .entry {
+    margin-bottom:24px;
+}
+
+#index .entry h3 {
+    margin:0;
+    color:#555;
+}
+
+#index .entry h2 {
+    border-bottom:1px solid #e1d1c1;
+    margin:0;
+    font-weight:bold;
+    font-size:28px;
+    line-height:42px;
+}
+
+#index .entry .summary {
+    margin:0px;
+}
+
+#index .entry p {
+}
+
+#index .entry .published {
+    font-family:"Yanone Kaffeesatz", Ubuntu, Helvetica, Arial, sans-serif;
+    padding-right:23px;
+    font-size:14px;
+    float:left;
+}
+
+#index .entry .meta {
+    clear:both;
+    height:35px;
+}
+
+#index .entry .meta .link-url{
+    font-style:italic;
+    float:left;
+}
+
+#index .entry .meta .permalink{
+    font-family:"Yanone Kaffeesatz", Ubuntu, Helvetica, Arial, sans-serif;
+    font-size: 14px;
+    text-align:center;
+    float:right;
+}
+#index .entry .meta .permalink a{
+    text-decoration:none;
+    display:block;
+    margin:5px 10px;
+    width:25px;
+    border-radius:5px;
+}
+
+#index .entry .meta .permalink a:hover {
+    background-color:#222;
+    color:#fff;
+}
+
+.entry-full .meta .source,
+#index .entry .meta .source{
+}
+
+.entry-full .tags,
+#index .entry .tags{
+    font-style:italic;
+    float:right;
+}
+
+#header .published {
+    font-family:"Yanone Kaffeesatz", Ubuntu, Helvetica, Arial, sans-serif;
+    font-weight:700;
+    text-align:left;
+    margin-top:18px;
+    margin-bottom:-22px;
+    border-bottom:1px solid #444;
+}
+
+#header .published a { color:#444;}
+
+.tags {
+    text-align:right;
+    font-style:italic;
+}
+
+#footer {
+    text-align:center;
+    margin-top: 10px;
+    font-size:13px;
+    line-height: 20px;
+    color:#444;
+}
+
+#comments {
+    font-size:16px;
+    font-style:italic;
+    padding: 0px 20px;
+    margin-top:30px;
+}
+
+h1.tag_name img {
+    margin:0;
+}
+
+a.tag_feed_icon {
+    margin-top:25px;
+}
+
+
+div.popup .content .image img {
+    max-width:100%;
+}
+
+#about {
+    display:none;
+}
+
+#about_me {
+    width:621px;
+}
+#about_me p {
+    margin-top: 0px;
+}
+#about_me img.me {
+    border: 3px solid #aaa;
+    margin:8px 0 0;
+}
+
+#about_me label{
+background: none repeat scroll 0 0 #AAAAAA;
+color: #444444 !important;
+font-family: "Yanone Kaffeesatz",Ubuntu,Helvetica,Arial,sans-serif;
+font-size: 14px;
+font-weight: bold;
+padding: 2px 6px;
+position: relative;
+top: -270px;
+}
+
+
+.codehilite {
+    background: #002B36 url(../img/code_top_bg.png) repeat-x !important;
+    padding:40px 10px 20px 20px;
+    border-radius: 0 0 5px 5px;
+    line-height:0.78em;
+    overflow:auto;
+    font-size:0.3em !important;
+    border-radius: 5px;
+    max-width: 99%;
+    margin: -15px auto auto;
+}
+
+.tipsy {
+    font-family:Ubuntu, Helvetica, Arial, sans-serif;
+    font-weight: bold;
+}
+
+.published a {
+    color:#444;
+}
+
+.published a:hover {
+    color:#2760BF; 
+}
+
+#underpost {
+    font-size: 0.85em;
+    margin-top: 120px;
+}

+ 25 - 0
media/css/tipsy.css

@@ -0,0 +1,25 @@
+.tipsy { font-size: 12px; position: absolute; padding: 5px; z-index: 100000; }
+  .tipsy-inner { background-color: #000; color: #FFF; max-width: auto; padding: 0px 8px; text-align: center; }
+
+  /* Rounded corners */
+  /*.tipsy-inner { border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }*/
+  
+  /* Uncomment for shadow */
+  /*.tipsy-inner { box-shadow: 0 0 5px #000000; -webkit-box-shadow: 0 0 5px #000000; -moz-box-shadow: 0 0 5px #000000; }*/
+  
+  .tipsy-arrow { position: absolute; width: 0; height: 0; border: 5px solid transparent; }
+  
+  /* Rules to colour arrows */
+  .tipsy-arrow-n { border-bottom-color: #000; }
+  .tipsy-arrow-s { border-top-color: #000; }
+  .tipsy-arrow-e { border-left-color: #000; }
+  .tipsy-arrow-w { border-right-color: #000; }
+  
+  .tipsy-n .tipsy-arrow, .tipsy-nw .tipsy-arrow, .tipsy-ne .tipsy-arrow { top: 0; border-top: none; }
+  .tipsy-s .tipsy-arrow, .tipsy-sw .tipsy-arrow, .tipsy-se .tipsy-arrow { bottom: 0; border-bottom: none; }
+  .tipsy-n .tipsy-arrow, .tipsy-s .tipsy-arrow { left: 50%; margin-left: -5px; }
+  .tipsy-nw .tipsy-arrow, .tipsy-sw .tipsy-arrow { left: 10px; }
+  .tipsy-ne .tipsy-arrow, .tipsy-se .tipsy-arrow { right: 10px; }
+  .tipsy-e .tipsy-arrow, .tipsy-w .tipsy-arrow { top: 50%; margin-top: -5px; }
+  .tipsy-e .tipsy-arrow { right: 0; border-right: none; }
+  .tipsy-w .tipsy-arrow { left: 0; border-left: none; }