Skip to content

Commit

Permalink
Style and structure cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Chad Mazzola committed Nov 2, 2010
1 parent 6c020f0 commit e3af040
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 77 deletions.
7 changes: 1 addition & 6 deletions app/views/jobs/show.html.erb
@@ -1,9 +1,5 @@
<% content_for :title, @job.subject %>

<% content_for :header do %>
<p><%= link_to 'Back to job listings', jobs_path %></p>
<% end %>

<div id="job-post">
<h2 class="job-title"><%= @job.subject %></h2>

Expand All @@ -12,7 +8,7 @@
<div id="description">
<%= auto_link simple_format(@job.description) %>
</div>

<ul id="contact-methods">
<% if @job.email.present? %>
<li><%= mail_to @job.email, 'Contact by email' %></li>
Expand All @@ -22,5 +18,4 @@
<li><%= link_to 'Contact by phone', "tel://#{@job.phone}" %></li>
<% end %>
</ul>

</div>
18 changes: 8 additions & 10 deletions app/views/layouts/application.html.erb
Expand Up @@ -12,19 +12,17 @@

<div id="container">

<h1>Android Job Listings near Boston</h1>
<ul id="nav">
<li><%= link_to 'Full job list', jobs_path %></li>
<li><%= link_to 'Post a new job', new_job_path %></li>
</ul>
<h1>Android Job Listings near Boston</h1>
<ul id="nav">
<li><%= link_to 'Full job list', jobs_path %></li>
<li><%= link_to 'Post a new job', new_job_path %></li>
</ul>

<%= render :partial => 'shared/flashes' -%>
<%= render :partial => 'shared/flashes' -%>
<%= yield -%>
<%= yield -%>

<p id="footer">
Brought to you by the <%= link_to 'Boston Android developers group', 'http://bostonandroid.org/' %>.
</p>
<p id="footer">Brought to you by the <%= link_to 'Boston Android developers group', 'http://bostonandroid.org/' %>.</p>
</div>
</body>
</html>
4 changes: 2 additions & 2 deletions public/stylesheets/application.css
Expand Up @@ -97,7 +97,7 @@ ul#contact-methods {
display: block; }

/*
Website designed and built by Chad Mazzola (http://hellohappy.org) in September 2010.
Website design based on bostonandroid.org site, built by Chad Mazzola (http://hellohappy.org) in September 2010.
Inspiration from Jan Tschichold (1928) and Peter Saville (1978)
*/
@font-face {
Expand Down Expand Up @@ -228,7 +228,7 @@ fieldset {
fieldset ol li input[type="text"],
fieldset ol li textarea {
padding: 5px 0 4px 0;
font-family: monaco, courier, ProcionoRegular, georgia, palatino, times new roman, serif;
font-family: monaco, monospace;
font-size: 16px;
width: 100%; }
fieldset ol li textarea {
Expand Down
41 changes: 19 additions & 22 deletions public/stylesheets/sass/_base.scss
@@ -1,5 +1,5 @@
/*
Website designed and built by Chad Mazzola (http://hellohappy.org) in September 2010.
Website design based on bostonandroid.org site, built by Chad Mazzola (http://hellohappy.org) in September 2010.
Inspiration from Jan Tschichold (1928) and Peter Saville (1978)
*/

Expand Down Expand Up @@ -99,27 +99,27 @@ ul#job-list {
li {
margin: 0 0 -4px 0;

h2 {
display: inline;
margin: 0 0 4px 0;
h2 {
display: inline;
margin: 0 0 4px 0;

&:hover {
border-bottom: 2px solid #222;
}
&:hover {
border-bottom: 2px solid #222;
}
}

h3 {
font-size: 14px;
}
h3 {
font-size: 14px;
}

h4 {
font-size: 14px;
left: -130px;
position: relative;
text-align: right;
top: 33px;
width: 120px;
}
h4 {
font-size: 14px;
left: -130px;
position: relative;
text-align: right;
top: 33px;
width: 120px;
}
}
}

Expand Down Expand Up @@ -170,9 +170,6 @@ ul#job-list {
}
}

#footer {
}

/* forms */
/*****************************************************************************/
fieldset {
Expand All @@ -191,7 +188,7 @@ fieldset {
input[type="text"],
textarea {
padding: 5px 0 4px 0;
font-family: monaco, courier, ProcionoRegular, georgia, palatino, times new roman, serif;
font-family: monaco, monospace;
font-size: 16px;
width: 100%;
}
Expand Down
37 changes: 0 additions & 37 deletions public/stylesheets/screen.css

This file was deleted.

0 comments on commit e3af040

Please sign in to comment.