From 92e57f2ebbee55d3bfccbd0216baa092ee5d84b3 Mon Sep 17 00:00:00 2001 From: Nicolas Cusan Date: Thu, 10 Jan 2019 22:21:54 +0100 Subject: [PATCH] add install --- index.html | 58 +++++++++++++++++++++++++++++++++++++----------------- style.css | 42 +++++++++++++++++++++++++++++++++++---- 2 files changed, 78 insertions(+), 22 deletions(-) diff --git a/index.html b/index.html index 6f6283f..1026972 100644 --- a/index.html +++ b/index.html @@ -38,27 +38,49 @@ - See it in action - - Docs - +
+ + npm install + --save destyle.css + - + + diff --git a/style.css b/style.css index b5e1bac..8e5bea6 100644 --- a/style.css +++ b/style.css @@ -47,7 +47,7 @@ body { } .features { - margin-bottom: 60px; + margin-bottom: 50px; } .features li { @@ -67,6 +67,42 @@ body { text-decoration: underline; } +.install { + margin-bottom: 50px; + text-align: right; +} + +.install code { + display: block; + background-color: #f4f4f4; + padding: 10px 15px; + margin-bottom: 10px; + text-align: left; +} + +.install span, +.install a { + color: dodgerblue; +} + +.install a:active, +.install a:focus, +.install a:hover { + text-decoration: underline; +} + +.install span, +.install-link { + font-size: 90%; +} + +@media (min-width: 500px) { + .actions { + display: flex; + align-items: center; + } +} + .btn { background-color: dodgerblue; color: #fff; @@ -101,9 +137,7 @@ body { @media (min-width: 500px) { .social { - display: inline-block; - vertical-align: middle; - margin-left: 40px; + margin-left: auto; padding-top: 0; } }