diff options
| -rwxr-xr-x | layouts/index.html | 16 | ||||
| -rw-r--r-- | layouts/partials/top-block.html | 7 | ||||
| -rwxr-xr-x | static/css/HPstyles.css | 11 | ||||
| -rwxr-xr-x | static/css/style.css | 1 |
4 files changed, 21 insertions, 14 deletions
diff --git a/layouts/index.html b/layouts/index.html index af4654e..f2a8543 100755 --- a/layouts/index.html +++ b/layouts/index.html @@ -5,16 +5,18 @@ <div id="main">
<!-- Intro -->
{{ if modBool $index 2 }}<div id="intro" class="counterpoint">{{ else }}<div id="intro" class="point">{{ end}}
- <div class="container">
+ <div class="main-container container">
<div class="row">
- <div class="col-md-6 col-md-offset-3 text-center">
- {{ if (isset .Params "icon") }}
- <i class="lead-icon icon-{{ .Params.icon }}"></i>
- {{ end }}
- <h2>{{ .Title }}</h2>
+ <div class="col-md-8">
+ {{ range .Site.Params.slogan }}
+ <h2>{{ .title }}</h2>
<p class="lead">
- {{ .Content }}
+ {{ .body }}
</p>
+ {{ end }}
+ </div>
+ <div class="col-md-4">
+ {{ partial "shoutbox.html" }}
</div>
</div>
</div>
diff --git a/layouts/partials/top-block.html b/layouts/partials/top-block.html index e716c62..9350013 100644 --- a/layouts/partials/top-block.html +++ b/layouts/partials/top-block.html @@ -1,11 +1,8 @@ <!-- Full Page Image Header Area -->
<div id="top" class="header">
- <div class="vert-text">
- <a href="#intro"><img src="{{ .Site.BaseURL }}{{ .Site.Params.mainIcon }}" class="logo"></a>
- <div class="siteTitle">{{ .Site.Title }}</div>
- <div class="description">{{ .Site.Params.description }}</div>
- <div class="buttonbox">
+ <div class="vert-text social-buttons">
+ <div class="buttonbox col-md-6">
{{ range .Site.Params.social }}
<a href="{{ .url }}" class="btn btn-default btn-lg"><i class="icon-{{ lower .title }}"></i> <span class="network-name">{{ .title }}</span></a>
{{ end }}
diff --git a/static/css/HPstyles.css b/static/css/HPstyles.css index 8c7f88e..a68fec0 100755 --- a/static/css/HPstyles.css +++ b/static/css/HPstyles.css @@ -23,6 +23,13 @@ body { text-align: center; } +.social-buttons { + vertical-align: bottom; +} + +.main-container { + max-width: 90% !important; +} /* Full Page Image Header Area */ @@ -30,9 +37,11 @@ body { display: table; height: 70%; width: 100%; + max-width: 100%; min-height: 70%; position: relative; - background: url(../img/desk.jpg) no-repeat center center fixed; + background: url(../img/banner_gradient.png) no-repeat fixed; + background-position: center right; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; diff --git a/static/css/style.css b/static/css/style.css index a19a9b1..bc6be8b 100755 --- a/static/css/style.css +++ b/static/css/style.css @@ -315,7 +315,6 @@ ul.sidebar-menu li.active a i { text-align:center; } - .black-bg { background: rgba(20,20,20,0.9); border-bottom: 1px solid #f1f2f7; |
