Skip to content

Commit e09c02e

Browse files
authored
Merge pull request #43 from tomasciar/tomas
Update style for consistency on mobile; Remove clutter
2 parents eb47d37 + 799b65c commit e09c02e

File tree

4 files changed

+16
-17
lines changed

4 files changed

+16
-17
lines changed

public/images/plus.png

3.4 KB
Loading

public/javascripts/script.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,3 @@ function phoneFormat(input) {
130130
}
131131
return input;
132132
}
133-
134-
/*
135-
TODO LIST
136-
\
137-
- Delete All button
138-
- Format answers to remove "/n" & "/t"
139-
*/

public/stylesheets/styles.css

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
*::after {
44
box-sizing: border-box;
55
font-family: Libre Baskerville, sans-serif;
6+
font-size: 1.1rem;
67
}
78

89
/* Styles for landing page */
@@ -25,7 +26,6 @@
2526

2627
body {
2728
margin: 0;
28-
font-size: 1.5rem;
2929
}
3030

3131
#container {
@@ -63,7 +63,7 @@ body {
6363
width: 32px;
6464
height: 32px;
6565
opacity: 0.5;
66-
font-size: 1rem;
66+
font-size: 0.8rem;
6767
background-color: transparent;
6868
border: none;
6969
}
@@ -78,7 +78,6 @@ body {
7878

7979
#add-button,
8080
#send-button {
81-
font-size: 1rem;
8281
text-align: center;
8382
background-color: white;
8483
opacity: 0.7;
@@ -94,10 +93,11 @@ body {
9493

9594
#phone-number,
9695
#todo {
96+
font-size: 0.9rem;
9797
border-color: rgb(126, 101, 152);
9898
border-radius: 1rem;
99-
padding: 15px;
100-
height: 25px;
99+
padding: 17px;
100+
height: 35px;
101101
color: grey;
102102
background-color: white;
103103
opacity: 0.85;
@@ -108,7 +108,7 @@ body {
108108
}
109109

110110
#todo {
111-
width: 300px;
111+
width: 340px;
112112
}
113113

114114
#item-form > * {
@@ -141,7 +141,11 @@ body {
141141
opacity: 0.95;
142142
}
143143

144-
#send-icon {
144+
#send-icon,
145+
#plus-icon {
146+
display: flex;
147+
align-items: center;
148+
justify-content: center;
145149
width: 15px;
146150
height: 15px;
147151
}

views/index.ejs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@
99
class="input"
1010
id="todo"
1111
type="text"
12-
placeholder="Enter Todo Item"
12+
placeholder="Add an item to your to-do list"
1313
/>
14-
<button class="button" id="add-button">+</button>
14+
<button class="button" id="add-button">
15+
<img id="plus-icon" src="/images/plus.png" />
16+
</button>
1517
</div>
1618
</form>
1719

@@ -23,7 +25,7 @@
2325
type="tel"
2426
name="number"
2527
onInput="this.value = phoneFormat(this.value)"
26-
placeholder="Phone Number"
28+
placeholder="Phone number"
2729
/>
2830
<button class="button" id="send-button">
2931
<img id="send-icon" src="/images/send2.png" />

0 commit comments

Comments
 (0)