Skip to content

Commit

Permalink
Add transition rules and tweak widths.
Browse files Browse the repository at this point in the history
  • Loading branch information
Potherca committed Aug 2, 2023
1 parent 4c7fc68 commit 6ce6d9c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions assets/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,14 @@ address::before {
content: "Adres: ";
}

body {
transition: all 0.85s linear;
}

footer {
text-align: center;
font-size: 1rem;
margin: 4em auto 0;
text-align: center;
}

img {
Expand All @@ -48,6 +53,7 @@ section {
margin: auto;
min-height: 100vh;
width: 40rem;
min-width: 440px;
padding: 1em;
}

Expand Down Expand Up @@ -178,7 +184,7 @@ section {

/*=======( Mobile Tweaks )====================================================*/

@media screen and (max-width: 27.5rem) {
@media screen and (max-width: 640px) {
body {font-size: 0.65em;}
section { width: auto;}
}
Expand Down

0 comments on commit 6ce6d9c

Please sign in to comment.