Skip to content

Commit

Permalink
Update new height unit svh/w
Browse files Browse the repository at this point in the history
Took 8 minutes
  • Loading branch information
D3anDark committed Apr 15, 2024
1 parent 55f1b9f commit c2c5fc1
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
10 changes: 5 additions & 5 deletions src/css/style-404.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ body,html{
margin: 0;
padding: 0;

height: 100dvh;
width: 100dvw;
height: 100svh;
width: 100svw;

background: var(--bg);

Expand All @@ -15,7 +15,7 @@ body,html{
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
height: 100svh;

padding: 20px;

Expand Down Expand Up @@ -54,8 +54,8 @@ svg{

@media (max-width: 768px){
body{
height: 100dvh;
width: 100dvw;
height: 100svh;
width: 100svw;
}
.error{
font-size: 1.5rem;
Expand Down
8 changes: 4 additions & 4 deletions src/css/style-contact.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ body, html {
padding: 0;

background-color: #181a1b;
width: 100vw;
width: 100svw;
height: 100%;
min-height: 100vh;
min-height: 100svh;

font-family: system-ui, -apple-system, var(--font-family), Roboto, sans-serif;
font-style: normal;
Expand Down Expand Up @@ -172,8 +172,8 @@ h2 {
/*Mobile view*/
@media (width <= 660px){
body{
height: 100dvh;
width: 100dvw;
height: 100svh;
width: 100svw;
}
h1 {
font-size: 3.5em;
Expand Down
8 changes: 4 additions & 4 deletions src/css/style-projects.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ body, html {
padding: 0;

background-color: #181a1b;
width: 100vw;
width: 100svw;
height: 100%;
min-height: 100vh;
min-height: 100svh;

font-family: system-ui, -apple-system, var(--font-family), Roboto, sans-serif;
font-style: normal;
Expand Down Expand Up @@ -211,8 +211,8 @@ a:visited {
body {
font-size: 18px;

height: 100dvh;
width: 100dvw;
height: 100svh;
width: 100svw;
}

h1 {
Expand Down
8 changes: 4 additions & 4 deletions src/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ body, html {
padding: 0;

background-color: #181a1b;
width: 100vw;
width: 100svw;
height: 100%;
min-height: 100vh;
min-height: 100svh;

font-family: system-ui, -apple-system, var(--font-family), Roboto, sans-serif;
font-style: normal;
Expand Down Expand Up @@ -173,8 +173,8 @@ a:hover {
/*Mobile view*/
@media (width <= 660px) {
body{
height: 100dvh;
width: 100dvw;
height: 100svh;
width: 100svw;
}
h1 {
font-size: 3.5em;
Expand Down

1 comment on commit c2c5fc1

@vercel
Copy link

@vercel vercel bot commented on c2c5fc1 Apr 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.