aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Woodward <benjamindwoodward@gmail.com>2020-06-04 18:13:16 -0700
committerGitHub <noreply@github.com>2020-06-04 18:13:16 -0700
commit72ace876ca9117297b85adf8f3dec80197fba9da (patch)
treed756355f1544d990ca72cb21aee8af98c8bf1e40
parent8ae2d912e25aca408f42409f4e9c02290a7ebfd9 (diff)
Serif font for input fields (#5)
Fixes #4
-rw-r--r--src/components/Card.js4
-rw-r--r--src/components/style.css3
2 files changed, 5 insertions, 2 deletions
diff --git a/src/components/Card.js b/src/components/Card.js
index 7b615ea..2373b26 100644
--- a/src/components/Card.js
+++ b/src/components/Card.js
@@ -24,9 +24,9 @@ const Card = () => {
24 24
25 <div className="text"> 25 <div className="text">
26 <label>Network name</label> 26 <label>Network name</label>
27 <input id="ssid" type="text" maxlength="32" placeholder="Enter your WiFi Network" value={ssid} onChange={event => setSsid(event.target.value)} /> 27 <input id="ssid" type="text" maxlength="32" placeholder="WiFi Network name" value={ssid} onChange={event => setSsid(event.target.value)} />
28 <label>Password</label> 28 <label>Password</label>
29 <input id="password" type="text" maxlength="64" placeholder="password" value={password} onChange={event => setPassword(event.target.value)} /> 29 <input id="password" type="text" maxlength="64" placeholder="Password" value={password} onChange={event => setPassword(event.target.value)} />
30 </div> 30 </div>
31 </div> 31 </div>
32 32
diff --git a/src/components/style.css b/src/components/style.css
index e5b01e3..0f98052 100644
--- a/src/components/style.css
+++ b/src/components/style.css
@@ -1,3 +1,5 @@
1@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro');
2
1#print-area { 3#print-area {
2 margin-top: 2em; 4 margin-top: 2em;
3 padding: 1em; 5 padding: 1em;
@@ -15,6 +17,7 @@
15.details .text input { 17.details .text input {
16 background-color: #fff; 18 background-color: #fff;
17 border: solid 1px #ddd; 19 border: solid 1px #ddd;
20 font-family: 'Source Code Pro', serif;
18 font-size: 1.4em; 21 font-size: 1.4em;
19 font-weight: bold; 22 font-weight: bold;
20 line-height: 2; 23 line-height: 2;