Skip to content

Commit

Permalink
Aligning the cover text and cleaning up some CSS.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Anderson committed May 7, 2012
1 parent cdc7b10 commit 446ffe1
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 16 deletions.
16 changes: 12 additions & 4 deletions public/stylesheets/screen.css
Expand Up @@ -411,10 +411,6 @@ p {
right: 0;
}

#about, #contact {
display: none;
}

/* fancyBox v2.0.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-tmp iframe, .fancybox-tmp object {
vertical-align: top;
Expand Down Expand Up @@ -750,13 +746,25 @@ p {
text-shadow: 0 1px 3px black;
}

#about {
display: none;
padding: 0 1.19%;
}

.cover .fancybox-outer {
background: transparent;
-moz-box-shadow: none;
-webkit-box-shadow: none;
-o-box-shadow: none;
box-shadow: none;
}
.cover .fancybox-inner {
-moz-box-sizing: padding-box;
-webkit-box-sizing: padding-box;
-ms-box-sizing: padding-box;
box-sizing: padding-box;
vertical-align: top;
}
.cover h3 {
display: none;
}
Expand Down
17 changes: 6 additions & 11 deletions stylesheets/screen.scss
Expand Up @@ -214,7 +214,6 @@ p {
right: 0;
}
}
#about, #contact { display: none; }
@import "modules/jquery.fancybox";
.fancybox-close {
position: fixed;
Expand Down Expand Up @@ -295,20 +294,20 @@ p {
line-height: $default-line-height;
hgroup { @include text-shadow(0 1px 3px #000); }
}
#about {
display: none;
padding: 0 1.19%;
}
.cover {
.fancybox-outer {
background: transparent;
@include box-shadow(none);
}
.fancybox-inner {
// display: table-cell;
// padding: 0 1.19%;
// vertical-align: middle;
}
.fancybox-inner { @include box-sizing(padding-box); }
h3 { display: none; }
.bio {
@include column(3);
padding-top: 150px;
padding-top: 200px;
}
p { font-size: 16px; }
}
Expand All @@ -327,9 +326,5 @@ p {
}
.cover {
.fancybox-inner { padding: 0; }
.bio {
// @include column(2);
// @include push(2);
}
}
}
3 changes: 2 additions & 1 deletion views/layouts/default.html.erb
Expand Up @@ -47,14 +47,15 @@
beforeClose: function() {
$('header h1').toggleClass('raised');
},
height: '100%',
helpers: {
overlay: {
css: {'background-color': '#4c489e'},
opacity: 0.95
}
},
margin: 0,
maxWidth: 1280,
maxWidth: 1640,
padding: 0,
width: '100%',
wrapCSS: 'cover'
Expand Down

0 comments on commit 446ffe1

Please sign in to comment.