mirror of
https://github.com/ssyyhhrr/stewardle.git
synced 2025-11-15 21:33:49 -05:00
Mobile Optimisation
This commit is contained in:
2
app.js
2
app.js
@@ -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'))
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user