extraindo css para arquivo externo
authorLincoln de Sousa <pythonwarrior@pidinti.localdomain>
Thu, 9 Aug 2007 13:25:16 +0000 (10:25 -0300)
committerLincoln de Sousa <pythonwarrior@pidinti.localdomain>
Thu, 9 Aug 2007 13:25:16 +0000 (10:25 -0300)
media/css/geral.css [new file with mode: 0644]
templates/base.html

diff --git a/media/css/geral.css b/media/css/geral.css
new file mode 100644 (file)
index 0000000..4a89e46
--- /dev/null
@@ -0,0 +1,88 @@
+body {
+    margin: 0px 60px 10px 60px;
+    background-color: #fff;
+    font-family: verdana,arial,helvetica,sans-serif;
+}
+
+h1.title {
+    color: #f00;
+    background: url(/site_media/imgs/logo.png) no-repeat;
+    width: 156px;
+    height: 190px;
+    overflow: hidden;
+    float: left;
+}
+
+h1.title a {
+    display: block;
+    padding-top: 190px;
+}
+
+h2 {
+    padding: 0px 0px 0px 0px;
+    margin: 0px;
+    text-transform: uppercase;
+    color: #cc0000;
+}
+
+label {
+    display: block;
+    width: 180px;
+    font-weight: bold;
+}
+
+em {
+    color: #999;
+}
+
+#headsection {
+    border: solid 1px #f7f7f7;
+    background: #f7f7f7;
+    margin-bottom: 10px;
+    padding: 8px;
+}
+
+#right-box {
+    position: absolute;
+    right: 60px;
+    top: 10px;
+    width: 200px;
+    border: solid 1px blue;
+}
+
+#login-form {
+}
+
+#login-form label {
+    width: 80px !important;
+    float: left;
+}
+
+#login-form input[type=text] {
+    width: 100px;
+}
+
+#login-form input[type=password]  {
+    width: 40px;
+}
+
+#menu {
+}
+
+#content {
+    padding: 5px;
+}
+
+#news {
+    list-style-type: none;
+    padding-left: 0px;
+    border: dotted 1px #d7d7d7;
+}
+
+#news li {
+    padding: 4px;
+}
+
+.even {
+    background-color: #f7e7fe;
+}
index 9d9c7bd..7ab9f8b 100644 (file)
@@ -5,97 +5,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt_BR" lang="pt_BR">
     <head>
         <title>Encontro Mineiro de Software Livre</title>
-
-        <style type="text/css">
-            body {
-                margin: 0px 60px 10px 60px;
-                background-color: #fff;
-                font-family: verdana,arial,helvetica,sans-serif;
-            }
-
-            h1.title {
-                color: #f00;
-                background: url(/site_media/imgs/logo.png) no-repeat;
-                width: 156px;
-                height: 190px;
-                overflow: hidden;
-                float: left;
-            }
-
-            h1.title a {
-                display: block;
-                padding-top: 190px;
-            }
-
-            h2 {
-                padding: 0px 0px 0px 0px;
-                margin: 0px;
-                text-transform: uppercase;
-                color: #cc0000;
-            }
-
-            label {
-                display: block;
-                width: 180px;
-                font-weight: bold;
-            }
-
-            em {
-                color: #999;
-            }
-
-            #headsection {
-                border: solid 1px #f7f7f7;
-                background: #f7f7f7;
-                margin-bottom: 10px;
-                padding: 8px;
-            }
-
-            #right-box {
-                position: absolute;
-                right: 60px;
-                top: 10px;
-                width: 200px;
-                border: solid 1px blue;
-            }
-
-            #login-form {
-            }
-
-            #login-form label {
-                width: 80px !important;
-                float: left;
-            }
-
-            #login-form input[type=text] {
-                width: 100px;
-            }
-
-            #login-form input[type=password]  {
-                width: 40px;
-            }
-
-            #menu {
-            }
-
-            #content {
-                padding: 5px;
-            }
-
-            #news {
-                list-style-type: none;
-                padding-left: 0px;
-                border: dotted 1px #d7d7d7;
-            }
-
-            #news li {
-                padding: 4px;
-            }
-
-            .even {
-                background-color: #f7e7fe;
-            }
-        </style>
+        <link rel="stylesheet" type="text/css" href="/site_media/css/geral.css" />
     </head>
     <body>
         <div id="headsection">