Skip to content

Commit f39f1b7

Browse files
committed
Update variable widths - Edited theme/pdf/pdf.css with Atlas code editor
1 parent cbf0f31 commit f39f1b7

File tree

1 file changed

+39
-8
lines changed

1 file changed

+39
-8
lines changed

theme/pdf/pdf.css

Lines changed: 39 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,45 @@ section[data-type="afterword"] figcaption:before {
1818
/*less space for pagebreaks */
1919
.less_space {margin-top: 0 !important;}
2020

21-
/* Custom widths */
22-
.width-40 { width: 40% !important; }
23-
.width-50 { width: 50% !important; }
24-
.width-60 { width: 60% !important; }
25-
.width-70 { width: 70% !important; }
26-
.width-75 { width: 75% !important; }
27-
.width-80 { width: 80% !important; }
28-
.width-90 { width: 90% !important; }
21+
/* Variable widths */
22+
.width-10,
23+
figure.width-10 img { width: 10% !important; }
24+
.width-20,
25+
figure.width-20 img { width: 20% !important; }
26+
.width-25,
27+
figure.width-25 img { width: 25% !important; }
28+
.width-30,
29+
figure.width-30 img { width: 30% !important; }
30+
.width-40,
31+
figure.width-40 img { width: 40% !important; }
32+
.width-50,
33+
figure.width-50 img { width: 50% !important; }
34+
.width-60,
35+
figure.width-60 img { width: 60% !important; }
36+
.width-70,
37+
figure.width-70 img { width: 70% !important; }
38+
.width-75,
39+
figure.width-75 img { width: 75% !important; }
40+
.width-80,
41+
figure.width-80 img { width: 80% !important; }
42+
.width-90,
43+
figure.width-90 img { width: 90% !important; }
44+
.width-100,
45+
figure.width-100 img { width: 100% !important; }
46+
47+
/* Figure width reset */
48+
figure.width-10,
49+
figure.width-20,
50+
figure.width-25,
51+
figure.width-30,
52+
figure.width-40,
53+
figure.width-50,
54+
figure.width-60,
55+
figure.width-70,
56+
figure.width-75,
57+
figure.width-80,
58+
figure.width-90,
59+
figure.width-100 { width: auto !important; }
2960

3061
/* Allow Examples to have less space at top of page (STYL-1266)
3162
section.less_space > h1:first-child {

0 commit comments

Comments
 (0)