Skip to content

Commit c1f818a

Browse files
authored
Merge pull request #166 from felixs-alt/master
Galleries
2 parents 520e0a7 + ccba21b commit c1f818a

File tree

8 files changed

+606
-224
lines changed

8 files changed

+606
-224
lines changed

.github/workflows/static.yml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Simple workflow for deploying static content to GitHub Pages
2+
name: Deploy static content to Pages
3+
4+
on:
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches: ["master"]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20+
concurrency:
21+
group: "pages"
22+
cancel-in-progress: false
23+
24+
jobs:
25+
# Single deploy job since we're just deploying
26+
deploy:
27+
environment:
28+
name: github-pages
29+
url: ${{ steps.deployment.outputs.page_url }}
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v4
34+
- name: Setup Pages
35+
uses: actions/configure-pages@v5
36+
- name: Upload artifact
37+
uses: actions/upload-pages-artifact@v3
38+
with:
39+
# Upload entire repository
40+
path: '.'
41+
- name: Deploy to GitHub Pages
42+
id: deployment
43+
uses: actions/deploy-pages@v4

CNAME

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
gh.redditp.com
1+
fgtesting.mooo.com

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ http://redditp.com
1414
* u - open user slideshow in new tab
1515
* f - toggle full screen mode
1616
* m - toggle sound
17+
* g - skip gallery
1718
* Arrow keys, pgup/pgdown, spacebar change slides
1819
* Swipe gestures on phones
1920

css/style.css

+4-6
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,14 @@ a:hover {
4444
.over18 {
4545
color: #f99;
4646
}
47-
47+
.galleryCount {
48+
color: rgb(158, 217, 8);
49+
}
4850
.navbox ul li a {
4951
cursor:pointer;
5052

5153
}
52-
.numberButtonList ul li a:hover { background:#888; color:#000; border: 0; }
53-
.numberButtonList ul li a.active:hover {
54-
color: #00f;
55-
cursor: default;
56-
}
54+
.numberButtonList ul li a:hover { background:#888; border: 0; }
5755
.numberButtonList ul li a.active {
5856
color: #00AAAA;
5957
-moz-box-shadow: 2px 2px 3px #eee;

index.html

+5-2
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,12 @@
199199
<h2 id='navboxTitle'>
200200
<noscript>Javascript is required for redditp to work :(</noscript>
201201
</h2>
202-
<h3><a id='navboxSubreddit' href="http://www.reddit.com">
202+
<h3><b id='navboxSubreddit' href="http://www.reddit.com">
203203
<noscript>Javascript is required for redditp to work :(</noscript>
204-
</a></h3>
204+
</b>
205+
<a id='navboxGallery' style='padding-left:10px;'>
206+
</a>
207+
</h3>
205208
</div>
206209

207210
<div id="recommend" style="display:none; text-align: center; margin: 10px; color: rgb(170, 170, 170);">

0 commit comments

Comments
 (0)