Tweak for mobile.
This commit is contained in:
parent
7c018d0a12
commit
c111a16a34
|
@ -23,7 +23,25 @@
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.big-input {
|
||||||
|
font-size: 150%;
|
||||||
|
padding: 0.5em;
|
||||||
|
background-color: rgba(255, 255, 255, 0.1);
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 1px;
|
||||||
|
border-color: rgba(255, 255, 255, 0.15);
|
||||||
|
color: white;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.big-input[type="submit"] {
|
||||||
|
padding-left: 1em;
|
||||||
|
padding-right: 1em;
|
||||||
|
}
|
||||||
@media (orientation:portrait) {
|
@media (orientation:portrait) {
|
||||||
|
.big-input {
|
||||||
|
font-size: 120%;
|
||||||
|
}
|
||||||
.popup-inner {
|
.popup-inner {
|
||||||
left: 5%;
|
left: 5%;
|
||||||
right: 5%;
|
right: 5%;
|
||||||
|
|
|
@ -112,19 +112,3 @@ ol, ul {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
margin-top: -0.35em;
|
margin-top: -0.35em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.big-input {
|
|
||||||
font-size: 150%;
|
|
||||||
padding: 0.5em;
|
|
||||||
background-color: rgba(255, 255, 255, 0.1);
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 1px;
|
|
||||||
border-color: rgba(255, 255, 255, 0.15);
|
|
||||||
color: white;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.big-input[type="submit"] {
|
|
||||||
padding-left: 1em;
|
|
||||||
padding-right: 1em;
|
|
||||||
}
|
|
|
@ -31,10 +31,10 @@ class NameForm extends React.Component {
|
||||||
return (
|
return (
|
||||||
<form onSubmit={this.handleSubmit} style={{ marginBottom: '15em', display: 'flex', flexDirection: 'column', alignItems: 'center' }}>
|
<form onSubmit={this.handleSubmit} style={{ marginBottom: '15em', display: 'flex', flexDirection: 'column', alignItems: 'center' }}>
|
||||||
<label htmlFor='lobby-name'>
|
<label htmlFor='lobby-name'>
|
||||||
<h1 className='white-on-light' style={{ fontSize: '5rem' }}>Lobby Name:</h1>
|
<h1 className='white-on-light' style={{ fontSize: '5rem', textAlign: 'center' }}>Lobby Name:</h1>
|
||||||
</label>
|
</label>
|
||||||
<div>
|
<div style={{ textAlign: 'center', width: '80%' }}>
|
||||||
<input className='big-input' name='lobby-name' type="text" value={this.state.value} onChange={this.handleChange} />
|
<input className='big-input' style={{ width: '50%' }} name='lobby-name' type="text" value={this.state.value} onChange={this.handleChange} />
|
||||||
<input className='big-input' style={{ marginLeft: '8px' }} type="submit" value="Submit" />
|
<input className='big-input' style={{ marginLeft: '8px' }} type="submit" value="Submit" />
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in New Issue