From 08f6889a89e338e3d96efb9fb0d7e389e3e3431a Mon Sep 17 00:00:00 2001 From: Minteck Date: Wed, 3 Nov 2021 17:52:37 +0100 Subject: Fix --- htdocs/public/assets/css/main.css | 38 ++++++++++++++++++++++++++++++++++++++ htdocs/public/index.ejs | 9 ++++++--- htdocs/public/legal/index.ejs | 5 ++++- htdocs/public/projects/index.ejs | 2 +- 4 files changed, 49 insertions(+), 5 deletions(-) (limited to 'htdocs/public') diff --git a/htdocs/public/assets/css/main.css b/htdocs/public/assets/css/main.css index 06a24cd..c662972 100644 --- a/htdocs/public/assets/css/main.css +++ b/htdocs/public/assets/css/main.css @@ -20,6 +20,10 @@ main { grid-gap: 20px; } +.bb-main-mobile { + display: none; +} + @media (max-width: 700px) { .grid-3:not(.dont-break-me) { grid-template-columns: 1fr 1fr; @@ -27,6 +31,10 @@ main { grid-column-gap: 0; } + .projects { + grid-column-gap: 10px !important; + } + .button h2 { margin-block-start: 0.33em; margin-block-end: 0.33em; @@ -49,6 +57,36 @@ main { border-radius: 0 !important; } + @media (min-width: 500px) { + .big-button.big-button-bg2.big-button-pt1, .big-button.big-button-bg2.big-button-pt2 { + border-radius: 5px !important; + border: 1px solid white !important; + display: inline-block; + } + } +} + + +@media (max-width: 500px) { + .grid-3 { + grid-template-columns: 1fr !important; + } + + .bb-main-mobile { + display: inline-block; + } + + .bb-main-desktop { + display: none; + } +} + +@media (max-width: 375px) { + .grid-2 { + grid-template-columns: 1fr !important; + margin-bottom: 10px; + } + .big-button.big-button-bg2.big-button-pt1, .big-button.big-button-bg2.big-button-pt2 { border-radius: 5px !important; border: 1px solid white !important; diff --git a/htdocs/public/index.ejs b/htdocs/public/index.ejs index 4e261cd..c11f225 100644 --- a/htdocs/public/index.ejs +++ b/htdocs/public/index.ejs @@ -39,26 +39,29 @@

Projects

The kind of weird stuff I do on my free time

+ View list →

Contact Me

So, you want to have a chat? With me? Nice! Come say hi.

+ Contact Info ↓

About Me

Oh no, you don't know me! Don't worry, we can solve that!

+ View Info ↓
- View list → + View list →
- Contact Info ↓ + Contact Info ↓
- View Info ↓ + View Info ↓
diff --git a/htdocs/public/legal/index.ejs b/htdocs/public/legal/index.ejs index 227f352..db9c215 100644 --- a/htdocs/public/legal/index.ejs +++ b/htdocs/public/legal/index.ejs @@ -287,7 +287,9 @@ LjxKOq2a

Warrant Canary

-
+
+ Show warrant canary +
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA256
 
@@ -317,4 +319,5 @@ RsSq7z80WAXn2SAZCYLO1tvdUdfxBSOvZadAcjP/PX4Mvy5Lokr0uRp92iCImxLZ
 =+ld4
 -----END PGP SIGNATURE-----
 
+
<%- include(`${private}/footer.ejs`) %> \ No newline at end of file diff --git a/htdocs/public/projects/index.ejs b/htdocs/public/projects/index.ejs index e9fb838..e224e0d 100644 --- a/htdocs/public/projects/index.ejs +++ b/htdocs/public/projects/index.ejs @@ -9,7 +9,7 @@

This is the page where all legal documents are posted. All the content is signed using a GPG key, it's very important that you check for the validity of the legal content you see on this website, as it may have been compromised.

-
+
<% for (let project of JSON.parse(fs.readFileSync(serverRoot + "/global/gitea.json").toString()).sort((a, b) => a.update - b.update).reverse()) { %>
"> -- cgit