From de88d599afd2fa1296e82d7a4c012a30b66d08ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danyi=20D=C3=A1vid?= Date: Sun, 6 May 2018 21:20:05 +0200 Subject: [PATCH] * production deploy * page font size changes * article side separator height * tablet view inline image float --- deploy.php | 6 ++++++ public/styles/main.css | 19 ++++++++----------- templates/layout/default.phtml | 2 +- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/deploy.php b/deploy.php index d9f84b0..b54f6fa 100644 --- a/deploy.php +++ b/deploy.php @@ -30,6 +30,12 @@ host('alfheim') ->set('php_service_name', 'php7.2-fpm') ->set('deploy_path', '/mnt/apps/granprize'); +host('granprize') + ->stage('production') + ->user('vcreatives') + ->forwardAgent() + ->set('php_service_name', 'php7.2-fpm') + ->set('deploy_path', '/var/www/granprize.swedishchamber.hu'); desc('Reload PHP-FPM service'); task('php-fpm:reload', function () { diff --git a/public/styles/main.css b/public/styles/main.css index 0b19747..edbcb3e 100644 --- a/public/styles/main.css +++ b/public/styles/main.css @@ -29,7 +29,8 @@ header a:hover { article, section { font-family: 'Raleway', sans-serif; - font-size: 16pt; + font-size: 12pt; + font-weight: 500; } /* app main grid container */ @@ -58,6 +59,7 @@ section.article { display: grid; grid-column-gap: 20px; grid-row-gap: 20px; + align-self: start; } section.error { @@ -255,11 +257,11 @@ footer .ericsson-logo { img.embedded-image { max-width: 50%; + float: right } img.embedded-image.keep-small-right { max-width: 30%; - float: right; } section.judge { @@ -447,11 +449,6 @@ section.profile { grid-row-gap: 20px; } -section.profile > article { - border-left: 1px solid #003b70; - padding: 0 10px 0 10px; -} - section.profile > aside.sidebar > img { max-width: 100%; display: block; @@ -538,8 +535,8 @@ nav li > ul { nav > ul > li { padding-left: 5px; font-weight: 700; - font-size: 22pt; - line-height: 28pt; + font-size: 16pt; + line-height: 18pt; } nav > ul > li.current { @@ -557,8 +554,8 @@ nav ul.menu_level_1 { } nav ul.menu_level_1 > li { - font-size: 14pt; - line-height: 18pt; + font-size: 12pt; + line-height: 16pt; padding-left: 15px; margin-bottom: 10px; } diff --git a/templates/layout/default.phtml b/templates/layout/default.phtml index b83a7f6..1493e26 100644 --- a/templates/layout/default.phtml +++ b/templates/layout/default.phtml @@ -6,7 +6,7 @@ <?= $this->e($title) ?> - Swedish Chamber - + section('stylesheets') ?>