From 3f45eab2b6212872b656c014057fbd8c402ddb76 Mon Sep 17 00:00:00 2001 From: Oliver Atkinson Date: Thu, 16 Mar 2023 01:30:11 -0600 Subject: [PATCH] added gamer style --- .github/workflows/upload.yml | 32 ------ static/gamer.style.css | 182 +++++++++++++++++++++++++++++++++++ static/style.css | 23 +++++ 3 files changed, 205 insertions(+), 32 deletions(-) delete mode 100644 .github/workflows/upload.yml create mode 100644 static/gamer.style.css diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml deleted file mode 100644 index 13acfb8..0000000 --- a/.github/workflows/upload.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: CI - -# Controls when the action will run. -on: - # Triggers the workflow on push to master (including merged PRs) - push: - branches: [ master ] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "build" - update: - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - - name: Updating website. - uses: appleboy/ssh-action@master - with: - host: lukesmith.xyz - username: lugo - key: ${{ secrets.lugo_ssh }} - passphrase: ${{ secrets.lugo_pass }} - port: 22 - script: | - cd /var/www/lugo - git stash - git pull --force origin master diff --git a/static/gamer.style.css b/static/gamer.style.css new file mode 100644 index 0000000..e698250 --- /dev/null +++ b/static/gamer.style.css @@ -0,0 +1,182 @@ +body { + font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; + font-size: large; + background: rgb(40, 40, 40); + color: white; +} + +main { + max-width: 75%; + margin: auto; +} + +h1 { + text-align: center; +} + +h2 { + text-align: center; +} + +h3 { + text-align: center; +} + +h4 { + text-align: center; +} + +header h1 { + color: white; +} + +header h4 { + /* + The color half-way between the + background color and pure white + */ + color: rgb(163, 163, 163); +} + +a:link { + color: white; +} + +a:visited{ + color: rgb(174, 174, 174); +} + +article a:link { + color: white; +} + +article a:visited { + color: rgb(211, 211, 211); +} +hr { + border-top: 2px solid black; + border-radius: 4px; + animation: rgb-pulse 4s infinite alternate; +} + +br { + clear: both; +} + +pre { + /* + This has to be flagged important because somewhere in hugo a style + is being directly applied to pre blocks. Ill have to find it later. + */ + background-color: rgb(59, 59, 59) !important; + padding-top: 0px; + padding-bottom: 0px; + padding-left: 10px; + padding-right: 10px; + border-radius: 8px; + animation: rgb-pulse 4s infinite alternate; + outline: solid 3px; +} + +code { + font-size: large; + color: white; + /* + we need to re-define these + for times when a single backtick is used + */ + background-color: rgb(59, 59, 59); + padding-left: 3px; + padding-right: 3px; + padding-top: 1px; + border-radius: 4px; +} + +article { + background-color: black; + animation: rgb-pulse 4s infinite alternate; + outline: solid 5px; + padding: 3%; + border-radius: 10px; +} + +img { + border-radius: 4px; + max-width: 100%; + max-height: 100%; + animation: rgb-pulse 4s infinite alternate; + outline: solid 3px; +} + +figure { + margin: 2%; +} + +footer { + padding-top: 2%; + text-align: center; + clear: both; +} + +footer a:any-link { + color: white; +} + +/* For NEXTPREV.HTML */ +#nextprev { + /* The container for both the previous and next articles. */ + color: black; +} + +#nextprev a:any-link { + color: black; +} + +#nextart { + float: left ; + text-align: left ; +} + +#prevart { + float: right ; + text-align: right ; +} + +#nextart,#prevart { + max-width: 33% ; +} + +/* For TAGLIST.HTML */ +.taglist { + text-align: center; + clear: both; + color: rgb(64, 64, 64); +} + +/* For putting right / left boxes next to each other */ +.left { + width: 45%; + padding-right: 5%; + float: left; + clear: both; +} + +.right { + width: 45%; + padding-left: 5%; + float: right; +} + +.subtext { + color: rgb(151, 151, 151); + font-style: italic; +} + +@keyframes rgb-pulse { + 0% {outline: solid rgb(245, 78, 78);} + 20% {outline: solid rgb(105, 254, 105);} + 40% {outline: solid rgb(255, 255, 42);} + 60% {outline: solid rgb(111, 248, 255);} + 80% {outline: solid rgb(255, 70, 255);} + 100% {outline: solid rgb(245, 78, 78);} + } \ No newline at end of file diff --git a/static/style.css b/static/style.css index 4ec66ca..4cee234 100644 --- a/static/style.css +++ b/static/style.css @@ -4,25 +4,32 @@ body { background: rgb(71, 71, 71); color: black; } + main { max-width: 75%; margin: auto; } + h1 { text-align: center; } + h2 { text-align: center; } + h3 { text-align: center; } + h4 { text-align: center; } + header h1 { color: white; } + header h4 { /* The color half-way between the @@ -30,31 +37,39 @@ header h4 { */ color: rgb(163, 163, 163); } + a:link { color: white; } + a:visited{ color: rgb(174, 174, 174); } + article a:link { color: rgb(0, 0, 0); } + article a:visited { color: rgb(64, 64, 64); } + article { background-color: burlywood; outline: cadetblue solid 5px; padding: 3%; border-radius: 10px; } + hr { border-top: 2px solid cadetblue; border-radius: 4px; } + br { clear: both; } + pre { /* This has to be flagged important because somewhere in hugo a style @@ -68,6 +83,7 @@ pre { border-radius: 8px; outline: cadetblue solid 3px; } + code { font-size: large; color: white; @@ -81,22 +97,27 @@ code { padding-top: 1px; border-radius: 4px; } + img { border-radius: 4px; } + article img { max-width: 100%; max-height: 100%; outline: cadetblue solid 3px; } + figure { margin: 2%; } + footer { padding-top: 2%; text-align: center; clear: both; } + footer a:any-link { color: white; } @@ -115,10 +136,12 @@ footer a:any-link { float: left ; text-align: left ; } + #prevart { float: right ; text-align: right ; } + #nextart,#prevart { max-width: 33% ; }