From 711f894e4b9d2a9335c78a8182e9769fce4b1ba2 Mon Sep 17 00:00:00 2001 From: Mithun Gowda B Date: Tue, 22 Jul 2025 08:24:52 +0530 Subject: [PATCH 1/3] Update stylesheet.css --- stylesheet.css | 477 ++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 430 insertions(+), 47 deletions(-) diff --git a/stylesheet.css b/stylesheet.css index 7ed4aeba..fe53b7ed 100644 --- a/stylesheet.css +++ b/stylesheet.css @@ -1,77 +1,460 @@ -@import url('https://fonts.googleapis.com/css?family=Roboto:400,400i,700'); +@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); + +/* Reset and base styles */ +* { + box-sizing: border-box; +} + body { - font-family: 'Roboto', Arial, sans-serif; + font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; + line-height: 1.6; + color: #2c3e50; + background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); + margin: 0; + padding: 20px; + min-height: 100vh; } -.paper_title { - font-style: italic; + +/* Container */ +.container { + max-width: 1200px; + margin: 0 auto; + background: white; + border-radius: 16px; + box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1); + overflow: hidden; +} + +/* Header */ +h1 { + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + color: white; + text-align: center; + padding: 40px 20px; + margin: 0; + font-weight: 600; + font-size: clamp(1.8rem, 4vw, 2.5rem); + text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); +} + +h1 img { + max-width: 40px; + height: auto; + margin: 0 8px; + vertical-align: middle; + filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)); +} + +/* Main content */ +.content { + padding: 40px; +} + +h2 { + color: #2c3e50; + font-size: 1.8rem; + font-weight: 600; + margin: 0 0 30px 0; + padding-bottom: 10px; + border-bottom: 3px solid #667eea; + position: relative; +} + +h2::after { + content: ''; + position: absolute; + bottom: -3px; + left: 0; + width: 60px; + height: 3px; + background: #764ba2; + border-radius: 2px; +} + +/* Articles */ +article { + background: white; + border: 1px solid #e1e8ed; + border-radius: 12px; + margin-bottom: 24px; + padding: 24px; + transition: all 0.3s ease; + position: relative; + overflow: hidden; +} + +article::before { + content: ''; + position: absolute; + top: 0; + left: 0; + width: 4px; + height: 100%; + background: linear-gradient(135deg, #667eea, #764ba2); + transform: scaleY(0); + transition: transform 0.3s ease; +} + +article:hover { + transform: translateY(-4px); + box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15); + border-color: #667eea; } + +article:hover::before { + transform: scaleY(1); +} + +/* Paper information */ .paper_date { - font-weight: bold; + display: inline-block; + background: linear-gradient(135deg, #667eea, #764ba2); + color: white; + padding: 6px 12px; + border-radius: 20px; + font-size: 0.85rem; + font-weight: 500; + margin-bottom: 12px; + box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3); +} + +.paper_title { + font-size: 1.1rem; + font-weight: 600; + color: #2c3e50; + margin: 12px 0; + line-height: 1.4; + display: block; +} + +/* Links */ +article ul { + list-style: none; + padding: 0; + margin: 16px 0 0 0; + display: flex; + flex-wrap: wrap; + gap: 12px; } + +article li { + margin: 0; +} + +article a { + display: inline-flex; + align-items: center; + padding: 8px 16px; + background: #f8fafc; + color: #667eea; + text-decoration: none; + border-radius: 8px; + font-weight: 500; + font-size: 0.9rem; + border: 1px solid #e2e8f0; + transition: all 0.2s ease; + position: relative; + overflow: hidden; +} + +article a::before { + content: ''; + position: absolute; + top: 0; + left: -100%; + width: 100%; + height: 100%; + background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent); + transition: left 0.5s ease; +} + +article a:hover { + background: #667eea; + color: white; + border-color: #667eea; + transform: translateY(-2px); + box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3); +} + +article a:hover::before { + left: 100%; +} + +/* Table of contents */ #toc_container { - background: #f9f9f9 none repeat scroll 0 0; - border: 1px solid #aaa; - display: table; - font-size: 95%; - padding-top: 20px; - padding-left: 20px; - padding-right: 20px; - padding-bottom: 8px; - width: auto; + background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); + border: 1px solid #cbd5e0; + border-radius: 12px; + padding: 24px; + margin: 24px 0; + box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05); } + .toc_title { - font-weight: 700; - font-size: 18pt; + font-weight: 600; + font-size: 1.3rem; + color: #2c3e50; + margin-bottom: 16px; text-align: left; } -#toc_container ul { - list-style: outside none none !important; margin-left: -40px; + +#toc_container ul { + list-style: none; + margin: 0; + padding: 0; } -.h2_explainer { - margin-bottom: 2px; + +#toc_container li { + padding: 6px 0; } -h3 { - margin-bottom: 2px; + +#toc_container a { + color: #667eea; + text-decoration: none; + font-weight: 500; + transition: color 0.2s ease; } -.h3_explainer { - padding-bottom: 10px; - padding-top: 5px; + +#toc_container a:hover { + color: #764ba2; } -.transcript { - font-style: italic; + +/* Utility classes */ +.h2_explainer, .h3_explainer { + color: #64748b; + font-size: 0.95rem; + margin: 8px 0; } -.text_e2e { + +.transcript, .text_e2e, .text_gst { font-style: italic; - color: #666666; - font-size: 11pt; + color: #64748b; + font-size: 0.9rem; + margin: 12px 0; } -/* padding causes text to overlap buttons on e2e page */ -.text_gst { - font-style: italic; - color: #666666; - font-size: 11pt; - padding-bottom: 10px; - padding-top: 15px; +/* Tables */ +table { + width: 100%; + border-collapse: collapse; + margin: 20px 0; + background: white; + border-radius: 8px; + overflow: hidden; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); +} + +td { + padding: 12px 16px; + border-bottom: 1px solid #e2e8f0; } -/* for e2e page */ td.reference { - text-wrap: overflow; - min-width: 500px; + min-width: 300px; max-width: 500px; + word-wrap: break-word; } -td.reference button { - margin-left: 10px; -} + td.algorithm { text-align: right; + font-weight: 500; +} + +td.synthesis { + text-align: center; + font-weight: 500; } + +td.reference button { + margin-left: 8px; + padding: 4px 12px; + background: #667eea; + color: white; + border: none; + border-radius: 6px; + font-size: 0.85rem; + cursor: pointer; + transition: background 0.2s ease; +} + +td.reference button:hover { + background: #764ba2; +} + +/* Player */ #player { position: fixed; - top: 0; - right: 0; + top: 20px; + right: 20px; + background: white; + padding: 12px; + border-radius: 8px; + box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); + z-index: 1000; } -td.synthesis { - text-align:center; + +/* Responsive design */ +@media (max-width: 768px) { + body { + padding: 10px; + } + + .content { + padding: 20px; + } + + h1 { + padding: 24px 16px; + font-size: 1.6rem; + } + + h1 img { + max-width: 30px; + margin: 0 4px; + } + + h2 { + font-size: 1.4rem; + } + + article { + padding: 16px; + margin-bottom: 16px; + } + + article ul { + flex-direction: column; + gap: 8px; + } + + article a { + justify-content: center; + padding: 12px 16px; + } + + .paper_title { + font-size: 1rem; + } + + #toc_container { + padding: 16px; + margin: 16px 0; + } + + .toc_title { + font-size: 1.1rem; + } + + td.reference { + min-width: auto; + max-width: none; + } + + #player { + position: relative; + top: auto; + right: auto; + margin: 16px 0; + } +} + +@media (max-width: 480px) { + h1 { + font-size: 1.4rem; + padding: 20px 12px; + } + + .content { + padding: 16px; + } + + article { + padding: 12px; + } + + .paper_date { + font-size: 0.8rem; + padding: 4px 10px; + } + + .paper_title { + font-size: 0.95rem; + } + + article a { + font-size: 0.85rem; + padding: 10px 14px; + } +} + +/* Dark mode support */ +@media (prefers-color-scheme: dark) { + body { + background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); + color: #e2e8f0; + } + + .container { + background: #2d3748; + } + + article { + background: #2d3748; + border-color: #4a5568; + } + + article:hover { + border-color: #667eea; + } + + .paper_title, h2 { + color: #e2e8f0; + } + + article a { + background: #4a5568; + color: #cbd5e0; + border-color: #4a5568; + } + + #toc_container { + background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%); + border-color: #4a5568; + } + + table { + background: #2d3748; + } + + td { + border-bottom-color: #4a5568; + } + + #player { + background: #2d3748; + } +} + +/* Animations */ +@keyframes fadeInUp { + from { + opacity: 0; + transform: translateY(30px); + } + to { + opacity: 1; + transform: translateY(0); + } } + +article { + animation: fadeInUp 0.6s ease forwards; +} + +article:nth-child(odd) { + animation-delay: 0.1s; +} + +article:nth-child(even) { + animation-delay: 0.2s; + } From 99c2cac72603abb986a9a2b91a7a8006655a0567 Mon Sep 17 00:00:00 2001 From: Mithun Gowda B Date: Tue, 22 Jul 2025 08:25:38 +0530 Subject: [PATCH 2/3] Create static.yml --- .github/workflows/static.yml | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/static.yml diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml new file mode 100644 index 00000000..0ba82305 --- /dev/null +++ b/.github/workflows/static.yml @@ -0,0 +1,43 @@ +# Simple workflow for deploying static content to GitHub Pages +name: Deploy static content to Pages + +on: + # Runs on pushes targeting the default branch + push: + branches: ["master"] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + # Single deploy job since we're just deploying + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Pages + uses: actions/configure-pages@v5 + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + # Upload entire repository + path: '.' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 From bddc6c1765d8b2230b12c28b0b732383097fc725 Mon Sep 17 00:00:00 2001 From: Mithun Gowda B Date: Tue, 12 Aug 2025 09:27:34 +0530 Subject: [PATCH 3/3] Update stylesheet.css --- stylesheet.css | 486 ++++++++++--------------------------------------- 1 file changed, 99 insertions(+), 387 deletions(-) diff --git a/stylesheet.css b/stylesheet.css index fe53b7ed..6e69146a 100644 --- a/stylesheet.css +++ b/stylesheet.css @@ -1,460 +1,172 @@ -@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); - -/* Reset and base styles */ -* { - box-sizing: border-box; -} +/* 90s-era Retro Stylesheet */ +/* Base styles */ body { - font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; - line-height: 1.6; - color: #2c3e50; - background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); + font-family: "Times New Roman", Times, serif; + line-height: 1.4; + color: #000000; + background-color: #C0C0C0; /* Classic grey background */ margin: 0; - padding: 20px; - min-height: 100vh; + padding: 10px; +} + +/* Links */ +a { + color: #0000FF; /* Bright blue links */ + text-decoration: underline; +} + +a:visited { + color: #800080; /* Purple visited links */ } -/* Container */ -.container { - max-width: 1200px; - margin: 0 auto; - background: white; - border-radius: 16px; - box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1); - overflow: hidden; +a:hover { + color: #FF0000; /* Red hover for links */ + text-decoration: none; } /* Header */ h1 { - background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); - color: white; + font-size: 2.5em; text-align: center; - padding: 40px 20px; - margin: 0; - font-weight: 600; - font-size: clamp(1.8rem, 4vw, 2.5rem); - text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); + border-bottom: 2px solid #000000; + padding-bottom: 10px; + margin-bottom: 20px; } h1 img { - max-width: 40px; - height: auto; - margin: 0 8px; + width: 40px; /* simple fixed size */ + height: 40px; vertical-align: middle; - filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)); -} - -/* Main content */ -.content { - padding: 40px; + margin: 0 5px; + display: inline; /* Keep images inline for header */ } h2 { - color: #2c3e50; - font-size: 1.8rem; - font-weight: 600; - margin: 0 0 30px 0; - padding-bottom: 10px; - border-bottom: 3px solid #667eea; - position: relative; + font-size: 2em; + border-bottom: 1px solid #000000; + padding-bottom: 5px; + margin-top: 30px; } -h2::after { - content: ''; - position: absolute; - bottom: -3px; - left: 0; - width: 60px; - height: 3px; - background: #764ba2; - border-radius: 2px; +h3 { + font-size: 1.5em; } -/* Articles */ +/* Article layout */ article { - background: white; - border: 1px solid #e1e8ed; - border-radius: 12px; - margin-bottom: 24px; - padding: 24px; - transition: all 0.3s ease; - position: relative; - overflow: hidden; -} - -article::before { - content: ''; - position: absolute; - top: 0; - left: 0; - width: 4px; - height: 100%; - background: linear-gradient(135deg, #667eea, #764ba2); - transform: scaleY(0); - transition: transform 0.3s ease; -} - -article:hover { - transform: translateY(-4px); - box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15); - border-color: #667eea; -} - -article:hover::before { - transform: scaleY(1); + border: 2px outset #808080; /* Classic 3D border */ + background-color: #FFFFFF; + padding: 15px; + margin-bottom: 20px; } -/* Paper information */ .paper_date { - display: inline-block; - background: linear-gradient(135deg, #667eea, #764ba2); - color: white; - padding: 6px 12px; - border-radius: 20px; - font-size: 0.85rem; - font-weight: 500; - margin-bottom: 12px; - box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3); + font-weight: bold; + font-style: italic; + color: #333333; } .paper_title { - font-size: 1.1rem; - font-weight: 600; - color: #2c3e50; - margin: 12px 0; - line-height: 1.4; + font-size: 1.2em; + font-weight: bold; display: block; + margin: 5px 0; } -/* Links */ article ul { - list-style: none; - padding: 0; - margin: 16px 0 0 0; - display: flex; - flex-wrap: wrap; - gap: 12px; + list-style-type: disc; + padding-left: 40px; /* Standard indent for lists */ + margin: 10px 0 0 0; } article li { - margin: 0; -} - -article a { - display: inline-flex; - align-items: center; - padding: 8px 16px; - background: #f8fafc; - color: #667eea; - text-decoration: none; - border-radius: 8px; - font-weight: 500; - font-size: 0.9rem; - border: 1px solid #e2e8f0; - transition: all 0.2s ease; - position: relative; - overflow: hidden; -} - -article a::before { - content: ''; - position: absolute; - top: 0; - left: -100%; - width: 100%; - height: 100%; - background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent); - transition: left 0.5s ease; -} - -article a:hover { - background: #667eea; - color: white; - border-color: #667eea; - transform: translateY(-2px); - box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3); -} - -article a:hover::before { - left: 100%; -} - -/* Table of contents */ -#toc_container { - background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); - border: 1px solid #cbd5e0; - border-radius: 12px; - padding: 24px; - margin: 24px 0; - box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05); -} - -.toc_title { - font-weight: 600; - font-size: 1.3rem; - color: #2c3e50; - margin-bottom: 16px; - text-align: left; -} - -#toc_container ul { - list-style: none; - margin: 0; - padding: 0; -} - -#toc_container li { - padding: 6px 0; -} - -#toc_container a { - color: #667eea; - text-decoration: none; - font-weight: 500; - transition: color 0.2s ease; -} - -#toc_container a:hover { - color: #764ba2; -} - -/* Utility classes */ -.h2_explainer, .h3_explainer { - color: #64748b; - font-size: 0.95rem; - margin: 8px 0; -} - -.transcript, .text_e2e, .text_gst { - font-style: italic; - color: #64748b; - font-size: 0.9rem; - margin: 12px 0; + margin-bottom: 5px; } /* Tables */ table { width: 100%; + border: 2px solid #000000; border-collapse: collapse; - margin: 20px 0; - background: white; - border-radius: 8px; - overflow: hidden; - box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); + margin: 15px 0; } -td { - padding: 12px 16px; - border-bottom: 1px solid #e2e8f0; -} - -td.reference { - min-width: 300px; - max-width: 500px; - word-wrap: break-word; +td, th { + border: 1px solid #000000; + padding: 8px; + text-align: left; } -td.algorithm { - text-align: right; - font-weight: 500; +td.algorithm, td.synthesis { + text-align: left; /* override original alignment */ } -td.synthesis { - text-align: center; - font-weight: 500; +/* Audio player */ +audio { + border: 2px outset #808080; } -td.reference button { - margin-left: 8px; - padding: 4px 12px; - background: #667eea; - color: white; - border: none; - border-radius: 6px; - font-size: 0.85rem; - cursor: pointer; - transition: background 0.2s ease; +/* Player - remove fixed positioning */ +#player { + display: none; /* The floating player is too modern */ } -td.reference button:hover { - background: #764ba2; +/* Responsive Images */ +img { + max-width: 100%; + height: auto; } -/* Player */ -#player { - position: fixed; - top: 20px; - right: 20px; - background: white; - padding: 12px; - border-radius: 8px; - box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); - z-index: 1000; +/* Utility classes */ +.transcript, .text_e2e, .text_gst, .h2_explainer, .h3_explainer { + font-style: italic; + color: #333333; } -/* Responsive design */ +/* Responsive Styles */ @media (max-width: 768px) { body { - padding: 10px; - } - - .content { - padding: 20px; + padding: 5px; } - + h1 { - padding: 24px 16px; - font-size: 1.6rem; - } - - h1 img { - max-width: 30px; - margin: 0 4px; + font-size: 2em; } - + h2 { - font-size: 1.4rem; - } - - article { - padding: 16px; - margin-bottom: 16px; - } - - article ul { - flex-direction: column; - gap: 8px; - } - - article a { - justify-content: center; - padding: 12px 16px; - } - - .paper_title { - font-size: 1rem; - } - - #toc_container { - padding: 16px; - margin: 16px 0; - } - - .toc_title { - font-size: 1.1rem; - } - - td.reference { - min-width: auto; - max-width: none; - } - - #player { - position: relative; - top: auto; - right: auto; - margin: 16px 0; + font-size: 1.5em; } -} -@media (max-width: 480px) { - h1 { - font-size: 1.4rem; - padding: 20px 12px; - } - - .content { - padding: 16px; - } - - article { - padding: 12px; - } - - .paper_date { - font-size: 0.8rem; - padding: 4px 10px; - } - - .paper_title { - font-size: 0.95rem; - } - - article a { - font-size: 0.85rem; - padding: 10px 14px; + /* Responsive tables */ + table, + tbody, + tr, + td { + display: block; + width: 100%; } -} -/* Dark mode support */ -@media (prefers-color-scheme: dark) { - body { - background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); - color: #e2e8f0; - } - - .container { - background: #2d3748; - } - - article { - background: #2d3748; - border-color: #4a5568; - } - - article:hover { - border-color: #667eea; - } - - .paper_title, h2 { - color: #e2e8f0; + table tr { + margin-bottom: 15px; + border: none; /* Remove row borders in mobile view */ } - - article a { - background: #4a5568; - color: #cbd5e0; - border-color: #4a5568; - } - - #toc_container { - background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%); - border-color: #4a5568; - } - - table { - background: #2d3748; + + table td { + text-align: left !important; + border: 1px solid #000000; /* Add borders to cells */ } - td { - border-bottom-color: #4a5568; + table td:first-child { + border-top: 2px solid #000000; } - #player { - background: #2d3748; + table td:last-child { + border-bottom: 2px solid #000000; } -} -/* Animations */ -@keyframes fadeInUp { - from { - opacity: 0; - transform: translateY(30px); + table audio { + width: 100%; } - to { - opacity: 1; - transform: translateY(0); - } -} - -article { - animation: fadeInUp 0.6s ease forwards; -} - -article:nth-child(odd) { - animation-delay: 0.1s; -} - -article:nth-child(even) { - animation-delay: 0.2s; - } + } +