Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Commit

Permalink
Force landscape on mobile /stats
Browse files Browse the repository at this point in the history
  • Loading branch information
rtrevinnoc committed Mar 13, 2021
1 parent e596dc9 commit 73e489b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions templates/stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ <h1 id="title"><a href="/">FUTURE</a></h1>
</head>
<body>
<style>
@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: landscape) {
html {
transform: rotate(0deg);
transform-origin: left top;
width: 100%;
overflow-x: hidden;
position: absolute;
left: 0;
right: 0;
}
}
body {
--media-prefers-light: initial;
--c3-l: var(--media-prefers-light) #e4e4e4;
Expand Down

0 comments on commit 73e489b

Please sign in to comment.