Chore: mobile support

This commit is contained in:
Ward Truyen 2024-10-03 13:36:30 +02:00
parent 92a500a8cf
commit 37d565e98c
6 changed files with 10 additions and 0 deletions

View File

@ -3,6 +3,7 @@
<head> <head>
<title>WTerminal as addon</title> <title>WTerminal as addon</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/main.css" /> <link rel="stylesheet" href="css/main.css" />
<!-- <link rel="stylesheet" href="css/wterminal.css" /> --> <!-- <link rel="stylesheet" href="css/wterminal.css" /> -->

View File

@ -100,3 +100,8 @@ html.theme-dark {
text-shadow: 0px 0px 3px blue, 2px 2px 6px; text-shadow: 0px 0px 3px blue, 2px 2px 6px;
} }
@media(orientation: portrait){
main{
margin-top: 0;
}
}

View File

@ -3,6 +3,7 @@
<head> <head>
<title>WTerminal dropdown sample</title> <title>WTerminal dropdown sample</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/main.css" /> <link rel="stylesheet" href="css/main.css" />
<link rel="stylesheet" href="css/wterminal.css" /> <link rel="stylesheet" href="css/wterminal.css" />

View File

@ -3,6 +3,7 @@
<head> <head>
<title>WTerminal home</title> <title>WTerminal home</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/main.css" /> <link rel="stylesheet" href="css/main.css" />
<!-- <link rel="stylesheet" href="css/wterminal.css" /> --> <!-- <link rel="stylesheet" href="css/wterminal.css" /> -->

View File

@ -3,6 +3,7 @@
<head> <head>
<title>Sample: Ping pong</title> <title>Sample: Ping pong</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/game.css" /> <link rel="stylesheet" href="css/game.css" />
<link rel="stylesheet" href="css/main.css" /> <link rel="stylesheet" href="css/main.css" />
<link rel="stylesheet" href="css/wterminal.css" /> <link rel="stylesheet" href="css/wterminal.css" />

View File

@ -3,6 +3,7 @@
<head> <head>
<title>WTerminal static sample</title> <title>WTerminal static sample</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/main.css" /> <link rel="stylesheet" href="css/main.css" />
<link rel="stylesheet" href="css/wterminal.css" /> <link rel="stylesheet" href="css/wterminal.css" />