refactor: box-sizing
This commit is contained in:
parent
d48bb0fd71
commit
2a99ffcc90
|
@ -6,6 +6,9 @@
|
|||
|
||||
<title>Avocado</title>
|
||||
<style>
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
html, body {
|
||||
background-color: #333333;
|
||||
width: 100%;
|
||||
|
|
|
@ -13,8 +13,7 @@ const decorate = compose(
|
|||
background-color: rgba(0, 0, 0, .3);
|
||||
border: 1px solid white;
|
||||
color: white;
|
||||
font-size: 0.8em;
|
||||
height: 4.5em;
|
||||
height: 5em;
|
||||
position: absolute;
|
||||
top: 0.5em;
|
||||
left: calc(320px + 0.5em);
|
||||
|
@ -25,7 +24,7 @@ const decorate = compose(
|
|||
}
|
||||
.connection > p {
|
||||
margin-left: 0.25em;
|
||||
margin-top: 0.3em;
|
||||
margin-top: 0.125em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.connection > p.connected {
|
||||
|
|
|
@ -12,12 +12,11 @@ const decorate = compose(
|
|||
background-color: rgba(0, 0, 0, .3);
|
||||
border: 1px solid white;
|
||||
color: white;
|
||||
font-size: 0.8em;
|
||||
position: absolute;
|
||||
top: 2.5em;
|
||||
top: 1.75em;
|
||||
left: 0.5em;
|
||||
line-height: 1em;
|
||||
width: 11.5em;
|
||||
width: 9em;
|
||||
padding: 0.125em;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
@ -36,6 +35,7 @@ const decorate = compose(
|
|||
content: 'out: ';
|
||||
}
|
||||
.throughput p {
|
||||
font-size: 0.8em;
|
||||
margin: 0.25em;
|
||||
}
|
||||
`),
|
||||
|
|
Loading…
Reference in New Issue
Block a user