Skip to content

Commit

Permalink
site(index): Fix the media selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
tarampampam committed May 14, 2024
1 parent 7a230e2 commit ae3ed9d
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions website/index/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
--color-text-primary: #202020;
--color-text-inverted: #fff;
--aside-width: 30%;
--logo-width: 350px;
--logo-width: 200px;
--showing-speed: 300ms;
}

Expand Down Expand Up @@ -89,7 +89,7 @@
padding: 2em 1em;

h1 {
font-size: 4em;
font-size: 2em;
font-weight: normal;
text-transform: uppercase;
margin: 0;
Expand All @@ -101,7 +101,7 @@
}

h2 {
font-size: 2.2em;
font-size: 1.5em;
font-weight: normal;
margin: 1.3em 0 1.5em 0;
}
Expand All @@ -110,8 +110,8 @@
margin: 2em 0;

button {
padding: 1.5em 2em;
font-size: 1.5em;
padding: 1em 1.5em;
font-size: 1.2em;
font-weight: bolder;
background-color: var(--color-bg-inverted);
color: var(--color-text-inverted);
Expand Down Expand Up @@ -199,10 +199,20 @@
}
}

@media screen and (max-width: 1200px) {
@media screen and (min-width: 2000px) {
:root {
--logo-width: 250px;
}

html, body {
font-size: 22px;
}
}

@media screen and (max-width: 1200px) {
:root {
--logo-width: 150px;
}
}

@media screen and (max-width: 780px), screen and (max-height: 600px) {
Expand Down

0 comments on commit ae3ed9d

Please sign in to comment.