Skip to content

Commit

Permalink
style/subscribe-page (#37)
Browse files Browse the repository at this point in the history
* Edited the subscribe page so that the font was consistent throughout and that the field for entering email was bigger

* Reduce weird margins on subscribe page
  • Loading branch information
anna1au authored Nov 6, 2023
1 parent 378651c commit c663d40
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion components/SubscribeForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const SubscribeForm = () => {
name="email"
type="email"
id={styles.input}
placeholder="Email"
placeholder="Enter your email"
value={email}
onChange={(e) => setEmail(e.target.value)}
/>
Expand Down
10 changes: 4 additions & 6 deletions styles/Subscribe.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@
text-align: center;
}

#container > * {
margin: 1rem;
}
#heading {
font-size: var(--large-text);
}

#text {
font-size: var(--medium-text);
}
Expand All @@ -24,15 +22,15 @@

#input {
margin: 4px;

color: var(--primary);
background-color: transparent;
border-bottom: 2px solid var(--primary);
outline: none;
text-align: center;
width: 50vw;
width: 90vw;
max-width: 360px;
font-size: var(--small-text);
font-size: var(--medium-text);
margin-bottom: 0.5rem;
}

.subscribe_form {
Expand Down

0 comments on commit c663d40

Please sign in to comment.