Skip to content

Commit d5524f9

Browse files
committed
MINOR profile page styling
1 parent 7dc3050 commit d5524f9

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

src/pages/Profile.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
const profile =
2-
`<main>
2+
`<main id="profile">
33
<div>
4-
<div>profile page</div>
4+
<h1>Profile</h1>
5+
<h2>available next update...</h2>
56
</div>
67
</main>`
78

src/styles/styles.css

+10-5
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ main aside { background: var(--color-primary) }
9090
body, header,
9191
textarea, #auth { background: var(--color-secondary) }
9292

93-
a, p, button,
93+
a, p, button, #profile,
9494
textarea, .material-icons,
9595
#editor-actions select { color:var(--color-text) }
9696

@@ -109,27 +109,30 @@ a, p, button { font-family:var(--fontfamily-primary) }
109109
textarea { font-family: var(--fontfamily-editor) }
110110

111111
/* Font Size */
112-
header a, #auth p { font-size: var(--fontsize-logo) }
112+
header a, #auth p,
113+
#profile h1 { font-size: var(--fontsize-logo) }
113114

114115
#auth button, textarea { font-size: var(--fontsize-text) }
115116

116117
#auth a, #editor-actions p,
117-
#editor-actions select { font-size: var(--fontsize-link) }
118+
#editor-actions select,
119+
#profile h2 { font-size: var(--fontsize-link) }
118120

119121
.material-icons { font-size: var(--fontsize-icon) }
120122

121123
.menu-button { font-size: var(--fontsize-menu-button) }
122124

123125
/* Font Bold */
124126
header a, .menu-button,
125-
#editor-actions select { font-weight: var(--fontweight-bold) }
127+
#editor-actions select,
128+
#profile h1 { font-weight: var(--fontweight-bold) }
126129

127130
/* Padding */
128131
#auth p { padding-bottom: var(--padding-editor) }
129132

130133
.menu-button { padding: var(--padding-button-alt) }
131134

132-
textarea { padding: var(--padding-editor) }
135+
textarea, #profile { padding: var(--padding-editor) }
133136

134137
header a, .material-icons { padding: var(--padding-icon) }
135138

@@ -202,5 +205,7 @@ textarea {
202205

203206
#editor-actions p { margin-left: 8px }
204207

208+
#profile h1 { margin-bottom: 8px }
209+
205210
.menu-button { margin-left: 4px }
206211
/* STYLES END*/

0 commit comments

Comments
 (0)