mirror of
https://github.com/gigirassy/plaster.git
synced 2024-12-23 18:39:07 +00:00
Compare commits
No commits in common. "4f54dcb51cc666ccd047f8e61acea8078efa93cc" and "aacfbeef203f89c95f72aeea9ea0803433134f50" have entirely different histories.
4f54dcb51c
...
aacfbeef20
1
app.js
1
app.js
@ -2,7 +2,6 @@ const express = require('express');
|
||||
const fetch = require('node-fetch');
|
||||
const cookieParser = require('cookie-parser');
|
||||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
|
||||
const app = express();
|
||||
const PORT = process.env.PORT || 3000;
|
||||
|
@ -3,15 +3,9 @@ version: '3.8'
|
||||
services:
|
||||
plaster:
|
||||
image: ghcr.io/gigirassy/plaster
|
||||
|
||||
ports:
|
||||
- "35200:3000" # change host port if needed
|
||||
|
||||
environment:
|
||||
- AUTO_COPY_DEFAULT: "false" # if enabled, this will automatically copy paste contents to the clipboard on main page
|
||||
- SHOW_ASCII_ART: "true" # if disabled, ascii art on front page won't show up
|
||||
|
||||
# volumes:
|
||||
# - ./ascii:/app/ascii # allows for custom ascii art via folder mounting
|
||||
AUTO_COPY_DEFAULT: "false" # if enabled, this will automatically copy paste contents to the clipboard on main page
|
||||
restart: always
|
||||
container_name: plaster
|
||||
|
@ -46,31 +46,6 @@
|
||||
a {
|
||||
color: var(--link-color);
|
||||
}
|
||||
|
||||
#asciiArtContainer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
padding: 10px;
|
||||
font-family: monospace;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
/* For tablets and small screens */
|
||||
#asciiArtContainer {
|
||||
font-size: 0.5rem; /* Slightly smaller font */
|
||||
padding: 8px; /* Reduced padding */
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
/* For mobile devices */
|
||||
#asciiArtContainer {
|
||||
font-size: 0.3rem; /* Smaller font size for mobile */
|
||||
padding: 5px; /* Minimal padding */
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body> <div class="main">
|
||||
|
Loading…
Reference in New Issue
Block a user