Skip to content

Commit

Permalink
fixed footer css
Browse files Browse the repository at this point in the history
  • Loading branch information
threadhead committed Mar 13, 2009
1 parent e85069c commit 2bed7f6
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 16 deletions.
44 changes: 29 additions & 15 deletions public/style/style.css
Expand Up @@ -3,6 +3,7 @@
http://localhost:4567/style/style.css http://localhost:4567/style/style.css
*/ */


* html { width: 100%;}
body { body {
font: 100% Verdana, "Lucida Grande", Lucida, sans-serif; font: 100% Verdana, "Lucida Grande", Lucida, sans-serif;
} }
Expand All @@ -15,20 +16,37 @@ h3 {
font-size: 1.2em; font-size: 1.2em;
} }


#container {
width: 100%;
display: block;
position: absolute;
min-height: 100%;
}

#content {
display: block;
margin-bottom: 3em;
}


#log_text { #log_text {
font: .7em Courier, sans-serif; font: .7em Courier, sans-serif;
margin-left: 10px; margin-left: 10px;
padding-left: 20px;
padding-right: 20px; padding-right: 20px;
margin-top: 18px; margin-top: 18px;
margin-bottom: 6px; margin-bottom: 6px;
} }


#log_text p { #log_text p {
text-indent: -10px; text-indent: -10px;
padding-left: 20px;
padding-bottom: 4px; padding-bottom: 4px;
padding-top: 1px; padding-top: 1px;
border-bottom: 1px solid #eee; }

.log_divider {
border-bottom: 1px dotted #eee;
display: block;
} }


#header { #header {
Expand All @@ -43,32 +61,23 @@ p#logo_caption {
font: italic .9em "Courier New", Courier, mono; font: italic .9em "Courier New", Courier, mono;
} }


img#logo {
float: right;
}

#info-bar { #info-bar {
background-color: #4c4c4c; background-color: #4c4c4c;
color: #fff; color: #fff;
padding: 12px; padding: 12px;
font-size: .8em; font-size: .8em;
} }


#path-info {

}

img#logo {
float: right;
}

#log_select { #log_select {
float: right; float: right;
width: 152px; width: 152px;
text-align: right; text-align: right;
} }


#process_control {
float: right;
width: 300px;
}

#path-info { #path-info {
width: 500px; width: 500px;
} }
Expand All @@ -78,8 +87,13 @@ img#logo {
} }


#footer { #footer {
height: 3em;
text-align: right; text-align: right;
border-top: 8px solid #4c4c4c; border-top: 8px solid #4c4c4c;
position: absolute;
display: block;
bottom: 0;
width: 100%;
} }


#footer_contents { #footer_contents {
Expand Down
4 changes: 3 additions & 1 deletion views/log.erb
Expand Up @@ -13,10 +13,11 @@
</head> </head>


<body> <body>
<div id="container">
<div class="clearfix" id="header"> <div class="clearfix" id="header">
<img id="logo" src="/images/console.png"> <img id="logo" src="/images/console.png">
<h1>Sinatra-Tailer</h1> <h1>Sinatra-Tailer</h1>
<p id="logo_caption">chasing tail since 1985</p> <p id="logo_caption">chasing tail since 1984</p>
</div> </div>


<div class="clearfix" id="info-bar"> <div class="clearfix" id="info-bar">
Expand All @@ -36,5 +37,6 @@
<button type="button" id="start-stop">stop</button> <button type="button" id="start-stop">stop</button>
</div> </div>
</div> </div>
</div>
</body> </body>
</html> </html>
1 change: 1 addition & 0 deletions views/log_text.erb
@@ -1,3 +1,4 @@
<% @log_text.each do |line| %> <% @log_text.each do |line| %>
<p><%= line %></p> <p><%= line %></p>
<div class="log_divider"></div>
<% end %> <% end %>

0 comments on commit 2bed7f6

Please sign in to comment.