Browse Source

add background image

master
Aaron Parecki 9 years ago
parent
commit
d65092d214
3 changed files with 11 additions and 6 deletions
  1. +10
    -5
      public/css/style.css
  2. BIN
      public/images/bkg.jpg
  3. +1
    -1
      views/layout.php

+ 10
- 5
public/css/style.css View File

@ -1,14 +1,19 @@
body { body {
padding-top: 10px; padding-top: 10px;
background: #fff; background: #fff;
background: url(/images/bkg.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
padding-bottom: 40px;
} }
body.logged-out { body.logged-out {
background: white; background: white;
} }
.logged-out .jumbotron {
background-color: #fffbeb;
border: 1px #fff2bc solid;
.jumbotron {
border: 1px #bbb solid;
} }
.header { .header {
@ -33,7 +38,7 @@ body.logged-out {
color: #999; color: #999;
background-color: #f9f9f9; background-color: #f9f9f9;
border-top: 1px #e5e5e5 solid; border-top: 1px #e5e5e5 solid;
position: absolute;
position: fixed;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
} }
@ -45,7 +50,7 @@ body.logged-out {
} }
.footer .credits { .footer .credits {
padding: 20px;
padding: 10px;
font-size: 12px; font-size: 12px;
} }

BIN
public/images/bkg.jpg View File

Before After
Width: 1600  |  Height: 1235  |  Size: 76 KiB

+ 1
- 1
views/layout.php View File

@ -55,7 +55,7 @@
<div class="footer"> <div class="footer">
<p class="credits"> <p class="credits">
This code is <a href="https://github.com/aaronpk/Switchboard">open source</a>.
Switchboard is made by <a href="http://aaronparecki.com/">Aaron Parecki</a> and is <a href="https://github.com/aaronpk/Switchboard">open source</a>.
Feel free to send a pull request, or <a href="https://github.com/aaronpk/Switchboard/issues">file an issue</a>. Feel free to send a pull request, or <a href="https://github.com/aaronpk/Switchboard/issues">file an issue</a>.
</p> </p>
</div> </div>

Loading…
Cancel
Save