1
0
Fork 0

Improve CSS selectors

This commit is contained in:
Alex Kotov 2023-08-29 18:58:49 +04:00
parent e37b1caf7f
commit b4a1f5a0a4
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
3 changed files with 20 additions and 17 deletions

View file

@ -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

View file

@ -12,7 +12,7 @@
<link rel="stylesheet" href="../../static/snapshot.css">
</head>
<body>
<header>
<header class="header">
<div class="header-top container-fluid">
<div>
<img src="favicon.ico"/>&nbsp;&nbsp;{{title|safe}}
@ -294,11 +294,12 @@
<iframe
name="preview"
src="{{singlefile_path}}"
class="preview"
sandbox="allow-downloads
allow-scripts
allow-top-navigation-by-user-activation
allow-top-navigation-to-custom-protocols"
class="full-page-iframe"
></iframe>
>
</iframe>
</body>
</html>

View file

@ -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);
}