Skip to content
Merged
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
97 changes: 49 additions & 48 deletions gallery-mobile.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
body {
margin: 0;
padding: 0;
background: #000000;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background: var(--color-background);
}

.gallery-mobile {
Expand All @@ -31,7 +30,7 @@
top: 0;
left: 0;
right: 0;
background: #000000;
background: var(--color-background);
z-index: 100;
padding: 15px 0 0;
}
Expand All @@ -44,39 +43,39 @@
width: 220px;
height: auto;
margin-left: calc(50% - 220px/2 - 61.5px);
font-family: Georgia, "Times New Roman", serif;
font-family: var(--font-heading);
font-style: normal;
font-weight: 600;
font-size: 24px;
line-height: 32px;
color: #FFFFFF;
margin-bottom: 5px; /* Reduced spacing */
font-size: 1.5rem;
line-height: 2rem;
color: var(--color-text);
margin-bottom: 0.3125rem; /* 5px in rem */
}

.site-subtitle {
width: 220px;
height: auto;
margin-left: calc(50% - 220px/2 - 61.5px);
margin-top: 0; /* Reduced spacing */
font-family: Georgia, "Times New Roman", serif;
margin-top: 0;
font-family: var(--font-heading);
font-style: normal;
font-weight: 600;
font-size: 16px;
line-height: 24px;
color: #FFFFFF;
font-size: 1rem;
line-height: 1.5rem;
color: var(--color-text);
}

.divider {
width: 344px;
height: 0px;
margin: 10px auto; /* Reduced spacing */
border: 0.5px solid #444444;
margin: 0.625rem auto; /* 10px in rem */
border: 0.5px solid var(--color-divider);
}

.tag-section {
display: flex;
justify-content: center;
margin: 10px 16px; /* Reduced spacing */
margin: 0.625rem 1rem; /* 10px 16px in rem */
}

.tag-filter {
Expand All @@ -90,56 +89,57 @@

.tag-item {
cursor: pointer;
font-size: 16px;
line-height: 24px;
color: #FFFFFF;
font-family: var(--font-heading);
font-size: 1rem;
line-height: 1.5rem;
color: var(--color-text);
transition: color 0.3s ease;
text-align: center;
}

.tag-item.active {
color: #DAA520;
color: var(--color-accent);
}

/* Selected tag section */
.selected-section {
padding: 0;
margin-left: calc(50% - 220px/2 - 61.5px); /* Match title positioning */
width: 220px; /* Match title width */
background: #000000;
margin-top: 20px;
background: var(--color-background);
margin-top: 1.25rem; /* 20px in rem */
position: relative;
}

.tag-selected {
width: 271px;
height: 28px;
font-family: 'Zen Old Mincho', serif;
font-family: var(--font-heading);
font-style: normal;
font-weight: 600;
font-size: 24px;
line-height: 28px;
color: #FFFFFF;
margin-bottom: 10px;
font-size: 1.5rem;
line-height: 1.75rem;
color: var(--color-text);
margin-bottom: 0.625rem;
}

.results-count {
width: 101px;
height: 24px;
margin-top: 5px;
font-family: 'Zen Old Mincho', serif;
margin-top: 0.3125rem; /* 5px in rem */
font-family: var(--font-heading);
font-style: normal;
font-weight: 600;
font-size: 16px;
line-height: 24px;
color: #FFFFFF;
font-size: 1rem;
line-height: 1.5rem;
color: var(--color-text);
}

.content-divider {
width: 344px;
height: 0px;
margin: 10px auto; /* Reduced spacing */
border: 0.5px solid #444444;
margin: 0.625rem auto; /* 10px in rem */
border: 0.5px solid var(--color-divider);
}

/* Content area with appropriate padding to prevent overlap with fixed header */
Expand All @@ -156,22 +156,23 @@
}

.footer {
margin-top: 40px;
padding: 0 16px 20px;
margin-top: 2.5rem; /* 40px in rem */
padding: 0 1rem 1.25rem; /* 0 16px 20px in rem */
}

.disclaimer {
font-size: 10px;
color: #CCCCCC;
font-family: var(--font-heading);
font-size: 0.625rem; /* 10px in rem */
color: var(--color-text);
line-height: 1.4;
margin-bottom: 20px;
margin-bottom: 1.25rem; /* 20px in rem */
text-align: left;
}

