Skip to content

Commit 48684ee

Browse files
Merge pull request #108 from curiosdevcookie/final_project_branch
Update UI for smaller screens.
2 parents e7114fb + ee389c9 commit 48684ee

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

week_11__final-project/spelling_bee/fly.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# fly.toml app configuration file generated for urban-spelling-bee on 2023-06-19T15:59:37+02:00
1+
# fly.toml app configuration file generated for urban-spelling-bee on 2023-06-19T16:21:29+02:00
22
#
33
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
44
#

week_11__final-project/spelling_bee/static/css/index.css

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ main {
9595
}
9696

9797
footer {
98-
margin-top: -3rem;
98+
margin-top: -0.5rem;
9999
}
100100

101101
main {
@@ -322,7 +322,7 @@ input {
322322
font-family: var(--font-handwriting);
323323
font-size: calc(4rem + 1vw);
324324
color: var(--color-rebeccapurple);
325-
animation: fade-in-out 2s linear, drop_into_view 5s linear;
325+
animation: fade-in-out 2s linear, fly_into_view 5s linear;
326326
opacity: 0;
327327
}
328328

@@ -442,6 +442,16 @@ dialog {
442442
}
443443

444444
@keyframes drop_into_view {
445+
0% {
446+
transform: translateY(-100%);
447+
}
448+
449+
100% {
450+
transform: translateY(0%);
451+
}
452+
}
453+
454+
@keyframes fly_into_view {
445455
0% {
446456
transform: translateY(0%);
447457
}

0 commit comments

Comments
 (0)