Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix: Non-fixed-width footer

Use a flexible width on the footer, replacing span12,
so we can resize nicely on smaller screens.
  • Loading branch information...
commit 2395ce33cf3ae1bb902d3b8e08c817743f77ec4d 1 parent 3252db4
@exclsr exclsr authored
Showing with 18 additions and 13 deletions.
  1. +0 −12 contact/default.aspx
  2. +17 −0 css/main.css
  3. +1 −1  inc/footer.html
View
12 contact/default.aspx
@@ -10,18 +10,6 @@
max-width: 940px;
width: auto;
}
-.max12, .max4 {
- float: left;
- min-height: 1px;
- max-width: 940px;
- margin-left: 20px;
- margin-right: 20px;
-}
-
-.max4 {
- max-width: 300px;
- min-width: 250px;
-}
.left-align {
margin-left: 0;
View
17 css/main.css
@@ -32,6 +32,23 @@
box-shadow: 0px 0px 8px 1px rgba(44, 44, 44, 1);
}
+/* Bootstrap replacement for spans */
+.max12, .max4 {
+ float: left;
+ min-height: 1px;
+ max-width: 940px;
+ margin-left: 20px;
+ margin-right: 20px;
+}
+.max12 {
+ width: 100%;
+}
+.max4 {
+ max-width: 300px;
+ min-width: 250px;
+}
+
+
body {
background: #444;
}
View
2  inc/footer.html
@@ -3,7 +3,7 @@
Photography, courtesy <a href="http://rabscuttle.com">Martin &amp; Renee Norred</a>.
</div>
<div class="row">
- <div class="span12">
+ <div class="max12">
<div>
<a href="http://corvallisswing.com">Corvallis Swing</a>
&#x2665;
Please sign in to comment.
Something went wrong with that request. Please try again.