Mercurial > code > home > repos > light9
changeset 2000:56fc5fc673ec
rearrange home page to be less wide
Ignore-this: 3b6fadd9bbd9ce1f6741c1227f33ec53
author | drewp@bigasterisk.com |
---|---|
date | Sun, 09 Jun 2019 21:57:28 +0000 |
parents | b8efe756ad5d |
children | 585848d3587c |
files | light9/web/index.html |
diffstat | 1 files changed, 10 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/web/index.html Sun Jun 09 21:57:01 2019 +0000 +++ b/light9/web/index.html Sun Jun 09 21:57:28 2019 +0000 @@ -34,16 +34,23 @@ border: 5px solid red; display: inline-block; } + .big { + font-size: 120%; + display: inline-block; + padding: 10px 0; + } + + :host > div { display: inline-block; vertical-align: top; } :host > div:nth-child(2) { width: 9em; } - :host > div:nth-child(3) { width: 5em; } - :host > div:nth-child(4) { width: 3em; } - :host > div:nth-child(5) { width: 50px; } </style> + <div> <div class="left"><a class="big" href="{{name}}/">{{name}}</a></div> <div class="window"><button on-click="click">window</button></div> <div><a href="{{name}}/stats/">stats</a></div> + </div> + <div id="stats"><stats-line name="{{name}}"></div> </template> <script>