Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
50d87b5
Take out deprecated/unnecessary UX part on browse-by pages
JohannesSeikowsky Jul 9, 2025
734f86b
Update make-by-pages.php
JohannesSeikowsky Jul 11, 2025
467077c
Merge pull request #142 from gutenbergtools/JohannesSeikowsky-patch-18
eshellman Jul 24, 2025
88a29f8
Upgrade Hompage
JohannesSeikowsky Jul 25, 2025
883e8ab
Create homepage.css
JohannesSeikowsky Jul 25, 2025
5512315
Update style2.css
JohannesSeikowsky Jul 25, 2025
3eaf330
Update categories.md
JohannesSeikowsky Jul 25, 2025
25ff1c9
Update index.md
JohannesSeikowsky Jul 25, 2025
718c906
Update index.md
JohannesSeikowsky Jul 25, 2025
8d2b678
Merge pull request #155 from gutenbergtools/JohannesSeikowsky-patch-19
eshellman Jul 28, 2025
057158f
implement popular covers
eshellman Jul 28, 2025
034b01f
fix the build
eshellman Jul 28, 2025
a51a957
Update index.md
JohannesSeikowsky Jul 29, 2025
cb92dc8
Update homepage.css
JohannesSeikowsky Jul 29, 2025
815ea62
Merge pull request #160 from gutenbergtools/JohannesSeikowsky-patch-20
eshellman Jul 29, 2025
a065281
Update index.md
JohannesSeikowsky Jul 30, 2025
57f602c
Update style2.css
JohannesSeikowsky Jul 30, 2025
a2a489f
Merge pull request #163 from gutenbergtools/JohannesSeikowsky-patch-21
eshellman Aug 1, 2025
4ce770a
Merge branch 'master' into dev
eshellman Aug 1, 2025
ee86bd4
Fix href of "Newest Releases"
JohannesSeikowsky Aug 4, 2025
e3e2ea2
Merge pull request #166 from gutenbergtools/JohannesSeikowsky-patch-22
eshellman Aug 5, 2025
cd3451a
sync with proposed autocat3
eshellman Aug 6, 2025
d01a7a7
add history link to homepage
eshellman Aug 6, 2025
a3c47ba
Merge pull request #167 from gutenbergtools/catalogs_languages
eshellman Aug 6, 2025
45397fb
copy/paste current lang counts
eshellman Aug 7, 2025
a692d2f
bump style2 version
eshellman Aug 7, 2025
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
1 change: 1 addition & 0 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- name: Populate latest_covers
run: |
cp "./_includes/latest_covers_test.html" "./_includes/latest_covers.html"
cp "./_includes/latest_covers_test.html" "./_includes/popular_covers.html"

- name: Install Jekyll
run: |
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ vendor
# generated files
_includes/latest_covers.html
_includes/random_covers.html
_includes/popular_covers.html



Expand Down
2 changes: 1 addition & 1 deletion _includes/head2.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

<link rel="stylesheet" href="/gutenberg/style2.css?v=1.5">
<link rel="stylesheet" href="/gutenberg/style2.css?v=1.6">
<link rel="stylesheet" href="/gutenberg/collapsible.css?1.3">
<link rel="stylesheet" href="/gutenberg/new_nav.css?v=1.6">
<link rel="stylesheet" href="/gutenberg/pg-desktop-one.css?v=1.1">
Expand Down
12 changes: 0 additions & 12 deletions _includes/latest_books_template.html

This file was deleted.

