link to sloonz's script
[web.git] / personal / _sass / _layout.scss
index 28d5919d40dea82ba1d9b040cc95994f896d72bb..0054a61f22c7cd9aa21a0270ffa4333097e1e936 100644 (file)
@@ -100,6 +100,7 @@ body { /* This centers us in the page, and handles the "too wide" case */
         clear: both;
         float: none;
         position: static;
+        border: none;
     }
     #-content {
         padding: #{ $outer-margin * 0.75 };
@@ -191,3 +192,17 @@ body { /* This centers us in the page, and handles the "too wide" case */
         margin-top: 0.8em;
     }
 }
+
+/* Images (~350px wide) floating to the right but only if there is enough space */
+.float-right-350 {
+  float: right;
+  margin-left: 0.8em;
+  margin-bottom: 0.3em;
+}
+@media screen and (max-width:600px) {
+    .float-right-350 {
+        max-width: 300px;
+        float: none;
+        margin: auto;
+    }
+}