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 { .front-install {
border: none;
font-size: 1em;
background-color: #333; background-color: #333;
margin-bottom: 16px; margin-bottom: 16px;
display: inline-block; display: inline-block;
padding: 8px; padding: 8px;
color: #DDD; color: #DDD;
.sh { div:before {
content: '$';
color: #c82829; 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. 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> </p>
<code class='front-install'> <code class='front-install'>
<span class='sh'>$</span> pip3 install homeassistant<br /> <div>pip3 install homeassistant</div>
<span class='sh'>$</span> hass --open-ui <div>hass --open-ui</div>
</code> </code>
<p class='hero-buttons'> <p class='hero-buttons'>
<a href='{{ root_url }}/demo/' target='_blank'>View demo</a> <a href='{{ root_url }}/demo/' target='_blank'>View demo</a>