Browse Source

max-width videos in articles

pull/1/head
Annika Backstrom 1 year ago
parent
commit
fcdd5d82f3
1 changed files with 9 additions and 9 deletions
  1. 9
    9
      assets/css/_content.scss

+ 9
- 9
assets/css/_content.scss View File

@@ -1,12 +1,3 @@
1
-.content img {
2
-  max-width: 100%;
3
-  height: auto;
4
-}
5
-
6
-.content p.right {
7
-  margin-left: 1ex;
8
-}
9
-
10 1
 .content {
11 2
   h1,
12 3
   h2,
@@ -26,4 +17,13 @@
26 17
       border-bottom: none;
27 18
     }
28 19
   }
20
+
21
+  p.right {
22
+    margin-left: 1ex;
23
+  }
24
+
25
+  img, video {
26
+    max-width: 100%;
27
+    height: auto;
28
+  }
29 29
 }

Loading…
Cancel
Save