mirror of
https://github.com/ssyyhhrr/stewardle.git
synced 2025-11-16 05:43: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() {
|
function server() {
|
||||||
var app = express()
|
var app = express()
|
||||||
|
|
||||||
|
app.enable("trust proxy")
|
||||||
|
|
||||||
app.use(express.urlencoded({ extended: true }))
|
app.use(express.urlencoded({ extended: true }))
|
||||||
app.use(express.static("assets"))
|
app.use(express.static("assets"))
|
||||||
app.use(favicon('assets/favicon.ico'))
|
app.use(favicon('assets/favicon.ico'))
|
||||||
|
|||||||
@@ -210,9 +210,9 @@ input[type=text] {
|
|||||||
color: white;
|
color: white;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
bottom: 1em;
|
||||||
font-family: "FormulaOne", sans-serif;
|
font-family: "FormulaOne", sans-serif;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
bottom: 1em;
|
|
||||||
transform: translateX(-50%)
|
transform: translateX(-50%)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -267,6 +267,7 @@ p a:hover {
|
|||||||
padding: 1.6em;
|
padding: 1.6em;
|
||||||
transition: all 0.5s;
|
transition: all 0.5s;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.shareScreen {
|
.shareScreen {
|
||||||
@@ -462,9 +463,36 @@ p a:hover {
|
|||||||
display: block;
|
display: block;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
|
padding-bottom: 100px;
|
||||||
width: 380px;
|
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 {
|
@keyframes shake {
|
||||||
0% {
|
0% {
|
||||||
transform: translateX(0);
|
transform: translateX(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user