Improve CSS selectors
This commit is contained in:
parent
e37b1caf7f
commit
b4a1f5a0a4
3 changed files with 20 additions and 17 deletions
3
Makefile
3
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
|
||||
|
|
|
@ -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"/> {{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>
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue