Add hypothes.is built into the Agora.

This commit is contained in:
Flancian 2020-12-20 18:12:09 +01:00
parent cd258e1af3
commit 28cf7b5e83
2 changed files with 16 additions and 3 deletions

View File

@ -93,3 +93,9 @@ h2 { font-size: 1.2em; }
margin-bottom: 10px;
border-radius: 10px;
}
/* hypothes.is
This totally doesn't work, at all, and I have no idea why :)
*/
.annotator-frame { margin-top: 4.5em }

View File

@ -25,6 +25,15 @@
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Merriweather:300,700,700italic,300italic|Open+Sans:700,400" />
<link rel="stylesheet" type="text/css" href="{{ url_for('static',filename='css/screen-dark.css')}}" id="theme-link" />
<script type=text/javascript src="{{url_for('static', filename='js/main.js')}}"></script>
<!-- considering this way of integrating hypothesis, although I like "standard" (sidebar) mode.
<script type="application/json" class="js-hypothesis-config">
{
"externalContainerSelector": ".node",
}
</script>
-->
<script async src="https://hypothes.is/embed.js"></script>
<script src="https://hypothes.is/embed.js" async></script>
</head>
<span align=left>
<a href="/"><img src="/static/img/agora.png" class="logo" style="vertical-align: top" width="19" height="19"></a> |
@ -35,9 +44,7 @@
| <a href="/users">users</a>
| <a href="/latest">latest</a>
| <a href="/search">search</a>
</span>
<span style="vertical-align: bottom; float:right">
<a href="#" style="text-decoration: none;" class="theme-toggle">🌙</a>
| <a href="#" style="text-decoration: none;" class="theme-toggle">🌙</a>
| <a href="/node/agora-help" style="text-decoration: none;" class="help-button"></a>
</span>
<br />