index: remove border radius from ad images
[bootswatch] / css / bootswatch.css
index 80d9095..4f54b72 100644 (file)
-body {
-       padding-top: 80px;
-       padding-bottom: 20px;
-}
-
-.navbar a > i {
-       opacity: 0.5;
-}
-
-.navbar a:hover > i {
-       opacity: 1;
-}
-
 section {
-       margin-top: 100px;
-}
-
-.subhead {
-       padding-bottom: 0;
-       margin-bottom: 9px;
-}
-
-.subhead h1 {
-       font-size: 54px;
-}
-
-.subnav {
-       margin-bottom: 60px;
-       width: 100%;
-       height: 36px;
-       background-color: #eeeeee; /* Old browsers */
-       background-repeat: repeat-x; /* Repeat the gradient */
-       background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
-       background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
-       background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Chrome 10+,Safari 5.1+ */
-       background-image: -ms-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* IE10+ */
-       background-image: -o-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Opera 11.10+ */
-       filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
-       background-image: linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* W3C */
-       border: 1px solid #e5e5e5;
-       -webkit-border-radius: 4px;
-       -moz-border-radius: 4px;
-       border-radius: 4px;
-}
-
-.subnav .nav {
-       margin-bottom: 0;
-}
-
-.subnav .nav > li > a {
-       margin: 0;
-       padding-top:    11px;
-       padding-bottom: 11px;
-       border-left: 1px solid #f5f5f5;
-       border-right: 1px solid #e5e5e5;
-       -webkit-border-radius: 0;
-       -moz-border-radius: 0;
-       border-radius: 0;
-}
-
-.subnav .nav > .active > a,
-.subnav .nav > .active > a:hover {
-       padding-left: 13px;
-       color: #777;
-       background-color: #e9e9e9;
-       border-right-color: #ddd;
-       border-left: 0;
-       -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
-       -moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
-       box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
-}
-
-.subnav .nav > .active > a .caret,
-.subnav .nav > .active > a:hover .caret {
-       border-top-color: #777;
-}
-
-.subnav .nav > li:first-child > a,
-.subnav .nav > li:first-child > a:hover {
-       border-left: 0;
-       padding-left: 12px;
-       -webkit-border-radius: 4px 0 0 4px;
-       -moz-border-radius: 4px 0 0 4px;
-       border-radius: 4px 0 0 4px;
+       margin-top: 60px;
+       padding-top: 100px;
 }
 
-.subnav .nav > li:last-child > a {
-       border-right: 0;
-}
-
-.subnav .dropdown-menu {
-       -webkit-border-radius: 0 0 4px 4px;
-       -moz-border-radius: 0 0 4px 4px;
-       border-radius: 0 0 4px 4px;
-}
+/* index */
 
 .tooltip-inner {
        max-width: 500px;
 }
 
 .hero-unit {
-       margin-bottom: 10px;
+       padding-bottom: 5px;
+       background-color: #F3F3F3;
        border: 1px solid #ddd;
        text-align: center;
 }
@@ -119,10 +31,6 @@ section {
        margin-right: 10px;
 }
 
-.twitter-follow-button {
-       width: 60px !important;
-}
-
 .twitter-share-button  {
        margin-right: 15px;
 }
@@ -137,23 +45,21 @@ section {
        padding: 2px 5px 2px 4px;
 }
 
