Add federated cloud ID (Nextcloud) to home page and related changes to robots.txt and style.css

This commit is contained in:
Ethan Yoo 2022-12-06 10:26:09 -05:00
parent 637a1d2b7c
commit 93d6ef9021
Signed by: ethan
GPG Key ID: 70596474C5D20F85
4 changed files with 8 additions and 4 deletions

View File

@ -40,7 +40,7 @@ Examples for writing 'backward compatible' h-card markup available at https://mi
<a class="link-000" href="https://ForTheBadge.com/"><img src="/img/built-with-love.svg" alt="This site was built with love, using Git and Hugo." title="I also used Git and Hugo." /></a> <a class="link-000" href="https://ForTheBadge.com/"><img src="/img/built-with-love.svg" alt="This site was built with love, using Git and Hugo." title="I also used Git and Hugo." /></a>
<a class="link-000" href="{{ .Site.Params.license }}"><img src="/img/CC-BY-SA.svg" alt="Original content by {{ .Site.Params.author }} is licensed under {{ .Site.Copyright }}" title="{{ .Site.Params.copyrightMessage }}" /></a> <a class="link-000" href="{{ .Site.Params.license }}"><img src="/img/CC-BY-SA.svg" alt="Original content by {{ .Site.Params.author }} is licensed under {{ .Site.Copyright }}" title="{{ .Site.Params.copyrightMessage }}" /></a>
<p><b><a class="u-email email" rel="me" href="mailto:{{ .Site.Params.authorEmail }}">Contact me</a>. <a href="/privacy/" >Privacy</a>. <a rel="pgpkey" href="/ethan.asc.txt">Public key</a> <a href="https://keyoxide.org/{{ .Site.Params.authorEmail }}">(Keyoxide)</a>.</b></p> <p><b><a class="u-email email" rel="me" href="mailto:{{ .Site.Params.authorEmail }}">Contact me</a>. <a href="/privacy/" >Privacy</a>. <a rel="pgpkey" href="/ethan.asc.txt">Public key</a> <a href="https://keyoxide.org/{{ .Site.Params.authorEmail }}">(Keyoxide)</a>.</b></p>
<a class="link-001" href="https://nextcloud.com/sharing#eyoo@share.mayfirst.org"><img src="/nextcloud.svg" class="nextcloud" alt="Share with me via Nextcloud!" title="Federated Cloud ID makes it possible to share across Nextcloud and other Open Cloud Mesh (OCM) compatible servers!" /> Share with me via Nextcloud!</a>
<p>&#128421; <a href="/cloudflare/" ><i>Where is this website hosted?</i></a> &#128421;</p> <p>&#128421; <a href="/cloudflare/" ><i>Where is this website hosted?</i></a> &#128421;</p>
</div> </div>
</footer> </footer>

1
static/nextcloud.svg Normal file
View File

@ -0,0 +1 @@
<svg width="256" height="128" version="1.1" viewBox="0 0 256 128" xmlns="http://www.w3.org/2000/svg"><path d="m128 7c-25.871 0-47.817 17.485-54.713 41.209-5.9795-12.461-18.642-21.209-33.287-21.209-20.304 0-37 16.696-37 37s16.696 37 37 37c14.645 0 27.308-8.7481 33.287-21.209 6.8957 23.724 28.842 41.209 54.713 41.209s47.817-17.485 54.713-41.209c5.9795 12.461 18.642 21.209 33.287 21.209 20.304 0 37-16.696 37-37s-16.696-37-37-37c-14.645 0-27.308 8.7481-33.287 21.209-6.8957-23.724-28.842-41.209-54.713-41.209zm0 22c19.46 0 35 15.54 35 35s-15.54 35-35 35-35-15.54-35-35 15.54-35 35-35zm-88 20c8.4146 0 15 6.5854 15 15s-6.5854 15-15 15-15-6.5854-15-15 6.5854-15 15-15zm176 0c8.4146 0 15 6.5854 15 15s-6.5854 15-15 15-15-6.5854-15-15 6.5854-15 15-15z" color="#000000" fill="#fff" style="-inkscape-stroke:none"/></svg>

After

Width:  |  Height:  |  Size: 814 B

View File

@ -2,6 +2,7 @@ User-agent: *
Disallow: /*.asc.txt$ Disallow: /*.asc.txt$
Disallow: /*.jpg$ Disallow: /*.jpg$
Disallow: /*.png$ Disallow: /*.png$
Disallow: /*.svg$
Disallow: /*.xml$ Disallow: /*.xml$
Disallow: /css/ Disallow: /css/
Disallow: /img/ Disallow: /img/

View File

@ -8,14 +8,16 @@ h1{font-size:2.1em;}h2{font-size:1.8em;}h3{font-size:1.5em;}
article, main {padding:4px 2px;} article, main {padding:4px 2px;}
blockquote{padding:0.5em 1.5em;background:#EEE;color:#000;border-radius:4px;} blockquote{padding:0.5em 1.5em;background:#EEE;color:#000;border-radius:4px;}
code{background:#000;font:1em/1.5 monospace, monospace;padding:2px} code{background:#000;font:1em/1.5 monospace, monospace;padding:2px}
img[src$='#center']{display:block;margin-left:auto;margin-right:auto;}
/* Light theme */ /* Light theme */
@media(prefers-color-scheme:light){body{background:#333;color:#FFF;}main a:link{color:#bdf;}main a:visited{color:#ccf;}} @media(prefers-color-scheme:light){body{background:#333;color:#FFF;}main a:link{color:#bdf;}main a:visited{color:#ccf;}}
/* Classes */ /* Classes */
a.link-000{background:#000;border:none;}
.center{display:block;margin-left:auto;margin-right:auto;text-align:center;} .center{display:block;margin-left:auto;margin-right:auto;text-align:center;}
img[src$='#center']{display:block;margin-left:auto;margin-right:auto;} .nextcloud{width:50px;height:30px;position:relative;top:8px;background-size:contain;display:inline-block;background-repeat:no-repeat;background-position:center center;}
.post-title{line-height:1.8;} .post-title{line-height:1.8;}
.subtitle{float:right;} .subtitle{float:right;}
a.link-000{background:#000;border:none;}
a.link-001{padding:10px;background-color:#0082c9;color:#ffffff;border-radius:3px;padding-left:4px;}
html{overflow-y:scroll;visibility:visible;opacity:1;} html{overflow-y:scroll;visibility:visible;opacity:1;}