You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by sk...@apache.org on 2014/02/03 15:48:59 UTC

svn commit: r1563930 - /incubator/olingo/site/trunk/content/css/main.css

Author: sklevenz
Date: Mon Feb  3 14:48:59 2014
New Revision: 1563930

URL: http://svn.apache.org/r1563930
Log:
CMS commit to olingo by sklevenz

Modified:
    incubator/olingo/site/trunk/content/css/main.css

Modified: incubator/olingo/site/trunk/content/css/main.css
URL: http://svn.apache.org/viewvc/incubator/olingo/site/trunk/content/css/main.css?rev=1563930&r1=1563929&r2=1563930&view=diff
==============================================================================
--- incubator/olingo/site/trunk/content/css/main.css (original)
+++ incubator/olingo/site/trunk/content/css/main.css Mon Feb  3 14:48:59 2014
@@ -65,6 +65,10 @@
 .codehilite .vi { color: #bb60d5 } /* Name.Variable.Instance */
 .codehilite .il { color: #40a070 } /* Literal.Number.Integer.Long */
 
+/*
+    Olingos manual style
+*/
+
 table {
     border-collapse: collapse;
     border: 0px solid lightgrey;
@@ -98,7 +102,62 @@ body > div[class="container"] code {
     padding:0px;
 }
 
+/*
+    http://onepcssgrid.mattimling.com/
+*/
+
+.onepcssgrid-1000, .onepcssgrid-1200 {
+	margin: 0 auto;
+	padding: 0 0 0 1%; /* THAT'S THE NAME ;) */
+}
+
+.onepcssgrid-1200 {
+	max-width: 1220px;
+}
+
+.onepcssgrid-1000 {
+	max-width: 1020px;
+}
+
+.onerow {
+	clear: both;
+	padding: 0 10px;
+}
+
+.col1 {
+	float: left;
+	margin: 0 3% 0 0;
+}
+
+.col1.last {
+	margin: 0;
+}
+
+.col1 { width: 48%; }
 
+.col1 img {
+	width: 100%;
+	height: auto;
+	display: block;
+}
 
+@media all and (min-width: 1024px) {
+	.onepcssgrid-1000 {
+		max-width: 1000px;
+	}
+
+	.onepcssgrid-1000 .onerow {
+		padding: 0;
+	}
+}
 
+@media all and (max-width: 768px) {
+	.onerow {
+	}
+
+	.col1 {
+		float: none;
+		width: 99%;
+	}
+}