diff options
author | Thomas Park <thomas@thomaspark.me> | 2014-12-08 19:02:30 -0500 |
---|---|---|
committer | Thomas Park <thomas@thomaspark.me> | 2014-12-08 19:02:30 -0500 |
commit | 7da2e905dfa8b9985fad3ff714afc62b1b9ff20d (patch) | |
tree | 1c0b3fd277d3c603d757224e4c2da7352b3a83cf /assets/less | |
parent | 68294f9cbc5b425a649524feaacf1c21f1f27446 (diff) | |
parent | c67be618a8dc9955e3be22c03cfb74812d09c162 (diff) |
Merge pull request #374 from jenil27/splash
Redesign front-page
Diffstat (limited to 'assets/less')
-rw-r--r-- | assets/less/bootswatch.less | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/assets/less/bootswatch.less b/assets/less/bootswatch.less index 8b27f8df..99d828e4 100644 --- a/assets/less/bootswatch.less +++ b/assets/less/bootswatch.less @@ -1,5 +1,27 @@ body { - padding-top: 50px; + padding-top: 50px; + > .navbar { + -webkit-transition: background-color 300ms ease-in; + transition: background-color 300ms ease-in; + } + > .navbar-transparent { + background-color: transparent; + .navbar-nav > .open > a { + background-color: transparent !important; + } + } +} + +#home { + padding-top: 0px; + .navbar-brand { + padding: 13.5px 15px 12.5px; + > img { + display: inline; + margin: 0 10px; + height: 100%; + } + } } #banner { @@ -75,8 +97,11 @@ footer { } .splash { - padding: 5em 0 2em; + padding: 9em 0 2em; background-color: #141d27; + background-image: url(../img/bg.jpg); + background-size: cover; + background-attachment: fixed; color: #fff; text-align: center; |