Skip to content

Commit 43c894d

Browse files
committed
Update <header> styling
1 parent f1c8371 commit 43c894d

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

assets/styles/default.css

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ h1 {
157157
font-size: 2.5rem;
158158
font-weight: 800;
159159
line-height: 1;
160-
margin-bottom: 0.5em;
160+
margin-bottom: 0.5rem;
161161
}
162162

163163
h2 {
@@ -256,11 +256,15 @@ input {
256256
gap: 10px;
257257
}
258258

259+
header {
260+
margin-top: 1rem;
261+
}
262+
259263
.header-content {
260264
display: flex;
261265
align-items: center;
262-
justify-content: space-between;
263-
margin-bottom: -0.5em;
266+
justify-content: center;
267+
/* margin-bottom: -0.5em; */
264268
}
265269

266270
.header-text {
@@ -269,8 +273,8 @@ input {
269273

270274
.header-img {
271275
margin-left: 1rem;
272-
width: 48px;
273-
height: 48px;
276+
height: 5rem;
277+
aspect-ratio: 1;
274278
}
275279

276280
.dropdown {
@@ -293,7 +297,7 @@ input {
293297
opacity: 0;
294298
position: absolute;
295299
overflow: hidden;
296-
top: 50px;
300+
/* top: 500px; */
297301
right: 0;
298302
padding-top: 0.5em;
299303
transition: all 100ms ease;

0 commit comments

Comments
 (0)