Skip to content

Commit

Permalink
added viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
Lifailon committed May 14, 2024
1 parent b0ef175 commit 332de76
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
17 changes: 17 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<title>Epic Games Radar</title>
<style>
header {
Expand Down Expand Up @@ -73,6 +74,22 @@
.scroll-to-top:hover {
background-color: #4051B5;
}
@media screen and (max-width: 800px) {
header a {
font-size: 46px;
}
body {
padding-left: 20px;
padding-right: 20px;
}
table {
font-size: 24px;
border-collapse: collapse;
width: 100%;
margin: auto;
overflow-x: auto;
}
}
</style>
</head>
<body>
Expand Down
17 changes: 17 additions & 0 deletions scripts/Get-GameList.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ $html = @"
<!DOCTYPE html>
<html>
<head>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<title>Epic Games Radar</title>
<style>
header {
Expand Down Expand Up @@ -290,6 +291,22 @@ $html = @"
.scroll-to-top:hover {
background-color: #4051B5;
}
@media screen and (max-width: 800px) {
header a {
font-size: 46px;
}
body {
padding-left: 20px;
padding-right: 20px;
}
table {
font-size: 24px;
border-collapse: collapse;
width: 100%;
margin: auto;
overflow-x: auto;
}
}
</style>
</head>
<body>
Expand Down

0 comments on commit 332de76

Please sign in to comment.