From 2a222357e3bffd3b4d079ead104b70cce8f0b7b7 Mon Sep 17 00:00:00 2001 From: Anton Vakhrushev Date: Fri, 26 Aug 2016 08:11:36 +0300 Subject: [PATCH] Move files to web dir and add deploy script --- deploy.sh | 5 ++++ web/index.html | 67 +++++++++++++++++++++++++++++++++++++++++++++++++ web/style.css | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 140 insertions(+) create mode 100755 deploy.sh create mode 100644 web/index.html create mode 100644 web/style.css diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..4908f2f --- /dev/null +++ b/deploy.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +set -eu + +scp -r web/ eos:/var/www/anwinged diff --git a/web/index.html b/web/index.html new file mode 100644 index 0000000..cddbbf9 --- /dev/null +++ b/web/index.html @@ -0,0 +1,67 @@ + + + + + + + + Антон Вахрушев + + +
+ +

Здравствуйте,

+ +

Привет,

+ +

+ меня зовут Антон Вахрушев, и это моя домашняя страница.
+ Здесь вы можете. +

+ +

Посмотреть

+ + +

Почитать

+ + +

Похвалить

+ + +

Написать

+ + +
+ + diff --git a/web/style.css b/web/style.css new file mode 100644 index 0000000..a1fe92b --- /dev/null +++ b/web/style.css @@ -0,0 +1,68 @@ +body { + font-size: 18px; + font-family: 'PT Serif', Serif; +} + +.content { + width: 840px; + margin: 0 auto; +} + +.greeting, +.hello { + margin-top: 1.8em; + font-size: 3.4em; + margin-bottom: 0.6em; + font-weight: normal; +} + +.heading { + margin-top: 2.3em; + margin-bottom: 0.4em; + font-size: 1.2em; + font-weight: normal; +} + +.hello { + display: none; +} + +.text { + margin-bottom: 0.8em; +} + + +@media (max-width: 839px) { + + body { + font-size: 16px; + } + + .content { + margin: 20px 0; + width: auto; + } + + .greeting, + .hello { + margin-top: 0.8em; + } + + .greeting { + display: none; + } + + .hello { + display: block; + } + +} + +@media (max-width: 480px) { + + .content { + margin: 10px 0; + width: auto; + } + +}