fixed x again and styled some stuff

This commit is contained in:
nglk 2021-03-01 14:56:42 +01:00
parent 5b052df39f
commit 8bd0a4a2d4
4 changed files with 7 additions and 6 deletions

View File

@ -132,7 +132,6 @@ publications, go to at.wdka.nl/hpresearchawards</div>
<div id="nothesis"> <div id="nothesis">
<div w3-include-html="thesis.html" id="thesis" class="draggable thesis"> <div w3-include-html="thesis.html" id="thesis" class="draggable thesis">
</div> </div>
<span onclick=closethesis() class="thesisX" >&times</span><span onclick=closethesis() class="thesisX" >&times</span>
</div> </div>
</div> </div>

View File

@ -54,6 +54,7 @@ body {
margin-right: 10px; margin-right: 10px;
margin-left: 20px; margin-left: 20px;
position: relative; position: relative;
border-top: 1px dashed #d81159;;
} }
.media_area { .media_area {
margin-top: 10px; margin-top: 10px;
@ -400,18 +401,18 @@ h2 {
.topleft { .topleft {
float: right; float: right;
cursor: pointer; cursor: pointer;
font-size: 140%; font-size: 16px;
color: black; color: black;
} }
.thesisX { .thesisX {
position: absolute; position: absolute;
z-index:5; z-index:5;
left: 48%; left: 96%;
top: 14%; top: 8%;
float: right; float: right;
cursor: pointer; cursor: pointer;
font-size: 140%; font-size: 16px;
color: black; color: black;
} }

2
static/js/d3_map.js vendored
View File

@ -148,7 +148,7 @@ d3.json("/static/js/group1.json", function(error, json) {
$("#bio" + name).fadeIn() $("#bio" + name).fadeIn()
var dada = document.getElementById("text" + name); var dada = document.getElementById("text" + name);
dada.className += " active"; dada.className += " active";
dada.scrollIntoView({ behavior: 'smooth', block: 'nearest', inline: 'start' }); dada.scrollIntoView({ behavior: 'smooth', block: 'nearest', inline: 'nearest' });
}; };
}); });

View File

@ -1,3 +1,4 @@
<span onclick=closethesis() class="thesisX" >&times</span>
<div> <div>
<h1>Wells of Knowledge: <p>Streams of poetry, music and resistance in Turkey</h1> <h1>Wells of Knowledge: <p>Streams of poetry, music and resistance in Turkey</h1>
<h2>Merve Kılıçer</h2> <h2>Merve Kılıçer</h2>