diff --git a/README.md b/README.md index 21a1d4a..da4a747 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,20 @@ Add below into your VSCode setting. ```json "markdown.marp.themes": [ - "https://raw.githubusercontent.com/pn11/marp-A4-theme/main/themes/A4.css", + "https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/A3_Landscape.css", + "https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/A3_Portrait.css", + "https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/A4_Landscape.css", + "https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/A4_Portrait.css", + "https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/A5_Landscape.css", + "https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/A5_Portrait.css", + "https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/A6_Landscape.css", + "https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/A6_Portrait.css", + "https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/B3_Landscape.css", + "https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/B3_Portrait.css", + "https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/B4_Landscape.css", + "https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/B4_Portrait.css", + "https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/B5_Landscape.css", + "https://raw.githubusercontent.com/honyaplan/marp-paper-size-theme/main/themes/B5_Portrait.css", ], ``` @@ -17,9 +30,25 @@ Specify the theme in your markdown header. ```markdown --- marp: true -theme: A4 +theme: A4-Portrait --- +A3_Landscape +A3-Portrait +A4_Landscape +A4-Portrait +A5_Landscape +A5-Portrait +A6_Landscape +A6-Portrait +B3_Landscape +B3-Portrait +B4_Landscape +B4-Portrait +B5_Landscape +B5-Portrait + + # My slide This is slide. diff --git a/themes/A3_Landscape.css b/themes/A3_Landscape.css new file mode 100644 index 0000000..bf05669 --- /dev/null +++ b/themes/A3_Landscape.css @@ -0,0 +1,26 @@ +/* @theme A3-Landscape */ + +@import 'default'; + +section { + /* A3 document size */ + + width: 420mm; + height: 297mm; +} + +h2 { + font-size: 30px; +} + +h3 { + font-size: 25px; +} + +p { + font-size: 20px; +} + +li { + font-size: 20px; +} diff --git a/themes/A3_Portrait.css b/themes/A3_Portrait.css new file mode 100644 index 0000000..c3162b8 --- /dev/null +++ b/themes/A3_Portrait.css @@ -0,0 +1,26 @@ +/* @theme A3-Portrait */ + +@import 'default'; + +section { + /* A3 document size */ + + width: 297mm; + height: 420mm; +} + +h2 { + font-size: 30px; +} + +h3 { + font-size: 25px; +} + +p { + font-size: 20px; +} + +li { + font-size: 20px; +} diff --git a/themes/A4_Landscape.css b/themes/A4_Landscape.css new file mode 100644 index 0000000..54280df --- /dev/null +++ b/themes/A4_Landscape.css @@ -0,0 +1,26 @@ +/* @theme A4-Landscape */ + +@import 'default'; + +section { + /* A4 document size */ + + width: 297mm; + height: 210mm; +} + +h2 { + font-size: 30px; +} + +h3 { + font-size: 25px; +} + +p { + font-size: 20px; +} + +li { + font-size: 20px; +} diff --git a/themes/A4.css b/themes/A4_Portrait.css similarity index 88% rename from themes/A4.css rename to themes/A4_Portrait.css index 92b775c..0c810d9 100644 --- a/themes/A4.css +++ b/themes/A4_Portrait.css @@ -1,9 +1,10 @@ -/* @theme A4 */ +/* @theme A4-Portrait */ @import 'default'; section { /* A4 document size */ + width: 210mm; height: 297mm; } diff --git a/themes/A5_Landscape.css b/themes/A5_Landscape.css new file mode 100644 index 0000000..8a48f08 --- /dev/null +++ b/themes/A5_Landscape.css @@ -0,0 +1,25 @@ +/* @theme A5-Landscape */ + +@import 'default'; + +section { + /* A5 document size */ + + width: 210mm; + height: 148mm; +} +h2 { + font-size: 30px; +} + +h3 { + font-size: 25px; +} + +p { + font-size: 20px; +} + +li { + font-size: 20px; +} diff --git a/themes/A5_Portrait.css b/themes/A5_Portrait.css new file mode 100644 index 0000000..e574d8e --- /dev/null +++ b/themes/A5_Portrait.css @@ -0,0 +1,26 @@ +/* @theme A5-Portrait */ + +@import 'default'; + +section { + /* A5 document size */ + + width: 148mm; + height: 210mm; +} + +h2 { + font-size: 30px; +} + +h3 { + font-size: 25px; +} + +p { + font-size: 20px; +} + +li { + font-size: 20px; +} diff --git a/themes/A6_Landscape.css b/themes/A6_Landscape.css new file mode 100644 index 0000000..fad970b --- /dev/null +++ b/themes/A6_Landscape.css @@ -0,0 +1,26 @@ +/* @theme A6-Landscape */ + +@import 'default'; + +section { + /* A6 document size */ + + width: 148mm; + height: 105mm; +} + +h2 { + font-size: 30px; +} + +h3 { + font-size: 25px; +} + +p { + font-size: 20px; +} + +li { + font-size: 20px; +} diff --git a/themes/A6_Portrait.css b/themes/A6_Portrait.css new file mode 100644 index 0000000..8cde3d3 --- /dev/null +++ b/themes/A6_Portrait.css @@ -0,0 +1,26 @@ +/* @theme A6-Portrait */ + +@import 'default'; + +section { + /* A6 document size */ + + width: 105mm; + height: 148mm; +} + +h2 { + font-size: 30px; +} + +h3 { + font-size: 25px; +} + +p { + font-size: 20px; +} + +li { + font-size: 20px; +} diff --git a/themes/B3_Landscape.css b/themes/B3_Landscape.css new file mode 100644 index 0000000..8b53097 --- /dev/null +++ b/themes/B3_Landscape.css @@ -0,0 +1,26 @@ +/* @theme B3-Landscape */ + +@import 'default'; + +section { + /* B3 document size */ + + width: 500mm; + height: 353mm; +} + +h2 { + font-size: 30px; +} + +h3 { + font-size: 25px; +} + +p { + font-size: 20px; +} + +li { + font-size: 20px; +} diff --git a/themes/B3_Portrait.css b/themes/B3_Portrait.css new file mode 100644 index 0000000..a5ff842 --- /dev/null +++ b/themes/B3_Portrait.css @@ -0,0 +1,26 @@ +/* @theme B3-Portrait */ + +@import 'default'; + +section { + /* B3 document size */ + + width: 353mm; + height: 500mm; +} + +h2 { + font-size: 30px; +} + +h3 { + font-size: 25px; +} + +p { + font-size: 20px; +} + +li { + font-size: 20px; +} diff --git a/themes/B4_Landscape.css b/themes/B4_Landscape.css new file mode 100644 index 0000000..efaf130 --- /dev/null +++ b/themes/B4_Landscape.css @@ -0,0 +1,27 @@ + +/* @theme B4-Landscape */ + +@import 'default'; + +section { + /* B4 document size */ + + width: 353mm; + height: 250mm; +} + +h2 { + font-size: 30px; +} + +h3 { + font-size: 25px; +} + +p { + font-size: 20px; +} + +li { + font-size: 20px; +} diff --git a/themes/B4_Portrait.css b/themes/B4_Portrait.css new file mode 100644 index 0000000..a4e6bcf --- /dev/null +++ b/themes/B4_Portrait.css @@ -0,0 +1,26 @@ +/* @theme B4-Portrait */ + +@import 'default'; + +section { + /* B4 document size */ + + width: 250mm; + height: 353mm; +} + +h2 { + font-size: 30px; +} + +h3 { + font-size: 25px; +} + +p { + font-size: 20px; +} + +li { + font-size: 20px; +} diff --git a/themes/B5_Landscape.css b/themes/B5_Landscape.css new file mode 100644 index 0000000..7bbb5e1 --- /dev/null +++ b/themes/B5_Landscape.css @@ -0,0 +1,26 @@ +/* @theme B5-Portrait */ + +@import 'default'; + +section { + /* B5 document size */ + + width: 176mm; + height: 250mm; +} + +h2 { + font-size: 30px; +} + +h3 { + font-size: 25px; +} + +p { + font-size: 20px; +} + +li { + font-size: 20px; +} diff --git a/themes/B5_Portrait.css b/themes/B5_Portrait.css new file mode 100644 index 0000000..7bbb5e1 --- /dev/null +++ b/themes/B5_Portrait.css @@ -0,0 +1,26 @@ +/* @theme B5-Portrait */ + +@import 'default'; + +section { + /* B5 document size */ + + width: 176mm; + height: 250mm; +} + +h2 { + font-size: 30px; +} + +h3 { + font-size: 25px; +} + +p { + font-size: 20px; +} + +li { + font-size: 20px; +}