This website works better with JavaScript.
Home
Explore
Help
Sign In
KaiSD
/
Test-rep
Watch
1
Star
0
Fork
0
Code
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
horizontal screen (try2)
master
KaiSD
4 years ago
parent
8664cc377d
commit
4e592a4e56
3 changed files
with
13 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
mjprot/index.html
+0
-4
mjprot/manifest.json
+12
-0
mjprot/screen.css
+ 1
- 1
mjprot/index.html
View File
@@ -112,7 +112,7 @@
visibility: visible;
}
</style>
<link rel="
manifest" href="manifest.json
">
<link rel="
stylesheet" href="screen.css
">
</head>
<body>
<canvas id='canvas'>
+ 0
- 4
mjprot/manifest.json
View File
@@ -1,4 +0,0 @@
{
"display": "standalone",
"orientation": "landscape"
}
+ 12
- 0
mjprot/screen.css
View File
@@ -0,0 +1,12 @@
@media screen and (orientation: portrait) {
html {
transform: rotate(-90deg);
transform-origin: left top;
width: 100vh;
height: 100vw;
overflow-x: hidden;
position: absolute;
top: 100%;
left: 0;
}
}
Write
Preview
Loading…
Cancel
Save