Skip to content

Commit

Permalink
index: new thumbnails, responsive layout, clickable images
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspark committed Mar 12, 2012
1 parent b0d8783 commit 8bde668
Show file tree
Hide file tree
Showing 14 changed files with 658 additions and 20 deletions.
Binary file modified amelia/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified cerulean/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
567 changes: 567 additions & 0 deletions css/bootstrap-responsive.css

Large diffs are not rendered by default.

83 changes: 76 additions & 7 deletions css/bootswatch.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
body {
padding-top: 60px;
padding-bottom: 30px;
padding-top: 60px;
padding-bottom: 20px;
}

.navbar .nav > li > a {
color: #ccc;
}

.nav i {
opacity: 0.4;
opacity: 0.5;
}

.nav a:hover i {
Expand All @@ -30,6 +30,7 @@ body {

.hero-unit {
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
margin-bottom: 60px;
}

.hero-unit, .thumbnail {
Expand All @@ -50,6 +51,7 @@ body {
}

.rss {
width: 40px;
height: 14px;
font-size: 11px;
line-height: 14px;
Expand All @@ -69,7 +71,7 @@ body {
}

.about {
margin-top: 50px;
margin-top: 20px;
}

.about h3 {
Expand All @@ -88,12 +90,11 @@ body {
}

.thumbnail {
max-width: 300px;
max-width: 370px;
}

.thumbnail img {
width: 290px;
height: 200px;
max-height: 250px;
-webkit-border-radius: 7px;
-moz-border-radius: 7px;
border-radius: 7px;
Expand All @@ -106,4 +107,72 @@ body {
.thumbnail .btn-toolbar {
text-align: right;
}

.thumbnail .btn-group {
margin-top: 10px;
}

/* Landscape phones and down */
@media (max-width: 480px) {

body {
padding-top: 0px;
}

.hero-unit {
padding-bottom: 80px;
}

.about {
margin-top: -10px;
}

.about h3 {
margin-top: 20px;
}

.span4 {
width: 95%;
}

}

/* Landscape phone to portrait tablet */
@media (max-width: 768px) {
body {
padding-top: 0px;
}

.hero-unit {
padding-bottom: 80px;
}

.about {
margin-top: -10px;
}

.about h3 {
margin-top: 20px;
}

.span4 {
width: 95%;
}

}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 980px) {
body {
padding-top: 0px;
}


}

/* Large desktop */
@media (min-width: 1200px) {


}

Binary file modified cyborg/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 15 additions & 13 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

<!-- Le styles -->
<link href="css/bootstrap.css" rel="stylesheet">
<link href="assets/css/bootstrap-responsive.css" rel="stylesheet">
<link href="css/bootswatch.css" rel="stylesheet">
<link rel="alternate" type="application/rss+xml"
title="Bootswatch"
Expand Down Expand Up @@ -63,11 +64,11 @@ <h1>Bootswatch</h1>
<iframe src="http://markdotto.github.com/github-buttons/github-btn.html?user=thomaspark&repo=bootswatch&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="110px" height="20px"></iframe>
<iframe src="http://markdotto.github.com/github-buttons/github-btn.html?user=thomaspark&repo=bootswatch&type=fork" allowtransparency="true" frameborder="0" scrolling="0" width="53px" height="20px"></iframe>
</div>
<div class="span4">
<div class="span3 offset1">
<a href="https://twitter.com/thomashpark" class="twitter-follow-button" data-show-count="false" data-show-screen-name="true">Follow @thomashpark</a>
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://bootswatch.com" data-via="thomashpark">Tweet</a>
</div>
<div class="span1">
<div class="span1 offset1">
<a class="btn rss" href="http://feeds.feedburner.com/bootswatch"><i class="icon-rss"></i><span>RSS</span></a>
</div>
</div>
Expand Down Expand Up @@ -118,7 +119,7 @@ <h1 id="gallery">Gallery</h1>

<li class="span4">
<div class="thumbnail">
<img src="amelia/thumbnail.png" alt="">
<a href="amelia"><img src="amelia/thumbnail.png" alt=""></a>
<div class="caption">
<h3>Amelia <span class="label label-warning">new!</label></h3>
<p>Sweet and cheery.</p>
Expand Down Expand Up @@ -152,7 +153,7 @@ <h3>Amelia <span class="label label-warning">new!</label></h3>

<li class="span4">
<div class="thumbnail">
<img src="cerulean/thumbnail.png" alt="">
<a href="cerulean"><img src="cerulean/thumbnail.png" alt=""></a>
<div class="caption">
<h3>Cerulean</h3>
<p>A calm, blue sky.</p>
Expand Down Expand Up @@ -185,7 +186,7 @@ <h3>Cerulean</h3>

<li class="span4">
<div class="thumbnail">
<img src="cyborg/thumbnail.png" alt="">
<a href="cyborg"><img src="cyborg/thumbnail.png" alt=""></a>
<div class="caption">
<h3>Cyborg</h3>
<p>Jet black and electric blue.</p>
Expand Down Expand Up @@ -218,7 +219,7 @@ <h3>Cyborg</h3>

<li class="span4">
<div class="thumbnail">
<img src="journal/thumbnail.png" alt="">
<a href="journal"><img src="journal/thumbnail.png" alt=""></a>
<div class="caption">
<h3>Journal</h3>
<p>Crisp like a new sheet of paper.</p>
Expand Down Expand Up @@ -252,7 +253,7 @@ <h3>Journal</h3>

<li class="span4">
<div class="thumbnail">
<img src="readable/thumbnail.png" alt="">
<a href="readable"><img src="readable/thumbnail.png" alt=""></a>
<div class="caption">
<h3>Readable <span class="label label-warning">new!</label></h3>
<p>Optimized for legibility.</p>
Expand Down Expand Up @@ -285,7 +286,7 @@ <h3>Readable <span class="label label-warning">new!</label></h3>

<li class="span4">
<div class="thumbnail">
<img src="simplex/thumbnail.png" alt="">
<a href="simplex"><img src="simplex/thumbnail.png" alt=""></a>
<div class="caption">
<h3>Simplex</h3>
<p>Flat, matte, minimalist.</p>
Expand Down Expand Up @@ -318,7 +319,7 @@ <h3>Simplex</h3>

<li class="span4">
<div class="thumbnail">
<img src="slate/thumbnail.png" alt="">
<a href="slate"><img src="slate/thumbnail.png" alt=""></a>
<div class="caption">
<h3>Slate</h3>
<p>Shades of gunmetal gray.</p>
Expand Down Expand Up @@ -351,7 +352,7 @@ <h3>Slate</h3>

<li class="span4">
<div class="thumbnail">
<img src="spacelab/thumbnail.png" alt="">
<a href="spacelab"><img src="spacelab/thumbnail.png" alt=""></a>
<div class="caption">
<h3>Spacelab</h3>
<p>Silvery and sleek.</p>
Expand Down Expand Up @@ -385,7 +386,7 @@ <h3>Spacelab</h3>

<li class="span4">
<div class="thumbnail">
<img src="spruce/thumbnail.png" alt="">
<a href="spruce"><img src="spruce/thumbnail.png" alt=""></a>
<div class="caption">
<h3>Spruce</h3>
<p>Camping in the woods.</p>
Expand Down Expand Up @@ -418,7 +419,7 @@ <h3>Spruce</h3>

<li class="span4">
<div class="thumbnail">
<img src="superhero/thumbnail.png" alt="">
<a href="superhero"><img src="superhero/thumbnail.png" alt=""></a>
<div class="caption">
<h3>Superhero</h3>
<p>Batman meets... Aquaman?</p>
Expand Down Expand Up @@ -451,7 +452,7 @@ <h3>Superhero</h3>

<li class="span4">
<div class="thumbnail">
<img src="united/thumbnail.png" alt="">
<a href="united"><img src="united/thumbnail.png" alt=""></a>
<div class="caption">
<h3>United</h3>
<p>Bright colors and a unique font.</p>
Expand Down Expand Up @@ -503,6 +504,7 @@ <h3>United</h3>
<script src="js/jquery.js"></script>
<script src="js/bootstrap-dropdown.js"></script>
<script src="js/bootstrap-tooltip.js"></script>
<script src="js/bootstrap-collapse.js"></script>
<script src="js/bootswatch.js"></script>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

Expand Down
Binary file modified journal/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified readable/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified simplex/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified slate/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified spacelab/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified spruce/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified superhero/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified united/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8bde668

Please sign in to comment.