Skip to content

Commit 4f6e275

Browse files
committed
Visual tweaks
1 parent af1e435 commit 4f6e275

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

index.html

+16-5
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,28 @@
1212
body { font : 300 13pt Lato,"Helvetica"; color : #555 }
1313
h1,h2,h3,h4{font-weight : 400;}
1414
h1 { font-size: 2.7em; text-align : center; }
15+
h2 { text-align: center; max-width: 880px;}
1516
h3 { font-size : 1.2em; margin : 3px 0 }
1617
h4 { font-size : 1.1em; margin : 2px 0 2px }
1718
ul { margin : 8px 0 }
1819

1920
#div-img-layout { width : 800px; margin : 32px auto }
2021
#main { max-width : 1020px; margin : 0 auto }
2122
#arsonitelayoutimg { text-align : center }
22-
23+
#design-goals h3{line-height: 1.7em}
24+
#design-goals li{line-height: 1.7em}
2325
.layout { margin : 8px 4px 20px }
2426
#downloads{margin: 20px auto; width: 500px}
2527
#downloads > a { background : orange; padding : 2px 20px 3px; color : black; text-decoration : none; margin : 0 8px }
2628
#downloads > a:first-child{margin-right: 50px}
2729
#performance { margin : 26px 0 0; position: relative }
28-
#text{border: 1px solid #ccc; background: #eee; padding: 8px; width: 100%}
29-
#process{background: orange; border: 1px orange; padding: 2px 8px 3px; font: 300 12pt Lato; position: absolute; top: 197px; right: 0}
30+
#perf-line {display: table-row}
31+
#perf-line div.center{text-align: center; width: 100%}
32+
#perf-line small{}
33+
#perf-line div{display: table-cell}
34+
#process{background: orange; border: 1px orange; padding: 2px 8px 3px; font: 300 12pt Lato; display: table-cell; text-align: right}
35+
36+
#text{border: 1px solid #ccc; background: #eee; padding: 8px; width: 98%; font-family: consolas, monaco, inconsolata, monospace}
3037
</style>
3138
</head>
3239
<body>
@@ -62,7 +69,11 @@ <h3>Design Goals</h3>
6269
</div>
6370

6471
<div id="performance">
65-
<h3>Performance</h3>
72+
<div id="perf-line">
73+
<div><h3>Performance</h3></div>
74+
<div class="center"><small>Enter/paste sample text here to test the performance of the layouts</small></div>
75+
<div><button id="process">Process</button></div>
76+
</div>
6677
<textarea name="text" id="text" cols="30" rows="10">
6778
"Attitude"
6879

@@ -99,7 +110,7 @@ <h3>Performance</h3>
99110

100111
Try it and see.
101112
</textarea>
102-
<button id="process">Process</button>
113+
103114

104115
<div id="layouts-all">
105116
<div id="layout-template" class="layout" style="display: none">

0 commit comments

Comments
 (0)