mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Improve frontpage install code
This commit is contained in:
parent
484d49b557
commit
e55cbcb6ed
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user