12 changes: 3 additions & 9 deletions catalog/admin/make-by-pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,9 @@ function _navbarcategories ($what, $dir) {

function navbar () {
global $dir_authors, $dir_titles, $dir_langs, $dir_loccs, $dir_categories, $dir_recent, $lang_thres;
$nav = "<div class=\"pgdbnavbar\">\n";
$nav .= _navbar ("Authors", $dir_authors);
$nav .= _navbar ("Titles", $dir_titles);
$nav .= _navbarlangs ("Languages with more than $lang_thres books", "> $lang_thres", $dir_langs);
$nav .= _navbarlangs ("Languages with up to $lang_thres books", "<= $lang_thres", $dir_langs);
// $nav .= _navbarloccs ("LoC Class", $dir_loccs);
$nav .= _navbarcategories ("Special Categories", $dir_categories);
$nav .= _navbarrecent ("Recent", $dir_recent);
$nav .= "</div>\n\n";
$nav = "<div class=\"pgdbnavbar\">\n";
$nav .= _navbarrecent ("Recent", $dir_recent);
$nav .= "</div>\n\n";
return $nav;
}

Expand Down
211 changes: 211 additions & 0 deletions gutenberg/homepage.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
/* ---------- Base Styles ---------- */
body {
line-height: 1.6;
color: #333;
}

/* Headline & Slogan */
#slogan { font-size: 32px; }
#sub-slogan { font-size: 18px; }

/* Slogan responsive line-height */
@media (max-width: 960px) {
#slogan { line-height: 1.2; }
}

/* Utility */
.box_shadow {
border: none;
border-radius: 10px;
display: inline-block;
min-width: 100%;
}

/* Typography */
i { font-style: normal; font-size: 1.25rem; }

p i + a {
font-size: 0.85rem;
padding: 2px 12px;
border-radius: 4px;
}

/* Links */
a {
color: #007bff;
text-decoration: none;
transition: color 0.15s ease-in-out,
transform 0.2s ease-in-out,
box-shadow 0.2s ease-in-out;
}

a:hover { color: #0056b3; }

h1, h2, h3, h4, h5, h6 {
font-weight: 500;
color: #212529;
}

/* ---------- Category Grid ---------- */
.category-grid {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 30px;
list-style: none;
padding: 0;
margin: 55px 0px 65px 0px;
}

.category-grid a {
flex: 0 0 280px;
display: flex;
align-items: center;
gap: 12px;
padding: 20px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
border: 1px solid #e9ecef;
border-radius: 12px;
color: #495057;
font-weight: 500;
font-size: 1.1rem;
text-decoration: none !important;
transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.category-grid a:hover {
background: #7EBED0;
text-decoration: none !important;
transform: translateY(-4px);
}

.category-grid a:before {
content: attr(data-emoji);
font-size: 1.5rem;
filter: grayscale(0.3);
transition: all 0.3s ease;
}

.category-grid a:hover:before {
filter: grayscale(0);
transform: scale(1.1);
}

/* Category Grid – Responsive */
@media (max-width: 768px) {
.category-grid {
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 15px;
}
}

@media (max-width: 480px) {
.category-grid { grid-template-columns: 1fr; }
}

/* ---------- Info Boxes ---------- */
.info-box-container {
display: flex;
gap: 30px;
margin: 40px 0;
}

.info-box {
flex: 1;
background-color: #F0F0F0;
border-radius: 10px;
padding: 20px 20px;
box-shadow: 0 2px 4px rgba(0,0,0,0.04);
transition: transform 0.2s ease-in-out,
box-shadow 0.2s ease-in-out;
}

.info-box:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.info-box h3 {
color: #212529;
margin: 0 0 15px 0;
font-size: 1.35rem;
}

.info-box ul {
list-style: none;
padding: 0;
margin: 0;
}

.info-box ul li { margin-bottom: 14px; line-height: 1.5; }

.info-box .highlight-text {
color: #212529;
margin-bottom: 10px;
font-size: 0.95rem;
}

/* Info Boxes – Responsive */
@media (max-width: 768px) {
.info-box-container { flex-direction: column; }
.info-box { margin-bottom: 15px; }
}

/* ---------- Latest Releases & Random Selection ---------- */
.lib.latest {
display: flex;
gap: 28px;
padding: 0px 0px 50px 0px;
}

.lib.latest .cover_image {
flex-shrink: 0;
transition: transform 0.2s ease-in-out;
}

.lib.latest .cover_image:hover { transform: translateY(-4px); }

.lib.latest .cover_img img {
width: 120px;
height: 180px;
border-radius: 6px;
box-shadow: none;
transition: all 0.2s ease-in-out;
}

.lib.latest .cover_img img:hover {
box-shadow: none;
}

.lib.latest .cover_title { margin-top: 12px; max-width: 140px; }

.lib.latest .cover_title h5 {
font-size: 0.85rem;
line-height: 1.3;
margin: 0;
color: #495057;
width: 120px;
}

/* ---------- 'Find more' link ---------- */
.box_shadow p a {
background-color: #C7DDE3;
padding: 0 12px;
border-radius: 3px;
}

.box_shadow p a:hover { filter: brightness(1.1); }

/* Responsive width for cover carousels */
/* Library wrapper */
.library {
overflow-x: auto;
position: relative;
}

/* Box Shadow heading label */
.box_shadow label { font-size: 1.35rem; }
25 changes: 25 additions & 0 deletions gutenberg/style2.css
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,31 @@ ul {
margin-left: -1em;
}

.bookshelves h2:focus { outline: none; }

/* highlights the relevant header if a user arrives via a "main categories" link on the homepage */
@media only screen and (min-width: 751px) {
.bookshelves h2:target,
.bookshelves h2:focus {
background: #C7DDE3;
padding: 0.7em 0.5em;
animation: flash 1.5s ease-in-out 3;
font-size: 1.5em;
width: 80%;
display: inline-block;
box-sizing: border-box;
}
}

@keyframes flash {
0%, 100% { background: #C7DDE3; }
50% { background:#F0F0F0}
}

.bookshelves h2 {
scroll-margin-top: 10rem; /* keeps heading out from under fixed header */
}

.page_content .bookshelves h2 {
border-bottom: 0px none #ffffff;
}
Expand Down
Loading