From a9995f881227f7a75aefc2a484950df1327ec42c Mon Sep 17 00:00:00 2001 From: Fristi Date: Thu, 9 Mar 2023 22:25:48 +0100 Subject: [PATCH] Updated looks of the website; prepared transition to a PHP based website. --- pages/faq.php | 34 +++ public_html/LICENSE | 55 +++++ .../assets}/background3.png | Bin public_html/assets/border2x2.png | Bin 0 -> 922 bytes {assets => public_html/assets}/subcon/LICENSE | 0 .../assets}/subcon/cloud_64.png | Bin .../assets}/subcon/favicon_16.png | Bin .../assets}/subcon/favicon_16_black.png | Bin .../assets}/subcon/favicon_32.png | Bin .../assets}/subcon/favicon_32_black.png | Bin .../assets}/subcon/logo_128.png | Bin .../assets}/yoster-web.woff | Bin .../assets}/yoster-web.woff2 | Bin public_html/index.php | 218 ++++++++++++++++++ style.css => public_html/style.css | 43 ++-- 15 files changed, 333 insertions(+), 17 deletions(-) create mode 100644 pages/faq.php create mode 100644 public_html/LICENSE rename {assets => public_html/assets}/background3.png (100%) create mode 100644 public_html/assets/border2x2.png rename {assets => public_html/assets}/subcon/LICENSE (100%) rename {assets => public_html/assets}/subcon/cloud_64.png (100%) rename {assets => public_html/assets}/subcon/favicon_16.png (100%) rename {assets => public_html/assets}/subcon/favicon_16_black.png (100%) rename {assets => public_html/assets}/subcon/favicon_32.png (100%) rename {assets => public_html/assets}/subcon/favicon_32_black.png (100%) rename {assets => public_html/assets}/subcon/logo_128.png (100%) rename {assets => public_html/assets}/yoster-web.woff (100%) rename {assets => public_html/assets}/yoster-web.woff2 (100%) create mode 100644 public_html/index.php rename style.css => public_html/style.css (85%) diff --git a/pages/faq.php b/pages/faq.php new file mode 100644 index 0000000..415f498 --- /dev/null +++ b/pages/faq.php @@ -0,0 +1,34 @@ +

FAQ

+

+ Q: It's been a year, are you ever gonna get this show running? +
+ A: Yes. I really want this to work. A lot of things are in place now and + quite frankly, it's time to invite people in here to see how things go. +

+

+ Q: Is Subcon Town open for new users? +
+ A: No. The intended purpose is an invite-only tilde community, for friends and + family. After the testing phase, I will start sending out invites to people interested. + You may ask for an invite as well at that point, but the plan is to only let comfy people in. +

+

+ Q: Can I get an account on one of your services? +
+ A: Only as an existing member. We are currently not open for + new users to join. If you're already a member, ask + @fristi for an account. +

+

+ Q: Didn't you also run kartoffel.cafe? +
+ A: Yes, but a recent change of plans made running an activitypub + instance not very feasible, so I made the difficult choice of closing + the instance, for good. I currently run a new instance called + Akko's Friture, but it's a single user instance for now. +

+

+ Q: Is that the Yoshi's Island font? +
+ A: Yes. It was good game. +

\ No newline at end of file diff --git a/public_html/LICENSE b/public_html/LICENSE new file mode 100644 index 0000000..c5402b9 --- /dev/null +++ b/public_html/LICENSE @@ -0,0 +1,55 @@ +# Blue Oak Model License + +Version 1.0.0 + +## Purpose + +This license gives everyone as much permission to work with +this software as possible, while protecting contributors +from liability. + +## Acceptance + +In order to receive this license, you must agree to its +rules. The rules of this license are both obligations +under that agreement and conditions to your license. +You must not do anything with this software that triggers +a rule that you cannot or will not follow. + +## Copyright + +Each contributor licenses you to do everything with this +software that would otherwise infringe that contributor's +copyright in it. + +## Notices + +You must ensure that everyone who gets a copy of +any part of this software from you, with or without +changes, also gets the text of this license or a link to +. + +## Excuse + +If anyone notifies you in writing that you have not +complied with [Notices](#notices), you can keep your +license by taking all practical steps to comply within 30 +days after the notice. If you do not do so, your license +ends immediately. + +## Patent + +Each contributor licenses you to do everything with this +software that would otherwise infringe any patent claims +they can license or become able to license. + +## Reliability + +No contributor can revoke this license. + +## No Liability + +***As far as the law allows, this software comes as is, +without any warranty or condition, and no contributor +will be liable to anyone for any damages related to this +software or this license, under any kind of legal claim.*** diff --git a/assets/background3.png b/public_html/assets/background3.png similarity index 100% rename from assets/background3.png rename to public_html/assets/background3.png diff --git a/public_html/assets/border2x2.png b/public_html/assets/border2x2.png new file mode 100644 index 0000000000000000000000000000000000000000..c983edbb94dec4efbe245741ca54b6de3dfc5c1d GIT binary patch literal 922 zcmV;L17-Y)P)Px&R7pfZRCt{2ojq?9F%X9LP-u{-XlS575oJV^nub5YFXT_qP}884D560^5fT&# z(NI9KnuENz6WeQV#=bmHv-c6tZFc5edp+Kr-Sm$?6Wk`dX_}^c(R*>%*-cL5zkadJ z4_x|c_T8s>ivoh#_W>H=o(EG(sEvFt;&ScQ zwlB4-q$1xy0iAH-eUa)D)T6(C&)c)d^Y-h{x*hxSWBK!3yS42V`@b%(=Iw*~*T1)j zR_r)>`-1|4ar*$pJGY%bnYR`pt*}TlO6}LS&$a*l^YZt4JXHbo0iEFX0g8@a6^*#o z)Y{*A|BTY>B@_@$wgL=0=NsRjpS9YTAvvEes@kJ~V6qjU{qSfM9SyFgPF>91si+2xdPDvROM_9n7ex4juJyCEOVYb3r

