summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorpdp8 <pdp8@pdp8.info>2024-02-02 20:24:01 +0100
committerpdp8 <pdp8@pdp8.info>2024-02-02 20:24:01 +0100
commit9bc8be6e2660c9225420089ff00a1215c4928ef7 (patch)
treeaabc131b21589c740c97542077452063cbb2e79c /html
parent6cb7fdb0588d0acb5d589cdb45ea3fe13f8a807c (diff)
image/video width/height
Diffstat (limited to 'html')
-rw-r--r--html/code.html2
-rw-r--r--html/style.css7
2 files changed, 5 insertions, 4 deletions
diff --git a/html/code.html b/html/code.html
index 6b43fee..3c342ea 100644
--- a/html/code.html
+++ b/html/code.html
@@ -1 +1 @@
-<iframe src='https://git.pdp8.info/' title="pdp8 git repositories"/>"
+<iframe src='https://git.pdp8.info/' title='pdp8 git repositories'/>
diff --git a/html/style.css b/html/style.css
index 1c8bf59..05e4964 100644
--- a/html/style.css
+++ b/html/style.css
@@ -52,7 +52,7 @@ nav a:hover {
}
.post {
- padding: 1em;
+ margin: 1em;
}
img,
@@ -61,13 +61,14 @@ video {
max-width: 80vw;
object-fit: contain;
display: block;
- margin-left: auto;
- margin-right: auto;
+ margin-left: 0;
}
#image {
padding-top: 2.5%;
padding-bottom: 1%;
+ margin-left: auto;
+ margin-right: auto;
}
.cover {