Skip to content

Commit 1832f7d

Browse files
committed
More CSS tweaks.
1 parent 4447f13 commit 1832f7d

1 file changed

Lines changed: 13 additions & 15 deletions

File tree

scriptshifter/templates/index.html

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
padding: 0.5em;
1515
}
1616

17-
fieldset.float-left {
18-
margin-right: 2rem;
19-
}
17+
fieldset.float-left { margin-right: 2rem; }
2018

2119
#results{
2220
font-size: 1.25em;
@@ -31,13 +29,9 @@
3129
background-color: whitesmoke;
3230
}
3331

34-
pre.warnings{
35-
border-left: 0.3rem solid #FF5722 !important;
36-
}
32+
pre.warnings { border-left: 0.3rem solid #FF5722 !important; }
3733

38-
.hidden {
39-
display: none !important;
40-
}
34+
.hidden { display: none !important; }
4135

4236
p.input_descr {
4337
font-size: 80%;
@@ -50,7 +44,11 @@
5044
margin: 20px auto;
5145
}
5246

53-
.option { display: inline-block; }
47+
.option {
48+
display: inline-block;
49+
float: left;
50+
margin-right: .4em;
51+
}
5452

5553
</style>
5654

@@ -69,7 +67,7 @@
6967
<h3>General Options</h3>
7068
<fieldset class="float-left">
7169
<legend>Direction</legend>
72-
<div class="float-left">
70+
<div class="option">
7371
<label class="label-inline" for="s2r">Script to Roman</label>
7472
<input
7573
type="radio" id="opt_s2r" name="t_dir" value="s2r"
@@ -81,19 +79,19 @@ <h3>General Options</h3>
8179
type="radio" id="opt_r2s" name="t_dir" value="r2s">
8280
</div>
8381
</fieldset>
84-
<fieldset class="float-left">
82+
<fieldset class="option">
8583
<legend>Capitalize</legend>
86-
<div class="option float-left">
84+
<div class="option">
8785
<label class="label-inline" for="no-change">No change</label>
8886
<input
8987
type="radio" id="no-change" name="capitalize"
9088
value="no_change" checked>
9189
</div>
92-
<div class="option float-left">
90+
<div class="option">
9391
<label class="label-inline" for="first">First word</label>
9492
<input type="radio" id="first" name="capitalize" value="first">
9593
</div>
96-
<div class="float-left">
94+
<div class="option">
9795
<label class="label-inline" for="all">All words</label>
9896
<input type="radio" id="all" name="capitalize" value="all">
9997
</div>

0 commit comments

Comments
 (0)