Disable hypothes.is as I'm unable to control its location.

This commit is contained in:
2021-03-13 13:47:25 +01:00
parent 55fd9da512
commit 61c14c5f6a
3 changed files with 18 additions and 7 deletions
+10 -1
View File
@@ -68,7 +68,6 @@ nav { font-family: sans-serif}
.topline-node{ .topline-node{
vertical-align: middle; vertical-align: middle;
overflow-y: auto; overflow-y: auto;
margin-bottom: 10px;
} }
.topline-node-wrapper { .topline-node-wrapper {
@@ -76,6 +75,16 @@ nav { font-family: sans-serif}
align-items: center; align-items: center;
} }
#hypothesis-frame {
}
.hypothesis-adder {
display: block;
position: absolute;
bottom: 0px;
}
input[type="text"] { input[type="text"] {
-webkit-box-sizing: border-box; // Safari/Chrome, other WebKit -webkit-box-sizing: border-box; // Safari/Chrome, other WebKit
-moz-box-sizing: border-box; // Firefox, other Gecko -moz-box-sizing: border-box; // Firefox, other Gecko
+7 -5
View File
@@ -31,15 +31,14 @@
<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="//fonts.googleapis.com/css?family=Merriweather:300,700,700italic,300italic|Open+Sans:700,400" />
<link rel="stylesheet" media="screen" type="text/css" href="{{ url_for('static',filename='css/screen-dark.css')}}?uncached20" id="theme-link" /> <link rel="stylesheet" media="screen" type="text/css" href="{{ url_for('static',filename='css/screen-dark.css')}}?uncached20" id="theme-link" />
<script type=text/javascript src="{{url_for('static', filename='js/main.js')}}"></script> <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"> <script type="application/json" class="js-hypothesis-config">
{ {
"externalContainerSelector": ".node", "externalContainerSelector": ".hypothesis-frame",
} }
</script> </script>
-->
<script async src="https://hypothes.is/embed.js"></script> <script async src="https://hypothes.is/embed.js"></script>
<script src="https://hypothes.is/embed.js" async></script> -->
</head> </head>
<body> <body>
<nav> <nav>
@@ -76,7 +75,6 @@
</form> </form>
</div> </div>
</div> </div>
</div>
<div class="topline-search"> <div class="topline-search">
<strong>↳ search on:</strong> <strong>↳ search on:</strong>
@@ -93,11 +91,15 @@
<strong>↳ in this agora ⬎</strong> <strong>↳ in this agora ⬎</strong>
</div> </div>
</div>
</nav> </nav>
<div class="content"> <div class="content">
{% block content %} {% block content %}
{% endblock %} {% endblock %}
</div> </div>
<div class="hypothesis-frame"></div>
</body> </body>
</html> </html>
+1 -1
View File
@@ -15,7 +15,7 @@
--> -->
<div class="stoa"> <div class="stoa">
<span class="stoa-header">⟴ stoa</span><br /> <span class="stoa-header"> stoa</span><br />
<div class="stoa-public"> <div class="stoa-public">
<span class="subnode-header">from <a href="https://stoa.anagora.org/p/{{node.uri}}">stoa.anagora.org/p/{{node.uri}}</a></span><br /> <span class="subnode-header">from <a href="https://stoa.anagora.org/p/{{node.uri}}">stoa.anagora.org/p/{{node.uri}}</a></span><br />
<iframe name="embed_readwrite" src="https://stoa.anagora.org/p/{{node.uri}}?showControls=true&showChat=true&showLineNumbers=true&useMonospaceFont=false" width="100%" height="800" frameborder="0"></iframe> <iframe name="embed_readwrite" src="https://stoa.anagora.org/p/{{node.uri}}?showControls=true&showChat=true&showLineNumbers=true&useMonospaceFont=false" width="100%" height="800" frameborder="0"></iframe>