+
+
diff --git a/src/routes/$layout.svelte b/src/routes/$layout.svelte
index f5770d1..a412684 100644
--- a/src/routes/$layout.svelte
+++ b/src/routes/$layout.svelte
@@ -43,12 +43,8 @@
main {
position: relative;
- max-width: calc(100vw - 1em);
- padding: 1.4em;
-
- @media (min-width: @media-l) {
- /* max-width: 34em; */
- }
+ max-width: 100vw;
+ padding: 1.2em;
h1,
h2,
@@ -61,7 +57,9 @@
ol,
figure,
img,
- blockquote {
+ blockquote,
+ iframe,
+ footer {
max-width: 42rem;
margin-left: auto;
margin-right: auto;
@@ -82,5 +80,19 @@
figure {
max-width: @max-image-size;
}
+ iframe {
+ max-width: 46rem;
+ display: block;
+ }
+ footer {
+ max-width: 52rem;
+ }
+
+ img {
+ width: 100%;
+ margin: 0 0 1em 0;
+ border-radius: 5px;
+ box-shadow: @content-box-shadow;
+ }
}
diff --git a/src/routes/blog/[slug].svelte b/src/routes/blog/[slug].svelte
index a20f4b2..a1da280 100644
--- a/src/routes/blog/[slug].svelte
+++ b/src/routes/blog/[slug].svelte
@@ -33,7 +33,6 @@