.footer-logos {
display: flex;
flex-direction: column;
gap: 15px;
gap: 0.9375rem; /* 15px in rem */
}

.capture-logo-container,
Expand All @@ -190,9 +191,9 @@
}

.copyright {
font-size: 12px;
color: #CCCCCC;
margin-top: 10px;
font-size: 0.75rem; /* 12px in rem */
color: var(--color-text);
margin-top: 0.625rem; /* 10px in rem */
text-align: center;
}

Expand All @@ -210,7 +211,7 @@
width: 50px;
height: 50px;
border: 4px solid rgba(255, 255, 255, 0.3);
border-top: 4px solid #DAA520;
border-top: 4px solid var(--color-accent);
border-radius: 50%;
animation: spin 1s linear infinite;
margin-bottom: 1rem;
Expand All @@ -225,8 +226,8 @@
.error-message {
padding: 2rem;
text-align: center;
color: #f8d7da;
background-color: rgba(220, 53, 69, 0.1);
color: var(--color-error);
background-color: var(--color-error-bg);
border: 1px solid rgba(220, 53, 69, 0.3);
border-radius: 5px;
margin: 2rem 0;
Expand All @@ -235,7 +236,7 @@
.no-results {
padding: 3rem 0;
text-align: center;
color: #ddd;
color: var(--color-light-gray);
font-size: 1.2rem;
}
</style>
Expand All @@ -251,7 +252,7 @@
<!-- Header with title -->
<div class="header">
<a href="index.html" class="logo-home">
<div class="site-title">孫中山逝世<span class="gold-text">100</span>週年</div>
<div class="site-title">孫中山逝世百週年</div>
<div class="site-subtitle">AI 人工智慧歷史資料集</div>
</a>
</div>
Expand Down
21 changes: 11 additions & 10 deletions gallery.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
padding: 0.5rem 0;
position: relative;
font-size: 0.95rem;
font-family: var(--font-heading);
}

.tag-item::after {
Expand All @@ -26,7 +27,7 @@
left: 0;
width: 0;
height: 2px;
background-color: #DAA520;
background-color: var(--color-accent);
transition: width 0.3s ease;
}

Expand All @@ -36,7 +37,7 @@
}

.tag-item.active {
color: #DAA520;
color: var(--color-accent);
font-weight: 500;
}

Expand Down Expand Up @@ -87,9 +88,9 @@ media-viewer {
/* Customize Capture Eye modal appearance */
capture-eye::part(modal) {
max-width: 90vw;
background-color: #191919;
background-color: var(--color-modal-bg);
border-radius: 8px;
color: #fff;
color: var(--color-text);
}

capture-eye::part(overlay) {
Expand All @@ -110,7 +111,7 @@ capture-eye::part(overlay) {
width: 50px;
height: 50px;
border: 4px solid rgba(255, 255, 255, 0.3);
border-top: 4px solid #DAA520;
border-top: 4px solid var(--color-accent);
border-radius: 50%;
animation: spin 1s linear infinite;
margin-bottom: 1rem;
Expand All @@ -125,8 +126,8 @@ capture-eye::part(overlay) {
.error-message {
padding: 2rem;
text-align: center;
color: #f8d7da;
background-color: rgba(220, 53, 69, 0.1);
color: var(--color-error);
background-color: var(--color-error-bg);
border: 1px solid rgba(220, 53, 69, 0.3);
border-radius: 5px;
margin: 2rem 0;
Expand All @@ -135,7 +136,7 @@ capture-eye::part(overlay) {
.no-results {
padding: 3rem 0;
text-align: center;
color: #ddd;
color: var(--color-light-gray);
font-size: 1.2rem;
}

Expand All @@ -147,7 +148,7 @@ capture-eye::part(overlay) {
flex-direction: column;
align-items: center;
justify-content: center;
background-color: #1a1a1a;
background-color: var(--color-modal-bg);
padding: 1rem;
box-sizing: border-box;
}
Expand Down Expand Up @@ -177,5 +178,5 @@ capture-eye::part(overlay) {
.file-type {
font-size: 0.8rem;
opacity: 0.7;
color: #ddd;
color: var(--color-light-gray);
}
Loading