-.icon-rss {
-       background: url(../img/rss-icons.png) no-repeat 0 0;
-       opacity: .65;
-       width: 16px;
-}
-
-h3 {
+.index h3 {
        text-align: center;
        font-size: 20px;
 }
 
 #ticker {
-       margin-bottom: 40px;
+       margin-top: 40px;
+       margin-bottom: 10px;
+       font-size: 14px;
+       line-height: 1.4;
 }
 
 .about {
-       margin-top: 20px;
+       margin-top: 40px;
+       margin-bottom: 40px;
 }
 
 .about > div {
@@ -161,22 +67,22 @@ h3 {
 }
 
 .about h3 {
-       margin: 0 0 0 35px;
+       margin: 0;
        text-align: left;
 }
 
-.about img {
-       float: left;
-       margin-top: 5px;
-       opacity: 0.7;
+.about i {
+       margin-right: 8px;
+       font-size: 1.3em;
 }
 
 #gallery {
-       padding-right: 20px;
+       padding-top: 60px;
 }
 
 .thumbnail {
        margin-bottom: 20px;
+       background-color: #f3f3f3;
        background-color: rgba(0, 0, 0, 0.05);
 }
 
@@ -188,7 +94,13 @@ h3 {
 }
 
 .thumbnail .caption {
-       color: inherit !important;
+       color: inherit;
+}
+
+.thumbnail .caption p {
+       overflow: hidden;
+       text-overflow: ellipsis;
+       white-space: nowrap;
 }
 
 .thumbnail h3 {
@@ -201,20 +113,18 @@ h3 {
        text-align: right;
 }
 
+#more {
+       margin-top: 40px;
+       margin-bottom: 20px;
+       text-align: center;
+}
+
 .links {
        margin-bottom: 20px;
 }
 
 .links > a {
        margin-right: 10px;
-} 
-
-div.one .bsa_it_ad {
-       padding: 25px 25px 15px 25px;
-}
-
-div.one .bsa_it_p {
-       display: none;
 }
 
 .bsa {
@@ -225,6 +135,7 @@ div.one .bsa_it_p {
 
 body .one .bsa_it_ad {
        margin-bottom: -10px;
+       padding: 25px 25px 15px 25px;
        background: none;
        border: none;
        font-family: inherit;
@@ -241,11 +152,17 @@ body .one .bsa_it_p {
        display: none;
 }
 
-.links {
+.bsa img {
+       -webkit-border-radius: 0;
+       -moz-border-radius: 0;
+       border-radius: 0;
+}
+
+#footer {
        margin-bottom: 20px;
 }
 
-.links > a {
+#footer .links a {
        margin-right: 10px;
 }
 
@@ -273,25 +190,32 @@ body .one .bsa_it_p {
                display: block;
        }
 
+       #ticker {
+               margin-top: 0;
+       }
+
        .about {
                margin-top: 0;
        }
 
        .about h3 {
-               margin-top: 20px;
+               margin-top: 30px;
        }
 
        .about p {
                margin-bottom: 0;
        }
 
+       .thumbnail .btn {
+               font-size: 15px;
+       }
+
        .modal {
                position: fixed !important;
                top: 25% !important;
        }
 }
 
-/* Landscape phone to portrait tablet */
 @media (min-width: 481px) and (max-width: 767px) {
 
        .hero-unit {
@@ -306,10 +230,136 @@ body .one .bsa_it_p {
 
 @media (max-width: 767px) {
 
-       body {
-               padding-top: 0;
+
+       section {
+               padding-top: 20px;
        }
 
+       .bsa {
+               float: none;
+       }
+}
+
+@media (max-width: 979px) and (min-width: 768px) {
+
+       .index .navbar {
+               margin-bottom: 0;
+       }
+
+       .hero-unit {
+               border-radius: 0;
+       }
+
+       section {
+               padding-top: 20px;
+       }
+
+       .thumbnail .btn {
+               padding: 6px 10px;
+               font-size: 14px;
+       }
+}
+
+@media (min-width: 980px) {
+
+       .index {
+               padding-top: 40px;
+       }
+
+       .preview {
+               padding-top: 100px;
+       }
+}
+
+/* preview */
+
+.subhead {
+       padding-bottom: 0;
+       margin-bottom: 9px;
+}
+
+.subhead h1 {
+       font-size: 54px;
+}
+
+.subhead > div:first-child {
+       min-height: 200px;
+}
+
+/* subnav */
+.subnav {
+       margin-bottom: 60px;
+       width: 100%;
+       height: 36px;
+       background-color: #eeeeee; /* Old browsers */
+       background-repeat: repeat-x; /* Repeat the gradient */
+       background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
+       background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
+       background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Chrome 10+,Safari 5.1+ */
+       background-image: -ms-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* IE10+ */
+       background-image: -o-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Opera 11.10+ */
+       filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
+       background-image: linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* W3C */
+       border: 1px solid #e5e5e5;
+       -webkit-border-radius: 4px;
+       -moz-border-radius: 4px;
+       border-radius: 4px;
+}
+.subnav .nav {
+       margin-bottom: 0;
+}
+.subnav .nav > li > a {
+       margin: 0;
+       padding-top:    11px;
+       padding-bottom: 11px;
+       border-left: 1px solid #f5f5f5;
+       border-right: 1px solid #e5e5e5;
+       -webkit-border-radius: 0;
+       -moz-border-radius: 0;
+       border-radius: 0;
+}
+.subnav .nav > .active > a,
+.subnav .nav > .active > a:hover {
+       padding-left: 13px;
+       color: #777;
+       background-color: #e9e9e9;
+       border-right-color: #ddd;
+       border-left: 0;
+       -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
+       -moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
+       box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
+}
+.subnav .nav > .active > a .caret,
+.subnav .nav > .active > a:hover .caret {
+       border-top-color: #777;
+}
+.subnav .nav > li:first-child > a,
+.subnav .nav > li:first-child > a:hover {
+       border-left: 0;
+       padding-left: 12px;
+       -webkit-border-radius: 4px 0 0 4px;
+       -moz-border-radius: 4px 0 0 4px;
+       border-radius: 4px 0 0 4px;
+}
+.subnav .nav > li:last-child > a {
+       border-right: 0;
+}
+.subnav .dropdown-menu {
+       -webkit-border-radius: 0 0 4px 4px;
+       -moz-border-radius: 0 0 4px 4px;
+       border-radius: 0 0 4px 4px;
+}
+@media (max-width: 767px) {
        .subnav {
                position: static;
                top: auto;
@@ -321,50 +371,29 @@ body .one .bsa_it_p {
                -moz-box-shadow: none;
                box-shadow: none;
        }
-
        .subnav .nav > li {
                float: none;
        }
-
        .subnav .nav > li > a {
                border: 0;
        }
-
        .subnav .nav > li + li > a {
                border-top: 1px solid #e5e5e5;
        }
-
        .subnav .nav > li:first-child > a,
        .subnav .nav > li:first-child > a:hover {
                -webkit-border-radius: 4px 4px 0 0;
                -moz-border-radius: 4px 4px 0 0;
                border-radius: 4px 4px 0 0;
        }
-
-       .bsa {
-               float: none;
-       }
-}
-
-/* Portrait tablet to landscape and desktop */
-@media (min-width: 768px) and (max-width: 979px) {
-
-       .hero-unit {
-               margin-top: 0;
-       }
-
-       .thumbnail p {
-               font-size: 12px;
-       }
-
-       .thumbnail .btn {
-               padding: 8px 12px;
-               font-size: 12px;
-       }
 }
-
-/* Fixed subnav on scroll, but only for 980px and up (sorry IE!) */
 @media (min-width: 980px) {
+  
        .subnav-fixed {
                position: fixed;
                top: 40px;
@@ -381,11 +410,13 @@ body .one .bsa_it_p {
                box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
                filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
        }
+  
        .subnav-fixed .nav {
                width: 938px;
                margin: 0 auto;
                padding: 0 1px;
        }
+  
        .subnav .nav > li:first-child > a,
        .subnav .nav > li:first-child > a:hover {
                -webkit-border-radius: 0;
@@ -393,17 +424,9 @@ body .one .bsa_it_p {
                border-radius: 0;
        }
 }
-
-@media (min-width: 768px) and (max-width: 979px) {
-
-       /* Remove any padding from the body */
-       body {
-               padding-top: 0;
-       }
-}
-
 @media (min-width: 1210px) {
-
        .subnav-fixed .nav {
                width: 1168px; /* 2px less to account for left/right borders being removed when in fixed mode */
        }