;YD65bENh>1*~nac8rw06shYc6cCK7fZE9SP(>J}k*0QP w+po2gi>Cw>5X|ns*EjYB(45^gp@4Ay0$%YjH(gv>6951J07*qoM6N<$f)F9P&j0`b literal 0 HcmV?d00001 diff --git a/assets/subcon/LICENSE b/public_html/assets/subcon/LICENSE similarity index 100% rename from assets/subcon/LICENSE rename to public_html/assets/subcon/LICENSE diff --git a/assets/subcon/cloud_64.png b/public_html/assets/subcon/cloud_64.png similarity index 100% rename from assets/subcon/cloud_64.png rename to public_html/assets/subcon/cloud_64.png diff --git a/assets/subcon/favicon_16.png b/public_html/assets/subcon/favicon_16.png similarity index 100% rename from assets/subcon/favicon_16.png rename to public_html/assets/subcon/favicon_16.png diff --git a/assets/subcon/favicon_16_black.png b/public_html/assets/subcon/favicon_16_black.png similarity index 100% rename from assets/subcon/favicon_16_black.png rename to public_html/assets/subcon/favicon_16_black.png diff --git a/assets/subcon/favicon_32.png b/public_html/assets/subcon/favicon_32.png similarity index 100% rename from assets/subcon/favicon_32.png rename to public_html/assets/subcon/favicon_32.png diff --git a/assets/subcon/favicon_32_black.png b/public_html/assets/subcon/favicon_32_black.png similarity index 100% rename from assets/subcon/favicon_32_black.png rename to public_html/assets/subcon/favicon_32_black.png diff --git a/assets/subcon/logo_128.png b/public_html/assets/subcon/logo_128.png similarity index 100% rename from assets/subcon/logo_128.png rename to public_html/assets/subcon/logo_128.png diff --git a/assets/yoster-web.woff b/public_html/assets/yoster-web.woff similarity index 100% rename from assets/yoster-web.woff rename to public_html/assets/yoster-web.woff diff --git a/assets/yoster-web.woff2 b/public_html/assets/yoster-web.woff2 similarity index 100% rename from assets/yoster-web.woff2 rename to public_html/assets/yoster-web.woff2 diff --git a/public_html/index.php b/public_html/index.php new file mode 100644 index 0000000..e00c401 --- /dev/null +++ b/public_html/index.php @@ -0,0 +1,218 @@ + + + + + + + Subcon.town - Happy Dreams! + + $content) { ?> + + + + + + + + + + +

+
+ Subcon Town + +
+ +
+
+ +
+

Hello world!

+

+ Welcome to Subcon Town! We are a small tilde community, hosted for friends and family. + We offer SSH access, hosting of websites, gopher holes and gemini pods, alongside + other services like cloud services, git and fossil hosting and an activitypub server. +

+

+ Tilde communities are pubnixes, public access unix systems. We took our inspiration + from older such servers like tilde.club + and the tildes from tildeverse.org. +

+

+ Users may find out more about this system by visiting the wiki. + Keep in mind that the wiki is still a work in progress. +

+
+
+
+

News

+

Januari 2023: Plans for the year

+

+ Happy new year! Subcon has come a long way since the change of the year. First off: we have moved to + new hardware! The server is now powered by an Odroid H3 board. With that, a number of other changes + have been made as well. +

+

+ Storage on the server has been totally reworked; the old storage media have been replaced with a 2TB + NVMe drive that will, for one, house the user home directories, and a 4TB SATA SSD that will house all + variable data; user repositories, websites, databases, the lot. All of this has been set up with + convenient LVM partitions that can be easily resized if more space is required in the future. +

+

+ Many services have been updated. The gitea server has been replaced with a new gogs server, now + hosted at factory.subcon.town. The old snikket server + has also been replaced with a new prosody setup, offering most of the same xmpp services at jab.subcon.town. + Note that old snikket accounts are thus gone. The fedora installation has also been updated to fedora + 37. +

+

+ The most notable change however will be the decrease in processing power. While we still have about + 75% of the processing power, the upside is that the system as a whole is seriously more power efficient. + We are now running at a fraction of the power the old server needed, going from 60Wh on average to + a mere 6Wh. Serious power savings like that will lower upkeep cost, which I can in turn invest in + improving other things, such as my god awful internet bandwidth. +

+

+ Remember that even with all these changes done, the server is, and will likely forever, be a work + in progress. There are still some rough edges needing work, further configuring of services, and + for the current while, a lot of work writing wiki pages at + library.subcon.town. +

+
+
+
+

Services

+ +

+ We provide the following services for our members: +

+ + + + + + + + + + +
Akkoma: akkos.fritu.re
Doku wiki: library.subcon.town
Funkwhale: odeon.subcon.town
Gogs: factory.subcon.town
Fossil SCM: museum.subcon.town
Nextcloud: cloud.subcon.town
+ +

+ We also host member websites, gopher holes and gemini pods. User websites are listed below, + for gopher holes and gemini pods, visit gopher://subcon.town and + gemini://subcon.town respectively using a compatible browser. +

+ + + + + + +
fristi
+
+
+
+

FAQ

+

+ Q: You're running on the Odroid H3 now, right? +
+ A: Yes, all Subcon services have been moved to the new hardware + and are fully functional. +

+

+ Q: Is Subcon Town open for new users? +
+ A: We're still doing some work on some services, but in general + everything is ready. Note that Subcon Town is an invite-only community; you may certainly + ask for an invite, but generally we will only accept people that are known to us already. +

+

+ Q: Can I get an account on one of your services? +
+ A: Only as an existing member. If you're already a member, ask + @fristi for an account. +

+

+ Q: Is that the Yoshi's Island font? +
+ A: Yes. It was good game. +

+
+
+ +
+
+ +
+
+ © 2021-2023 Subcon Town. +  License +
+
+
+ + + + + + \ No newline at end of file diff --git a/style.css b/public_html/style.css similarity index 85% rename from style.css rename to public_html/style.css index d1fbe68..258c80f 100644 --- a/style.css +++ b/public_html/style.css @@ -43,24 +43,26 @@ body { .container { position: absolute; - box-sizing: border-box; left:0; - height: 100%; - max-width: 600px; - padding: 0 24px; - margin:auto; + right:0; + /*height: 100%;*/ + max-height: 100%; + max-width: 640px; + padding: 0 10px; + margin: auto; display:flex; flex-direction: column; flex-wrap: nowrap; overflow: hidden; background-color: var(--bg-color); - backdrop-filter: var(--bg-backdrop); + /*backdrop-filter: var(--bg-backdrop);*/ } header { display: flex; margin: var(--spacing-large); flex: 0 0 auto; + align-items: flex-end; } header img { @@ -70,15 +72,22 @@ header img { } header ul { + display: flex; position: relative; + padding: 0; + height: 80px; list-style: none; font-size: 0; flex: 1 1 auto; - text-align: right; + flex-wrap: wrap; + flex-direction: column; + justify-content: flex-end; } header ul li { position: relative; + width: 50%; + flex: 0 0 auto; } header ul li a{ @@ -86,7 +95,8 @@ header ul li a{ color: #fff; font-size: 20px; font-weight: normal; - line-height: 28px; + line-height: 36px; + text-align: center; } header ul li a:hover:before { @@ -95,16 +105,15 @@ header ul li a:hover:before { main { flex: 1 1 auto; - overflow: hidden; - padding: var(--spacing-large) 0 var(--spacing-large) var(--spacing-large); -} - -main .inner-main { - max-height: 100%; + padding: var(--spacing-large); + border: 32px solid transparent; + border-image: url('assets/border2x2.png') 32 fill round; overflow-y: auto; scrollbar-color: #fff transparent; scrollbar-width: thin; - padding-right: var(--spacing-large); +} + +main .inner-main { text-align: justify; } @@ -152,12 +161,12 @@ h2:before { } a { - color: #fff; + color: var(--link-color); text-decoration: none; } a:hover { - color: var(--link-color); + color: #fff; } a:not(header a):before, a:not(header a):after { color: var(--link-color); }