Improve frontpage install code

This commit is contained in:
Paulus Schoutsen 2015-10-28 23:44:38 -07:00
parent 484d49b557
commit e55cbcb6ed
2 changed files with 7 additions and 3 deletions

View File

@ -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;
}
}
}

View File

@ -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.
</p>
<code class='front-install'>
<span class='sh'>$</span> pip3 install homeassistant<br />
<span class='sh'>$</span> hass --open-ui
<div>pip3 install homeassistant</div>
<div>hass --open-ui</div>
</code>
<p class='hero-buttons'>
<a href='{{ root_url }}/demo/' target='_blank'>View demo</a>