Skip to content

Commit

Permalink
fixed protocol issues
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEquus committed Dec 31, 2023
1 parent ca81945 commit 822b294
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
<meta name="twitter:site" content="@ThatEquus">
<meta name="twitter:creator" content="@ThatEquus">
{{if .Params.cover }}
{{ $mediaPath := path.Join .Permalink (.Page.Param "mediaPath") }}
{{ $cover := path.Join $mediaPath .Params.cover }}
{{ $mediaPath := urls.JoinPath .Permalink (.Page.Param "mediaPath") }}
{{ $cover := urls.JoinPath $mediaPath .Params.cover }}
{{ $image := .Resources.GetMatch (path.Join (.Page.Param "mediaPath") .Params.cover) }}
<meta property="og:image" content="{{ $cover }}">
<meta property="og:image:width" content="{{ $image.Width }}">
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@font-face{font-family:anonymouspro;font-style:normal;font-weight:400;font-display:swap;src:local("AnonymousPro"),url(../fonts/AnonymousPro-Regular.ttf)format("truetype")}@font-face{font-family:heebo;font-style:normal;font-weight:400 bold;font-display:swap;src:local("Heebo"),url(../fonts/Heebo-VariableFont_wght.ttf)format("truetype")}@font-face{font-family:rubik;font-style:normal;font-weight:800;font-display:swap;src:local("Rubik"),url(../fonts/Rubik-VariableFont_wght.ttf)format("truetype")}:root{font-size:18px}::selection{background:#88ffa8;color:#101915}html{scroll-behavior:smooth;background:#404945;color:#f8fdf9}body{margin:0;font-family:heebo,sans-serif;background:#404945}body a{color:#88ffa8;outline-offset:2px;transition:opacity .2s ease-in-out,outline-color .2s ease-in-out;word-break:break-word}body a:hover{opacity:.75}body>header{background:#202925;padding-top:.5em;padding-bottom:.5em}@media(min-width:768px){body>header{display:flex;align-items:center;justify-content:space-between}}body>header ul{display:flex;flex-direction:row;margin:0;padding:0;list-style:none}@media(max-width:768px){body>header ul{align-items:center;justify-content:space-around}}body>header h1{margin:0;font-size:2rem}body>header a{text-decoration:none;padding:10px 35px;text-align:center;display:block}article{margin:9-px auto 120px}article>header{margin:0 0 2rem}article>header h1{line-height:3rem;margin:9px 0}article>header p{margin:0;font-size:.9rem;font-style:italic}article>header a{background:#88ffa8;color:#202925;text-decoration:none;padding:.2rem .4rem;border-radius:5px;margin-right:20px}article>header section{margin-bottom:.5rem}article p{margin:1.5rem 0}article p strong{color:#88ffa8}article p code{color:#88ffa8}article ol li:first-of-type,article ul li:first-of-type{margin-top:.3rem}article ol li:not(:last-of-type),article ul li:not(:last-of-type){margin-bottom:.3rem}article ol>li::before,article ul>li::before{content:'>';margin-right:8px;color:#88ffa8;font-family:rubik,sans-serif}article pre{background:#202925;line-height:1.5rem;overflow-x:auto;padding:1.5rem}article>section{overflow-x:auto;border:1px solid}article>section table{border-collapse:collapse}article>section table th{background:#f8fdf9;color:#202925;padding:10px}article>section table td{border:1px solid #f8fdf9;padding:10px}article>section table tr{transition:background-color .5s ease,color .5s ease}article>section table tr:hover{background-color:#88ffa8}article>section table tr:hover td{color:#202925}h1{font-family:rubik,sans-serif;font-size:2.5rem;margin:1rem 0}h1+p{margin-top:0}h2{font-family:rubik,sans-serif;font-size:2.2rem;margin:1rem 0}h2+p{margin-top:0}h3{font-family:rubik,sans-serif;font-size:1.9rem;margin:1rem 0}h3+p{margin-top:0}h4{font-family:rubik,sans-serif;font-size:1.6rem;margin:1rem 0}h4+p{margin-top:0}h5{font-family:rubik,sans-serif;font-size:1.3rem;margin:1rem 0}h5+p{margin-top:0}h6{font-family:rubik,sans-serif;font-size:1rem;margin:1rem 0}h6+p{margin-top:0}main{margin:90px auto;padding:0 15px;max-width:800px}main p{line-height:1.5rem}code{font-family:anonymouspro,monospace;overflow-wrap:break-word}audio,img,video{margin:1.8rem auto;display:block;max-width:100%;max-height:70vh}audio{width:90%}ol,ul{list-style:none}.toc{background-color:#202925}.toc summary{background:#88ffa8;border:1px solid rgba(0,0,0,.3);padding:15px 20px;color:#202925;transition:opacity .2s ease}.toc summary:hover{opacity:.75;cursor:pointer}.toc #TableOfContents{padding:6px 15px 15px 9px}.toc #TableOfContents li::before{color:#f8fdf9}a#backtotop{position:fixed;bottom:30px;right:30px;width:50px;height:50px;background:#88ffa8;text-align:center;font-size:2rem;visibility:hidden;opacity:0;text-decoration:none;transition:opacity .3s,visibility .3s}a#backtotop::after{content:"^";font-family:rubik;font-size:2.5em;color:#202925}a#backtotop:hover{cursor:pointer}#posts{padding:0}#posts li{background-color:#88ffa8;border-radius:3px;transition:opacity .3s ease-in-out;margin:.5rem 0}#posts li:hover{cursor:pointer;opacity:.75}#posts li>a{color:#202925;display:flex;margin:20px auto;padding:15px 30px;text-decoration:none;align-items:center;word-break:break-word}#posts li>a>p{flex:1;margin:0;font-weight:700}#posts li>a>time{margin-left:2rem;font-size:.7rem}#search{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch}#search>label{flex-basis:100%;line-height:2rem;font-family:rubik;font-size:1.3rem}#search>#searchInput{padding:15px 30px;flex:1;border-radius:5px;background:#202925;color:#f8fdf9;border:2px solid #404945}#search>#searchInput:focus{outline:none;border:2px solid #88ffa8}.about li{font-family:rubik;font-size:1.5rem;line-height:3rem}.about li>a{margin-left:1rem}hr{margin:2.3rem auto}#featuredPosts{margin-top:50px}#featuredPosts h4{margin-bottom:0}#featuredPosts time{font-size:15px}#featuredPosts a{text-decoration:none}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"Target":"css/main.min.438d8614614734b73815278dc3c64b0220335c8c5e5168baefe118fb203f84bb.css","MediaType":"text/css","Data":{"Integrity":"sha256-Q42GFGFHNLc4FSeNw8ZLAiAzXIxeUWi67+EY+yA/hLs="}}

0 comments on commit 822b294

Please sign in to comment.