Compare commits

...

7 Commits

Author SHA1 Message Date
nune
4f54dcb51c
Update index.html 2024-12-20 10:39:44 -05:00
nune
f52d35da2a
Update index.html 2024-12-20 10:36:39 -05:00
nune
945bd3553c
Update compose.yml 2024-12-20 10:31:44 -05:00
nune
e5b08ea2d2
Update compose.yml 2024-12-20 10:28:07 -05:00
nune
6360da1efd
Update compose.yml 2024-12-20 10:27:10 -05:00
nune
70236532f6
Update compose.yml 2024-12-20 10:25:22 -05:00
nune
cc25209644
Update app.js 2024-12-20 10:19:06 -05:00
3 changed files with 33 additions and 1 deletions

1
app.js
View File

@ -2,6 +2,7 @@ const express = require('express');
const fetch = require('node-fetch'); const fetch = require('node-fetch');
const cookieParser = require('cookie-parser'); const cookieParser = require('cookie-parser');
const path = require('path'); const path = require('path');
const fs = require('fs');
const app = express(); const app = express();
const PORT = process.env.PORT || 3000; const PORT = process.env.PORT || 3000;

View File

@ -3,9 +3,15 @@ version: '3.8'
services: services:
plaster: plaster:
image: ghcr.io/gigirassy/plaster image: ghcr.io/gigirassy/plaster
ports: ports:
- "35200:3000" # change host port if needed - "35200:3000" # change host port if needed
environment: 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 restart: always
container_name: plaster container_name: plaster

View File

@ -46,6 +46,31 @@
a { a {
color: var(--link-color); 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> </style>
</head> </head>
<body> <div class="main"> <body> <div class="main">