diff --git a/docs/layouts/chrome/analytics.html b/docs/layouts/chrome/analytics.html new file mode 100644 index 000000000..a30754c0a --- /dev/null +++ b/docs/layouts/chrome/analytics.html @@ -0,0 +1,10 @@ + diff --git a/docs/layouts/chrome/footer.html b/docs/layouts/chrome/footer.html index c4eb5bf93..cfdedfc70 100644 --- a/docs/layouts/chrome/footer.html +++ b/docs/layouts/chrome/footer.html @@ -12,6 +12,7 @@ + {{ template "chrome/analytics.html" . }} diff --git a/docs/layouts/index.html b/docs/layouts/index.html index 825a1d7e3..57c0556bc 100755 --- a/docs/layouts/index.html +++ b/docs/layouts/index.html @@ -24,9 +24,8 @@

Hugo

The Fast and Flexible Static Site Generator


- LEARN MORE    + LEARN MORE DOWNLOAD
-
DOCUMENTATION @@ -161,8 +160,8 @@

Get Started Today!

- Documentation Download + Documentation
@@ -211,6 +210,7 @@ }); + {{ template "chrome/analytics.html" . }} diff --git a/docs/static/static/css/HPstyles.css b/docs/static/static/css/HPstyles.css index 02ab60d12..a7df66365 100644 --- a/docs/static/static/css/HPstyles.css +++ b/docs/static/static/css/HPstyles.css @@ -24,8 +24,9 @@ body { .header { display: table; - height: 85%; + height: 70%; width: 100%; + min-height: 70%; position: relative; background: url(../img/converse-fields.jpg) no-repeat center center fixed; -webkit-background-size: cover; @@ -36,6 +37,43 @@ body { background-color: black; } +@media only screen +and (min-device-width : 320px) +and (max-device-width : 1024px) +and (orientation : portrait) +{ + .header { + display: table; + height: 70%; + width: 100%; + position: relative; + background: url(../img/converse-fields-mini.jpg) no-repeat; + background-size: 100% 100%; + z-index: 99999; + background-color: black; + } +} + +@media only screen +and (min-device-width : 320px) +and (max-device-width : 1024px) +and (orientation : landscape) { + .header { + display: table; + height: 70%; + width: 100%; + position: relative; + background: url(../img/converse-fields-long.jpg) no-repeat; + background-size: 100% 100%; + z-index: 99999; + background-color: black; + } +} + +.header .btn { + margin: 10px; +} + #main { z-index: 99999; position: relative; @@ -136,7 +174,7 @@ i.service-icon:hover { display: table; height: 400px; width: 100%; - background: url(../img/section-two.JPG) no-repeat center center fixed; + background: url(/static/img/section-two.JPG) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; @@ -168,7 +206,7 @@ i.service-icon:hover { } #action { - background: url(../img/gray.png); + background: url(/static/img/gray.png); padding: 50px 0px 30px; position: fixed; bottom: 130px; @@ -219,8 +257,8 @@ div.point a { .btn-clear { - color: #FFF; - background-color: rgba(255, 255, 255, 0.19); + color: #444; + background-color: rgba(255, 255, 255, 0.5); border-color: #FFF; } diff --git a/docs/static/static/img/converse-fields-long.jpg b/docs/static/static/img/converse-fields-long.jpg new file mode 100644 index 000000000..c509c1284 Binary files /dev/null and b/docs/static/static/img/converse-fields-long.jpg differ diff --git a/docs/static/static/img/converse-fields-mini.jpg b/docs/static/static/img/converse-fields-mini.jpg new file mode 100644 index 000000000..095fad01c Binary files /dev/null and b/docs/static/static/img/converse-fields-mini.jpg differ diff --git a/docs/static/static/img/converse-fields-sm.jpg b/docs/static/static/img/converse-fields-sm.jpg new file mode 100644 index 000000000..2eaaff521 Binary files /dev/null and b/docs/static/static/img/converse-fields-sm.jpg differ diff --git a/docs/static/static/img/converse-fields.jpg b/docs/static/static/img/converse-fields.jpg index 7f33fbabc..6b4cbabd7 100644 Binary files a/docs/static/static/img/converse-fields.jpg and b/docs/static/static/img/converse-fields.jpg differ