Changing default theme to make it more beautiful, still in progress
authordanigm <dani@danigm.net>
Sat, 18 Apr 2009 12:42:59 +0000 (14:42 +0200)
committerdanigm <dani@danigm.net>
Sat, 18 Apr 2009 12:42:59 +0000 (14:42 +0200)
static/themes/default/css/style.css
static/themes/default/images/favicon.png [new file with mode: 0644]
static/themes/default/images/kisspi.png
static/themes/default/images/kisspi.svg
static/themes/default/images/logo.png [changed from file to symlink]
static/themes/default/templates/master.html

index 75a86b7..cc72dc6 100644 (file)
@@ -1,20 +1,29 @@
+/*
+ * COLORS:
+ *
+ * 74e274 verde1
+ * 65c5c5 azul
+ * cdf57e verde2
+ * ff8383 rosa
+ *
+ */
+
 body{
-    background-color: #40ac40;
     padding: 2em;
+    background-color: #65c5c5;
 }
 
 input, textarea, button {
-    border: 1px solid #550000;
+    border: 2px solid gray;
+    border-top: 1px solid green;
+    border-left: 1px solid green;
 }
 
 textarea{ width: 100% }
 
 #left, #header, #foot, #main {
     color: black;
-    background-color: white;
     margin: 0 auto 1em auto;
-    border: 2px solid green;
-    padding: 2em;
 }
 
 #left, #header, #foot, #body, #pre-body, #post-body {
@@ -25,13 +34,13 @@ div {
 }
 
 #main {
-    width: 70%;
+    width: 79%;
     float: right;
     min-height: 100px;
 }
 
 #left {
-    width: 15%;
+    width: 20%;
     float: left;
     min-height: 100px;
 }
@@ -44,15 +53,3 @@ div {
 img {
     border: none;
 }
-
-#overlay {
-    display: none;
-    position: fixed;
-    left: 0%;
-    top: 0%;
-    width: 100%;
-    height: 100%;
-    z-index: 999;
-    background-image: url('/static/images/overlay.gif');
-}
-
diff --git a/static/themes/default/images/favicon.png b/static/themes/default/images/favicon.png
new file mode 100644 (file)
index 0000000..d0dd825
Binary files /dev/null and b/static/themes/default/images/favicon.png differ
index 54f2bea..5a5c1c9 100644 (file)
Binary files a/static/themes/default/images/kisspi.png and b/static/themes/default/images/kisspi.png differ
index 416de73..182954e 100644 (file)
@@ -98,7 +98,7 @@
      gridtolerance="10000"
      guidetolerance="10"
      objecttolerance="10"
-     inkscape:pageopacity="1"
+     inkscape:pageopacity="0"
      inkscape:pageshadow="2"
      inkscape:zoom="3.622345"
      inkscape:cx="442.68994"
          style="font-size:94.69944763px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:extra-condensed;text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle;fill:#65c5c5;fill-opacity:1;stroke:none;stroke-width:0.99999988;stroke-opacity:1;font-family:Gloucester MT Extra Condensed;-inkscape-font-specification:'Gloucester MT Extra Condensed, Extra-Condensed'">π </tspan></text>
     <g
        id="g3325"
-       inkscape:export-filename="/home/danigm/kisspi.png"
+       inkscape:export-filename="/home/danigmArch/Projects/kisspi/static/themes/default/images/kisspi.png"
        inkscape:export-xdpi="183.5"
        inkscape:export-ydpi="183.5">
       <rect
              style="fill:#babdb6">Stupid</tspan></tspan></text>
     </g>
     <g
-       id="g3280">
+       id="g3280"
+       inkscape:export-filename="/home/danigm/Documentos/Projects/kisspi/static/themes/default/images/favicon.png"
+       inkscape:export-xdpi="30.18"
+       inkscape:export-ydpi="30.18">
       <path
          d="M 290.26111,483.76852 A 35.785614,35.785614 0 1 1 218.68988,483.76852 A 35.785614,35.785614 0 1 1 290.26111,483.76852 z"
          sodipodi:ry="35.785614"
          style="opacity:1;fill:#ffffff;fill-opacity:0.28855722;stroke:none;stroke-width:1;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;filter:url(#filter3276)"
          sodipodi:type="arc" />
     </g>
+    <g
+       id="g2441"
+       inkscape:export-filename="/home/danigm/Documentos/Projects/kisspi/static/themes/default/images/favicon.png"
+       inkscape:export-xdpi="30.18"
+       inkscape:export-ydpi="30.18">
+      <path
+         transform="translate(324,4)"
+         sodipodi:type="arc"
+         style="fill:#0a0b0b;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+         id="path2424"
+         sodipodi:cx="254.47549"
+         sodipodi:cy="483.76852"
+         sodipodi:rx="35.785614"
+         sodipodi:ry="35.785614"
+         d="M 290.26111,483.76852 A 35.785614,35.785614 0 1 1 218.68988,483.76852 A 35.785614,35.785614 0 1 1 290.26111,483.76852 z" />
+      <text
+         transform="scale(1.0003269,0.9996732)"
+         sodipodi:linespacing="100%"
+         id="text2426"
+         y="510.23495"
+         x="577.4541"
+         style="font-size:94.69944763px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:extra-condensed;text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle;fill:#65c5c5;fill-opacity:1;stroke:none;stroke-width:0.99999988;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;font-family:Gloucester MT Extra Condensed;-inkscape-font-specification:'Gloucester MT Extra Condensed, Extra-Condensed'"
+         xml:space="preserve"><tspan
+           style="font-size:94.69944763px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:extra-condensed;text-align:center;line-height:100%;writing-mode:lr-tb;text-anchor:middle;fill:#65c5c5;fill-opacity:1;stroke:none;stroke-width:0.99999988;stroke-opacity:1;font-family:Gloucester MT Extra Condensed;-inkscape-font-specification:'Gloucester MT Extra Condensed, Extra-Condensed'"
+           y="510.23495"
+           x="585.68481"
+           id="tspan2428"
+           sodipodi:role="line">π </tspan></text>
+    </g>
   </g>
 </svg>
deleted file mode 100644 (file)
index 54f2bea7a79ea83b5210de790720807bb25a4ab8..0000000000000000000000000000000000000000
Binary files a/static/themes/default/images/logo.png and /dev/null differ
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..05a2ccec79d50a9aa4d31b2c55c379c82709c267
--- /dev/null
@@ -0,0 +1 @@
+kisspi.png
\ No newline at end of file
index a22c4c9..1d23f11 100644 (file)
@@ -4,6 +4,7 @@ $code:
     theme = 'default'
     css = listdir('static/themes/'+theme+'/css/')
 
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 <html>
     <head>
         <title>$title</title>
@@ -12,6 +13,8 @@ $code:
 
         $for style in css:
             <link rel="stylesheet" type="text/css" href="/static/themes/$theme/css/$style"/>
+
+        <link rel="icon" type="image/png" href="/static/themes/$theme/images/favicon.png">
     </head>
     <body>
         <div id="header">