Mobile Optimisation

This commit is contained in:
ssyyhhrr
2022-12-29 13:30:09 +00:00
parent 32d1b7ca00
commit 1c41b66b7e
2 changed files with 31 additions and 1 deletions

2
app.js
View File

@@ -180,6 +180,8 @@ function getAge(dateString) {
function server() {
var app = express()
app.enable("trust proxy")
app.use(express.urlencoded({ extended: true }))
app.use(express.static("assets"))
app.use(favicon('assets/favicon.ico'))

View File

@@ -210,9 +210,9 @@ input[type=text] {
color: white;
position: absolute;
text-align: center;
bottom: 1em;
font-family: "FormulaOne", sans-serif;
left: 50%;
bottom: 1em;
transform: translateX(-50%)
}
@@ -267,6 +267,7 @@ p a:hover {
padding: 1.6em;
transition: all 0.5s;
opacity: 0;
overflow-x: auto;
}
.shareScreen {
@@ -462,9 +463,36 @@ p a:hover {
display: block;
margin-left: auto;
margin-right: auto;
padding-bottom: 100px;
width: 380px;
}
::-webkit-scrollbar {
width: 12px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #ffffff;
border-radius: 9999px;
border-style: solid;
border-color: transparent;
border-width: 0.25rem;
background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
background: #ffffffd0;
border-radius: 9999px;
border-style: solid;
border-color: transparent;
border-width: 0.25rem;
background-clip: padding-box;
}
@keyframes shake {
0% {
transform: translateX(0);