From 1ee2b34d988f1f7c05708fbebc2cd57058f4ee94 Mon Sep 17 00:00:00 2001 From: dmitry kirdyashkin Date: Wed, 13 Mar 2024 23:27:24 +0300 Subject: [PATCH] v1.0.0 --- module.json.template | 28 ++++++++ src/module.json | 91 -------------------------- src/styles/common.css | 29 ++++++++ src/styles/core.css | 46 +++++++++++++ src/styles/descent-into-avernus.css | 47 +++++++++++++ src/styles/rime-of-the-frostmaiden.css | 46 +++++++++++++ src/styles/warriors-of-seanine.css | 50 ++++++++++++++ 7 files changed, 246 insertions(+), 91 deletions(-) create mode 100644 module.json.template delete mode 100644 src/module.json create mode 100644 src/styles/common.css create mode 100644 src/styles/core.css create mode 100644 src/styles/descent-into-avernus.css create mode 100644 src/styles/rime-of-the-frostmaiden.css create mode 100644 src/styles/warriors-of-seanine.css diff --git a/module.json.template b/module.json.template new file mode 100644 index 0000000..13ec5a7 --- /dev/null +++ b/module.json.template @@ -0,0 +1,28 @@ +{ + "id": "sc-styles", + "name": "shared-compendia-styles", + "title": "Shared Compendia CSS module", + "description": "Styles for various entries", + "authors": [ + { + "name": "leego neit" + } + ], + "version": "$RELEASE_TAG", + "minimumCoreVersion": "9", + "compatibility": { + "minimum": "9", + "verified": "11", + "maximum": "11" + }, + "url": "${DRONE_REPO_LINK}", + "manifest": "${DRONE_REPO_LINK}/releases/download/latest/module.json", + "download": "${DRONE_REPO_LINK}/releases/download/$RELEASE_TAG/module.zip", + "styles": [ + "styles/common.css", + "styles/core.css", + "styles/rime-of-the-frostmaiden.css", + "styles/warriors-of-seanine.css", + "styles/descent-into-avernus.css" + ] +} diff --git a/src/module.json b/src/module.json deleted file mode 100644 index 7d54c08..0000000 --- a/src/module.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "id": "sc-styles", - "title": "new adventure template", - "description": "Различные стили оформления документов", - "version": "1.0.0", - "compatibility": { - "minimum": "10", - "verified": "10", - "maximum": "10" - }, - "authors": [ - { - "name": "leego_neit" - } - ], - "packs": [ - { - "name": "actors", - "label": "new adventure template", - "path": "/packs/actors.db", - "entity": "Actor", - "type": "Actor", - "system": "dnd5e" - }, - { - "name": "adventure", - "label": "new adventure template", - "path": "/packs/adventure.db", - "entity": "Adventure", - "type": "Adventure", - "system": "dnd5e" - }, - { - "name": "cards", - "label": "new adventure template", - "path": "/packs/cards.db", - "entity": "Cards", - "type": "Cards" - }, - { - "name": "items", - "label": "new adventure template", - "path": "/packs/items.db", - "entity": "Item", - "type": "Item", - "system": "dnd5e" - }, - { - "name": "journals", - "label": "new adventure template", - "path": "/packs/journals.db", - "entity": "JournalEntry", - "type": "JournalEntry" - }, - { - "name": "macros", - "label": "new adventure template", - "path": "/packs/macros.db", - "entity": "Macro", - "type": "Macro" - }, - { - "name": "maps", - "label": "new adventure template", - "path": "/packs/maps.db", - "entity": "Scene", - "type": "Scene" - }, - { - "name": "playlists", - "label": "new adventure template", - "path": "/packs/playlists.db", - "entity": "Playlist", - "type": "Playlist" - }, - { - "name": "rolltables", - "label": "new adventure template", - "path": "/packs/rolltables.db", - "entity": "RollTable", - "type": "RollTable" - } - ], - "esmodules": [ - "./scripts/init.js" - ], - "url": "https://gitea.kdiva.ru/modules/sc-styles", - "manifest": "https://gitea.kdiva.ru/modules/sc-styles/raw/branch/main/src/module.json", - "download": "", - "manifestPlusVersion": "1.2.0" -} \ No newline at end of file diff --git a/src/styles/common.css b/src/styles/common.css new file mode 100644 index 0000000..cc2d74c --- /dev/null +++ b/src/styles/common.css @@ -0,0 +1,29 @@ +@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap'); + +/* HEADERS */ +h1,h3,h4,h5{ + font-family: 'AlegreyaSC Regular'; +} + +h2{ + font-family: 'AlegreyaSC Regular'; + font-weight: bold; +} +/* PARAGRAPHS */ +p { + text-indent: 20px; + margin-bottom: 0; + padding-bottom: 0; + font-stretch: wider; +} + +/* p + p { + text-indent: 20px; + margin-top: 0; + padding-top: 0; +} */ + +/* TABLES */ +table, th, td, tr { + border-style : none; +} \ No newline at end of file diff --git a/src/styles/core.css b/src/styles/core.css new file mode 100644 index 0000000..73e3b8a --- /dev/null +++ b/src/styles/core.css @@ -0,0 +1,46 @@ +.core-page { + padding :50; + font-family : 'Mookmania Regular'; +} + +/* TEXT BLOCKS */ +.core-page .note { + background-color : #d0e4c0; + border-image : url(https://static.kdiva.ru/foundry-main/images/note%2Dborder.png) 14 stretch; + border-image-outset : 6px 0px; + border-image-width : 11px; + padding-left : 10px; + padding-bottom : 1px; + margin : 7px; + font-family : 'Open Sans', sans-serif; +} + +.core-page .note h5{ + font-size: medium; + padding-top: 20; + margin-bottom: -10px; +} + +.core-page .note p{ + font-size: small; + margin-right: 20; + margin-bottom: 20; +} + +.core-page .descriptive { + background-color : #fffdec; + border-image : url(https://static.kdiva.ru/foundry-main/images/descriptive%2Dborder%2Dcommon.png) 12 stretch; + border-image-outset : 4px; + border-image-width : 11px; + padding-left : 10px; + padding-right : 10px; + padding-bottom : 10px; + padding-top : 1px; + margin : 7px; + font-family : 'Open Sans', sans-serif; +} + +/* TABLES */ +.core-page tr:nth-child(odd) td { + background-color : #d0e4c0; +} diff --git a/src/styles/descent-into-avernus.css b/src/styles/descent-into-avernus.css new file mode 100644 index 0000000..cda1943 --- /dev/null +++ b/src/styles/descent-into-avernus.css @@ -0,0 +1,47 @@ +/* PAGES */ +.bgdia-page { + padding :50; + font-family : 'Mookmania Regular'; +} + +/* NOTES */ +.bgdia-page .note { + background-color : #dbbfae; + border-image : url(https://static.kdiva.ru/foundry-main/images/note%2Dborder.png) 14 stretch; + border-image-outset : 6px 0px; + border-image-width : 11px; + padding-left : 10px; + padding-bottom : 1px; + margin : 7px; + font-family : 'Open Sans', sans-serif; +} + +.bgdia-page .note h5{ + font-size: medium; + padding-top: 20; + margin-bottom: -10px; +} + +.bgdia-page .note p{ + font-size: small; + margin-right: 20; + margin-bottom: 20; +} + +.bgdia-page .descriptive { + background-color : #fdfde9; + border-image : url(https://static.kdiva.ru/foundry-main/images/descriptive%2Dborder%2Dcommon.png) 12 stretch; + border-image-outset : 4px; + border-image-width : 11px; + padding-left : 10px; + padding-right : 10px; + padding-bottom : 10px; + padding-top : 1px; + margin : 7px; + font-family : 'Open Sans', sans-serif; +} + +/* TABLES */ +.bgdia-page tr:nth-child(odd) td { + background-color : #dbbfae; +} diff --git a/src/styles/rime-of-the-frostmaiden.css b/src/styles/rime-of-the-frostmaiden.css new file mode 100644 index 0000000..8c1d2f8 --- /dev/null +++ b/src/styles/rime-of-the-frostmaiden.css @@ -0,0 +1,46 @@ +.frostmaiden-page { + padding :50; + font-family : 'Mookmania Regular'; +} + +/* TEXT BLOCKS */ +.frostmaiden-page .note { + background-color : #afd0c9; + border-image : url(https://static.kdiva.ru/foundry-main/images/note%2Dborder.png) 14 stretch; + border-image-outset : 6px 0px; + border-image-width : 11px; + padding-left : 10px; + padding-bottom : 1px; + margin : 7px; + font-family : 'Open Sans', sans-serif; +} + +.frostmaiden-page .note h5{ + font-size: medium; + padding-top: 20; + margin-bottom: -10px; +} + +.frostmaiden-page .note p{ + font-size: small; + margin-right: 20; + margin-bottom: 20; +} + +.frostmaiden-page .descriptive { + background-color : #c9e2e7; + border-image : url(https://static.kdiva.ru/foundry-main/images/descriptive%2Dborder%2Dcommon.png) 12 stretch; + border-image-outset : 4px; + border-image-width : 11px; + padding-left : 10px; + padding-right : 10px; + padding-bottom : 10px; + padding-top : 1px; + margin : 7px; + font-family : 'Open Sans', sans-serif; +} + +/* TABLES */ +.frostmaiden-page tr:nth-child(odd) td { + background-color : #cbd4db; +} diff --git a/src/styles/warriors-of-seanine.css b/src/styles/warriors-of-seanine.css new file mode 100644 index 0000000..3cb2824 --- /dev/null +++ b/src/styles/warriors-of-seanine.css @@ -0,0 +1,50 @@ +/* PAGES */ +.wos-page { + padding :50; + font-family : 'Mookmania Regular'; +} + +.wos-page b { + color: #b36d68; +} +/* NOTES */ +.wos-page .note { + background-color : #d1b6b4; + border-image : url(https://static.kdiva.ru/foundry-main/images/note%2Dborder.png) 14 stretch; + border-image-outset : 6px 0px; + border-image-width : 11px; + padding-left : 10px; + padding-bottom : 1px; + margin : 7px; + font-family : 'Open Sans', sans-serif; +} + +.wos-page .note h5{ + font-size: medium; + padding-top: 20; + margin-bottom: -10px; +} + +.wos-page .note p{ + font-size: small; + margin-right: 20; + margin-bottom: 20; +} + +.wos-page .descriptive { + background-color : #d1c5b4; + border-image : url(https://static.kdiva.ru/foundry-main/images/descriptive%2Dborder%2Dcommon.png) 12 stretch; + border-image-outset : 4px; + border-image-width : 11px; + padding-left : 10px; + padding-right : 10px; + padding-bottom : 10px; + padding-top : 1px; + margin : 7px; + font-family : 'Open Sans', sans-serif; +} + +/* TABLES */ +.wos-page tr:nth-child(odd) td { + background-color : #d1c5b4; +}