From e355f25fa2929700ea2436b820420882aa8e8748 Mon Sep 17 00:00:00 2001 From: powe97 <116031952+powe97@users.noreply.github.com> Date: Thu, 9 Feb 2023 21:52:53 -0500 Subject: [PATCH 1/6] Create deploy.yml --- .github/workflows/deploy.yml | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 000000000..db20b9fa0 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,44 @@ +# 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: ["main"] + + # 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 one concurrent deployment +concurrency: + group: "pages" + cancel-in-progress: true + +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 static-generated branch + uses: actions/checkout@v3 + with: + ref: static-generated + - name: Setup Pages + uses: actions/configure-pages@v3 + - name: Upload artifact + uses: actions/upload-pages-artifact@v1 + with: + # Upload entire repository + path: '.' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v1 From 4f4be2c6cabf4d637ad424ca0aa4d2a895bd73a5 Mon Sep 17 00:00:00 2001 From: powe97 <116031952+powe97@users.noreply.github.com> Date: Thu, 9 Feb 2023 21:53:19 -0500 Subject: [PATCH 2/6] Update deploy.yml --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index db20b9fa0..2261a4e06 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,7 +4,7 @@ name: Deploy static content to Pages on: # Runs on pushes targeting the default branch push: - branches: ["main"] + branches: ["static-generated"] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: From 7fd0b18409ec76276052355b4c9d1c97df875afe Mon Sep 17 00:00:00 2001 From: powe97 <116031952+powe97@users.noreply.github.com> Date: Thu, 9 Feb 2023 23:36:11 -0500 Subject: [PATCH 3/6] Update coursedisplay.css --- css/coursedisplay.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/css/coursedisplay.css b/css/coursedisplay.css index 029a870a1..08a5a3948 100644 --- a/css/coursedisplay.css +++ b/css/coursedisplay.css @@ -20,12 +20,12 @@ } -#cname{ +#name { font-size: 3.75rem; left: 0vw; } -#ccode{ +#code { color: var(--quacs-midtone); font-family: "proxima-nova"; font-size: 1.8rem; From b868fb948c29fe2c0cef382af9b4d866856af7dc Mon Sep 17 00:00:00 2001 From: powe97 <116031952+powe97@users.noreply.github.com> Date: Fri, 10 Feb 2023 00:00:59 -0500 Subject: [PATCH 4/6] Update common.css --- css/common.css | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/css/common.css b/css/common.css index 1c6aab259..5184a2062 100644 --- a/css/common.css +++ b/css/common.css @@ -150,49 +150,49 @@ YP `Y88P' VP V8P YP `8888Y' @font-face{ font-family: "rivalsans"; - src: url("./fonts/rivalsans-regular.otf"); + src: url("../fonts/rivalsans-regular.otf"); } @font-face{ font-family: "rivalsans"; - src: url("./fonts/rivalsans-bold.otf"); + src: url("../fonts/rivalsans-bold.otf"); font-weight: 700; } @font-face{ font-family: "rivalsans"; - src: url("./fonts/rivalsans-extrabold.otf"); + src: url("../fonts/rivalsans-extrabold.otf"); font-weight: 800; } @font-face{ font-family: "rivalsans"; - src: url("./fonts/rivalsans-black.otf"); + src: url("../fonts/rivalsans-black.otf"); font-weight: 900; } @font-face { font-family: "proxima-nova"; - src: url("./fonts/Proxima-Nova-Black.otf"); + src: url("../fonts/Proxima-Nova-Black.otf"); font-weight: 900; } @font-face { font-family: "proxima-nova"; - src: url("./fonts/Proxima-Nova-Bold.otf"); + src: url("../fonts/Proxima-Nova-Bold.otf"); font-weight: 700; } @font-face { font-family: "proxima-nova"; - src: url("./fonts/Proxima-Nova-Extrabold.otf"); + src: url("../fonts/Proxima-Nova-Extrabold.otf"); font-weight: 800; } @font-face { font-family: "proxima-nova"; - src: url("./fonts/Proxima-Nova-Thin.otf"); + src: url("../fonts/Proxima-Nova-Thin.otf"); font-weight: 200; } @font-face { font-family: "proxima-nova"; - src: url("./fonts/Proxima-Nova-Regular.otf"); + src: url("../fonts/Proxima-Nova-Regular.otf"); } From d7ef8ca01ea29d026ed898cabbdd39482b910ecf Mon Sep 17 00:00:00 2001 From: powe97 <116031952+powe97@users.noreply.github.com> Date: Fri, 10 Feb 2023 00:01:39 -0500 Subject: [PATCH 5/6] Update coursedisplay.css --- css/coursedisplay.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/css/coursedisplay.css b/css/coursedisplay.css index 08a5a3948..2d35059c8 100644 --- a/css/coursedisplay.css +++ b/css/coursedisplay.css @@ -344,19 +344,19 @@ input[value="detailed"]:checked ~ div #detail-view-label { } input[value="simple"]:checked ~ table .not-offered { - background-image: url(./icons.svg#circle-no-view); + background-image: url(../icons.svg#circle-no-view); } input[value="simple"]:checked ~ table .offered { - background-image: url(./icons.svg#circle-check-view); + background-image: url(../icons.svg#circle-check-view); } input[value="simple"]:checked ~ table .offered-diff-code { - background-image: url(./icons.svg#circle-question-view); + background-image: url(../icons.svg#circle-question-view); } input[value="simple"]:checked ~ table .unscheduled { - background-image: url(./icons.svg#circle-empty-view); + background-image: url(../icons.svg#circle-empty-view); } input[value="detailed"]:checked ~ table .detail-view-container { From b5c8832dbcf2ee461f47572f559e4a9e7a8aeaaf Mon Sep 17 00:00:00 2001 From: powe97 <116031952+powe97@users.noreply.github.com> Date: Fri, 10 Feb 2023 00:44:40 -0500 Subject: [PATCH 6/6] Delete unnecessary action --- .github/workflows/deploy.yml | 44 ------------------------------------ 1 file changed, 44 deletions(-) delete mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 2261a4e06..000000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,44 +0,0 @@ -# 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: ["static-generated"] - - # 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 one concurrent deployment -concurrency: - group: "pages" - cancel-in-progress: true - -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 static-generated branch - uses: actions/checkout@v3 - with: - ref: static-generated - - name: Setup Pages - uses: actions/configure-pages@v3 - - name: Upload artifact - uses: actions/upload-pages-artifact@v1 - with: - # Upload entire repository - path: '.' - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v1