diff --git a/Makefile b/Makefile index dc583d2b..e7968909 100644 --- a/Makefile +++ b/Makefile @@ -7,3 +7,6 @@ DEPLOY_SSH_USER = kotovalexarian deploy: $(RSYNC) --del -e 'ssh -p $(DEPLOY_SSH_PORT)' 'public/' '$(DEPLOY_SSH_USER)@$(DEPLOY_SSH_HOST):/srv/causa_arcana_archivebox/' $(RSYNC) --del -e 'ssh -p $(DEPLOY_SSH_PORT)' 'data/' '$(DEPLOY_SSH_USER)@$(DEPLOY_SSH_HOST):/var/lib/archivebox' + +data-del-indices: + rm -vf data/archive/*/index.html data/archive/*/index.json diff --git a/archivebox/templates/core/snapshot.html b/archivebox/templates/core/snapshot.html index f35f38b1..571c1fcd 100644 --- a/archivebox/templates/core/snapshot.html +++ b/archivebox/templates/core/snapshot.html @@ -12,7 +12,7 @@ -
+
  {{title|safe}} @@ -294,11 +294,12 @@ + > + diff --git a/public/static/snapshot.css b/public/static/snapshot.css index eb4e75f5..350cc6ca 100644 --- a/public/static/snapshot.css +++ b/public/static/snapshot.css @@ -1,23 +1,27 @@ html, body { width: 100%; height: 100%; -} -html { - overflow-x: hidden; - overflow-y: hidden; + overflow: hidden; } body { display: flex; flex-direction: column; } -header { - background-color: #aa1e55; -} small { font-weight: 200; } -header a:hover { + +.preview { + width: 100%; + height: 100%; + border: 0; +} + +.header { + background-color: #aa1e55; +} +.header a:hover { text-decoration: none; } .header-top { @@ -39,7 +43,7 @@ header a:hover { text-decoration: none; color: rgba(0,0,0,0.9); } -header small code { +.header small code { white-space: nowrap; font-weight: 200; display: block; @@ -93,11 +97,6 @@ header small code { .card-title { margin-bottom: 4px; } -.full-page-iframe { - width: 100%; - height: 100%; - border: 0; -} .header-bottom { background-color: rgba(23, 22, 22, 0.88); }