Browse code

Use a more modular structure for better extensibility

Benjamin Roth authored on28/08/2015 08:55:03
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,26 @@
1
+/**
2
+ * Holy grail CSS layout
3
+ *
4
+ * @see http://www.alistapart.com/articles/holygrail
5
+ */
6
+@mixin holy-grail-layout {
7
+  #main, #left, #right {
8
+	float: left;
9
+  }
10
+  #main {
11
+	width: 100%;
12
+
13
+	.inside {
14
+	  min-height: 1px; /* see #4893 */
15
+	}
16
+  }
17
+  #left {
18
+	margin-left: -100%;
19
+  }
20
+  #right {
21
+	margin-right: -100%;
22
+  }
23
+  #footer {
24
+	clear: both;
25
+  }
26
+}
0 27
\ No newline at end of file