diff --git a/assets/style/docs.scss b/assets/style/docs.scss index a7045744..99c1e7d0 100644 --- a/assets/style/docs.scss +++ b/assets/style/docs.scss @@ -15,10 +15,6 @@ border-bottom: 1px dashed #688fff; } -.main{ - margin-top: 50px; -} - .docblock{ // width:100%; margin-bottom: 40px; diff --git a/assets/style/main.scss b/assets/style/main.scss index 527e302d..d76c6065 100644 --- a/assets/style/main.scss +++ b/assets/style/main.scss @@ -6,4 +6,54 @@ body { font-family: "PT Sans", Arial, sans-serif; margin: 0; padding: 0; +} + +.main { + margin-top: 5px; + + .telephone { + font-size: 1.25em; + margin-left: 30px; + } +} + +a { + color: #3f9cea; + text-decoration: none; + border-bottom: 1px solid rgba(63, 156, 234, 0.25); +} + +a:hover { + border-bottom: 1px solid rgba(63, 156, 234, 0.5); +} + +a:active { + border-bottom: 1px solid rgb(63, 156, 234); +} + +ul.submenu { + list-style: none; + display: inline-block; + margin: 0 auto; + width: 70%; + text-align: center; + + li { + display: inline-block; + vertical-align: top; + margin: 0 30px 0 0; + + p { + margin: 2px 0 0; + font-size: 0.75em; + color: #999; + } + } +} + +h1 { + text-align: right; + margin: 20px 50px 0 0; + font-weight: normal; + padding: 0; } \ No newline at end of file diff --git a/client/pages/home.js b/client/pages/home.js index bef103b1..8fa38208 100644 --- a/client/pages/home.js +++ b/client/pages/home.js @@ -3,8 +3,9 @@ */ module.exports = function (app) { - app.controller("HomePageController", function ($scope) { + app.controller("HomePageController", function ($scope, config) { $scope.pageClass = "page-home"; + $scope.telephone = config.telephone; $(".fotorama").fotorama(); }); diff --git a/views/home.html b/views/home.html index c2e9fb65..31eb2d0d 100644 --- a/views/home.html +++ b/views/home.html @@ -1,4 +1,19 @@