1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 04:34:38 -05:00

add ismobile :3

This commit is contained in:
Ashley 2024-01-14 08:08:23 +00:00
parent 9d993d25f6
commit a3d1ea8b68

View file

@ -99,7 +99,6 @@
body { body {
justify-content: center; justify-content: center;
overflow:hidden;
font-family: sans-serif; font-family: sans-serif;
} }
@ -152,7 +151,6 @@
grid-area: translations; grid-area: translations;
} }
@media screen and (prefers-color-scheme: dark) {
body { body {
background-color: #212529; background-color: #212529;
color: #f8f9fa; color: #f8f9fa;
@ -197,8 +195,24 @@
.use_in_sentence { .use_in_sentence {
color: yellow; color: yellow;
} }
</style>
<% if (isMobile) { %>
<style>
body {
overflow: auto;
} }
</style> </style>
<% } %>
<% if (!isMobile) { %>
<style>
body {
overflow: hidden;
}
</style>
<% } %>
</head> </head>
<body> <body>