Commits

Ian Lewis  committed 888f599

Updated styles for images.

  • Participants
  • Parent commits d111af5
  • Branches bootstrap

Comments (0)

Files changed (1)

File static/css/style.css

 }
 
 .header .search-box input {
-    -moz-border-radius: 10px;
     -webkit-border-radius: 10px;
+       -moz-border-radius: 10px;
     
     background: #FFFFFF none repeat scroll 0 0;
     border: 1px solid #AAAAAA;
     margin-top: 1em;
 }
 
+.content #index .blog-hero {
+    border: 1px solid #ddd;
+
+    -webkit-border-radius: 4px;
+       -moz-border-radius: 4px;
+            border-radius: 4px;
+
+    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.075);
+       -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.075);
+            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.075);
+
+    -webkit-transition: all 0.2s ease-in-out;
+       -moz-transition: all 0.2s ease-in-out;
+         -o-transition: all 0.2s ease-in-out;
+            transition: all 0.2s ease-in-out;
+}
+.content #index .blog-hero:hover {
+    border-color: #0088cc;
+
+    -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
+       -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
+            box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
+}
+
 .content #index .blog-hero .hero-inner {
     display: block;
     padding: 10px 19px;
     font-size: 1.5em;
     font-weight: bold;
     /* height: 200px; */
-
-    border: 1px solid #ddd;
-
-    -webkit-border-radius: 4px;
-    -moz-border-radius: 4px;
-    border-radius: 4px;
-
-    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
-    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
-    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
 }
 .content #index .blog-hero .blog-hero-flag {
     /* height: 170px; */
     background-color: #f5f5f5;
 }
 
-.content #index .blog-hero:hover {
-    border-color: #0088cc;
-
-    -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
-    -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
-    box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
-}
 
 .content #index .blog-hero .blog-link-title {
     font-size: 1.5em;
 .content .blog-post .post-content h4 {
     margin: 0.5em 0 0.25em 0;
 }
+
+.content .blog-post .post-content img.align-center {
+    display: block;
+    margin: 0 auto;
+}
+
+.content .blog-post .post-content img.align-left {
+    display: block;
+    float: left;
+    /* Add margin to separate from text on the right */
+    margin-right: 2em;
+}
+
+.content .blog-post .post-content img.align-right {
+    display: block;
+    float: right;
+    /* Add margin to separate from text on the left */
+    margin-left: 2em; 
+}
+
+.content .blog-post .post-content img {
+    margin: 1em 0;
+
+    padding: 10px;
+    border: 1px solid #CCC;
+
+    -webkit-box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.075);
+       -moz-box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.075);
+            box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.075);
+}
+
 /* =========== Notes ============== */
 
 .note {
     padding: 39px 19px 14px;
     background-color: white;
     border: 1px solid #DDD;
+
     -webkit-border-radius: 4px;
-    -moz-border-radius: 4px;
-    border-radius: 4px;
+       -moz-border-radius: 4px;
+            border-radius: 4px;
 }
 .admonition-title {
     /* content: "Note"; */
     background-color: whiteSmoke;
     border: 1px solid #DDD;
     color: #9DA0A4;
+
     -webkit-border-radius: 4px 0 4px 0;
-    -moz-border-radius: 4px 0 4px 0;
-    border-radius: 4px 0 4px 0;
+       -moz-border-radius: 4px 0 4px 0;
+            border-radius: 4px 0 4px 0;
 }
 
 /* =========== Pagination ============== */