diff --git a/index.js b/index.js
index e8e63ed..8feff54 100644
--- a/index.js
+++ b/index.js
@@ -21,33 +21,6 @@ var fontPath = path.join(staticpath, "fonts")
app.use("/fonts", express.static(fontPath))
app.use("/cached", express.static(cachePath))
-app.get("/disc", (req, res) => {
- res.setHeader("X-Accel-Buffering", "no")
- res.write(fs.readFileSync(path.join(__dirname, "resources/disc.html")))
-
- var iterations = 0
- var lastAct = null
-
- function loop() {
- var currentAct = pageUpdater.getActivities()
- if (currentAct != lastAct) {
- lastAct = currentAct
- iterations += 1
- res.write(`
`)
- res.write(currentAct.substring(currentAct.indexOf("
`)
- res.write(``)
- }
- setTimeout(() => {
- if (!res.closed) {
- loop()
- res.write(" ")
- }
- }, 1000);
- }
- loop()
-})
-
if (!fs.existsSync(cachePath)) {
fs.mkdirSync(cachePath)
} else {
diff --git a/static/global.css b/static/global.css
index 5905eaf..1921889 100644
--- a/static/global.css
+++ b/static/global.css
@@ -141,7 +141,7 @@ p {
img {
width: 100%;
- max-width: 135px;
+ /* max-width: 135px; */
transition: all 2s cubic-bezier(0.075, 0.82, 0.165, 1);
}
diff --git a/static/root.css b/static/root.css
index 6f75c6e..492cf3d 100644
--- a/static/root.css
+++ b/static/root.css
@@ -63,18 +63,20 @@
max-height: 100%;
overflow-wrap: anywhere;
text-overflow: ellipsis;
- padding: 5px;
+ padding: 3px;
+ line-height: 1.5rem;
align-self: center;
}
.activity>img {
- width: 128px;
+ width: 40%;
aspect-ratio: 1/1;
object-fit: cover;
}
.activity>img:not(.smallimg) {
- min-width: 128px;
+ min-width: 150px;
+ max-width: 150px;
}
.activity>.smallimg {
@@ -96,7 +98,7 @@
img:not(.project-inner > div > img):not(.activity>img) {
width: 100%;
- max-width: 135px;
+ max-width: 168px;
transition: all 2s cubic-bezier(0.075, 0.82, 0.165, 1);
}