Skip to content

Commit

Permalink
biography page looking better
Browse files Browse the repository at this point in the history
  • Loading branch information
mattvanhorn committed Jul 7, 2012
1 parent 43407c4 commit eb07e37
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 17 deletions.
25 changes: 11 additions & 14 deletions app/assets/stylesheets/biography.css.scss
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
#biography {
color: #FFF;
width: 610px;
margin: 0 auto;
padding: 0 8px;
@include makeColumn(8,2);
}

#quotes {
h1 {
font-size: 20px;
font-weight: bold;
}
width: 200px;
@include makeColumn(3);
float: left;
margin-right: 5px;
margin-left: 0;
blockquote {
margin: 0 0 25px 0;
border: none;
padding: auto 0;
font-style: italic;
p {
margin-bottom: 5px;
font-size: 0.9em;
line-height: 1.2em;
}
p:before {
content: '\201C';
Expand All @@ -28,13 +23,15 @@
};
cite {
margin-left: 10px;
font-size: 0.9em;
font-style: italic;
}
}
}

#summary {
width: 400px;
float: right;
@include makeColumn(5);
float: left;
#signature-grey {
margin-top: 50px;
float: right;
Expand All @@ -43,5 +40,5 @@

img.bio-portrait {
float: right;
margin-left: 5px;
// margin-left: 5px;
}
2 changes: 1 addition & 1 deletion app/assets/stylesheets/home.css.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
html {
color: #FFF;

body {
font-family: Helvetica, sans-serif;
font-size: 14px;
background: #000;
color: #FFF;
}
}
#home {
Expand Down
1 change: 0 additions & 1 deletion app/assets/stylesheets/paintings.css.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
html, body {
background-color: #434;
height: 100%;
padding: 0;
margin: 0;
Expand Down
2 changes: 1 addition & 1 deletion app/views/pages/biography.html.haml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#biography
#quotes
%h1 What the critics say
%h3 What the critics say
%blockquote
%p
Charles has more potential than he is showing. He spends too much time
Expand Down

0 comments on commit eb07e37

Please sign in to comment.