Prechádzať zdrojové kódy

added some CSS styles for the sidebar template

Frank Nägler 11 rokov pred
rodič
commit
4e376b12fc

+ 1 - 2
themes/default/content-sidebar.html

@@ -30,11 +30,10 @@
 
 	<section id="content">
 		<div class="inner">
-            {{ content }}
-
             <div class="sidebar">
                 this is the sidebar...
             </div>
+            {{ content }}
         </div>
 	</section>
 	

+ 11 - 2
themes/default/style.css

@@ -201,8 +201,17 @@ blockquote {
 /* Structure Styles
 /*---------------------------------------------*/
 .inner {
-	width: 850px;
-	margin: 0 auto;
+    width: 850px;
+    margin: 0 auto;
+}
+
+.inner .sidebar {
+    width: 250px;
+    margin: 0 20px 20px 0;
+    padding: 20px;
+    min-height: 300px;
+    background: #dddddd;
+    float: left;
 }
 
 #header {