From e55cbcb6eddeee7c83bd4e5e678a7b6261358202 Mon Sep 17 00:00:00 2001
From: Paulus Schoutsen
Date: Wed, 28 Oct 2015 23:44:38 -0700
Subject: [PATCH] Improve frontpage install code
---
sass/custom/_paulus.scss | 6 +++++-
source/_includes/custom/welcome.html | 4 ++--
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/sass/custom/_paulus.scss b/sass/custom/_paulus.scss
index 6560106c841..946093b68db 100644
--- a/sass/custom/_paulus.scss
+++ b/sass/custom/_paulus.scss
@@ -16,14 +16,18 @@
}
.front-install {
+ border: none;
+ font-size: 1em;
background-color: #333;
margin-bottom: 16px;
display: inline-block;
padding: 8px;
color: #DDD;
- .sh {
+ div:before {
+ content: '$';
color: #c82829;
+ margin-right: 6px;
}
}
}
diff --git a/source/_includes/custom/welcome.html b/source/_includes/custom/welcome.html
index 0edba7be7df..d4d6aa18b44 100644
--- a/source/_includes/custom/welcome.html
+++ b/source/_includes/custom/welcome.html
@@ -3,8 +3,8 @@
Home Assistant is an open-source home automation platform running on Python 3. Track and control all devices at home and automate control. Installation in less than a minute.
-$ pip3 install homeassistant
-$ hass --open-ui
+pip3 install homeassistant
+hass --open-ui
View demo