Compare commits

...

2 Commits

Author SHA1 Message Date
dmitry kirdyashkin 1ee2b34d98 v1.0.0 2024-03-13 23:27:24 +03:00
dmitry kirdyashkin 939ff63207 v1.0.0 2024-03-13 23:27:16 +03:00
8 changed files with 247 additions and 91 deletions

1
helper-scripts 160000

@ -0,0 +1 @@
Subproject commit a457525145ba1d5ad3b1762c40056b6316099b21

View File

@ -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"
]
}

View File

@ -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"
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}