Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions themes/ucaggpixel/404-search.html.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php if (!defined('HTMLY')) die('UCAGG'); ?>
<div class="card">
<div class="hero">
<h1>404</h1>
<p><?php echo i18n('Not_found'); ?></p>
</div>
<div class="article">
<?php search(); ?>
</div>
</div>
8 changes: 8 additions & 0 deletions themes/ucaggpixel/404.html.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php if (!defined('HTMLY')) die('UCAGG'); ?>
<div class="card">
<div class="hero">
<h1>404</h1>
<p><?php echo i18n('Not_found'); ?></p>
<p class="quote">Return to base and re-check coordinates.</p>
</div>
</div>
12 changes: 12 additions & 0 deletions themes/ucaggpixel/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
UCAGG Pixel theme for HTMLy
Copyright (c) 2025 ucagg.me

This theme is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This theme is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
85 changes: 85 additions & 0 deletions themes/ucaggpixel/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# UCAGG Pixel (HTMLy Theme)

Retro pixel / space theme designed for the UCAGG network (blogs/files/cloud/games/projects). Built for readability, speed, and a consistent “signal over noise” aesthetic.

## Highlights

- Pixel + space UI with lightweight animated starfield
- Optional “petals” overlay (pink pixel-dots) toggle
- HUB sidebar buttons with per-button **label / icon / link** configurable from Theme Settings
- Mobile header fix (social icons never slide off-screen)
- Post lists show: **thumbnail + title + ~3 lines** (no full-post dumps)
- Author/profile pages match the home post-card style
- Prev/Next navigation on single posts
- Admin author badge (pixel “Master Sage” icon) next to admin authors

## Included Files

```
themes/ucaggpixel/
css/style.css
js/effects.js
images/
ucagg_blog_logo_1024.png
ucagg_cloud_logo_1024.png
ucagg_files_logo_1024.png
ucagg_games_logo_1024.png
ucagg_projects_logo_1024.png
admin_sage_pixel.png
screenshot.png
404.html.php
404-search.html.php
layout.html.php
main.html.php
no-posts.html.php
post.html.php
profile.html.php
static.html.php
theme.json
README.md
LICENSE.txt
```

## Requirements

- HTMLy (PHP 7.2+).
- Theme settings via `theme.json` are supported in newer HTMLy versions. (HTMLy documents theme settings and `theme_config()` usage.)

## Install (end user)

1. Upload theme folder into:
`themes/ucaggpixel/`
2. In HTMLy Admin → Themes → select **UCAGG Pixel**
3. Clear cache by deleting contents of `cache/`

## Theme Settings

Open: Admin → Themes → **UCAGG Pixel** → Settings

### Social links
- `linkedin_url` — URL for LinkedIn icon
- `github_url` — URL for GitHub icon

### Footer
- `footer_text` — fallback footer text if global blog copyright isn’t set

### Effects
- `petals` — enable/disable petals overlay

### HUB menu
- `show_hub` — show/hide HUB card entirely
- `hub_title` — title above HUB buttons

For each HUB button (Blog/Cloud/Files/Games/Projects):
- `hub_<name>` — URL
- `hub_<name>_label` — visible label text
- `hub_<name>_icon` — icon filename under `themes/ucaggpixel/images/`

## Notes for maintainers

- Screenshot: HTMLy will display a theme screenshot if `screenshot.*` exists. This theme includes `screenshot.png`.
- No external dependencies required.

## License

GPL-2.0-or-later (same compatibility direction as HTMLy). See `LICENSE.txt`.
11 changes: 11 additions & 0 deletions themes/ucaggpixel/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
UCAGG Pixel Theme for HTMLy

Install:
1) Copy folder: themes/ucaggpixel into your HTMLy installation themes/ directory.
2) In Admin -> Appearance -> Theme, select "UCAGG Pixel".
3) (Optional) In Theme settings, toggle sakura pixel-dots and widgets.

Includes:
- Starfield background
- Optional sakura pixel-dots overlay (toggle with theme setting; press 'P' toggles on page)
- Sidebar hub buttons with UCAGG pixel logos linking to subdomains
Loading