Permalink
Browse files

New home page image, image style tweaks and blog post style tweaks

  • Loading branch information...
1 parent 4fdc669 commit 6fb841df10a4280fb065c77d86fc843cf22d9ee2 @kborchers kborchers committed Mar 28, 2013
Showing with 20 additions and 18 deletions.
  1. +3 −5 _layouts/post.html
  2. +7 −11 css/style.css
  3. BIN img/gears.png
  4. +1 −1 index.html
  5. +9 −1 js/script.js
View
@@ -2,9 +2,7 @@
layout: base
---
-<div class="row">
- <div class="span10 post">
- <h1>{{ page.title }}</h1>
- {{ content }}
- </div>
+<div class="post">
+ <h1>{{ page.title }}</h1>
+ {{ content }}
</div>
View
@@ -351,8 +351,9 @@ pre {
}
.post {
- font-size: 1.3em;
+ font-size: 1em;
font-weight: lighter;
+ padding: 10px;
}
.post img {
@@ -384,20 +385,11 @@ pre {
}
.accordion-group .image-container {
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px;
background-color: #EEEEEE;
- padding: 8px;
+ padding: 3px;
display: inline-block;
}
-.accordion-group .image-container img {
- -webkit-border-radius: 6px;
- -moz-border-radius: 6px;
- border-radius: 6px;
-}
-
.nav-collapse.hidden {
display: inherit;
visibility: visible;
@@ -757,4 +749,8 @@ footer .row .span3:last-child {
.topic-page-logo img {
width: 75px;
}
+
+ .collapse {
+ margin-top: 10px;
+ }
}
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -84,7 +84,7 @@
</div>
<div id="home-collapse3" class="row-fluid collapse in">
<div class="span8">
- <div class="image-container"><img src="http://placekitten.com/800/300"/></div>
+ <div class="image-container"><img src="img/gears.png"/></div>
</div>
<div class="span4">
<p>AeroGear Controller provides you with a simple Java internal DSL for defining HTTP routes programatically. The perfect fit for client-heavy applications where you have very few entry points and delegate logic to the client tiers.</p>
View
@@ -115,8 +115,9 @@ $( function() {
}
function accordionConfig() {
- var collapsibles, collapseTriggers;
+ var collapsibles, collapseTriggers, visibles;
collapsibles = $(".collapse");
+ visibles = collapsibles.filter(":visible");
collapseTriggers = $(".accordion-group > div");
if ( !smallLayout && Modernizr.mq("only screen and (max-width: 768px)") ) {
@@ -140,6 +141,13 @@ $( function() {
smallLayout = false;
collapsibles.collapse("show");
+ } else {
+ collapsibles.off("hide show")
+ .on("hide", function() {
+ if ( visibles.length > 1 ) {
+ $( this ).collapse("show");
+ }
+ });
}
if ( smallLayout === undefined ) {

0 comments on commit 6fb841d

Please sign in to comment.