mirror of
https://github.com/gigirassy/plaster.git
synced 2024-12-23 10:29:07 +00:00
Compare commits
7 Commits
aacfbeef20
...
4f54dcb51c
Author | SHA1 | Date | |
---|---|---|---|
|
4f54dcb51c | ||
|
f52d35da2a | ||
|
945bd3553c | ||
|
e5b08ea2d2 | ||
|
6360da1efd | ||
|
70236532f6 | ||
|
cc25209644 |
1
app.js
1
app.js
@ -2,6 +2,7 @@ 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,9 +3,15 @@ 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
|
||||
- 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
|
||||
restart: always
|
||||
container_name: plaster
|
||||
|
@ -46,6 +46,31 @@
|
||||
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