diff --git a/README.md b/README.md index 48ec668..30d9bd7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ # Библиотека стилей +## v1.1.4.0 +* добавлен общий стиль оформления журналов dnd +* исправлен стиль журналов приключения `воины Сеанин` ## v1.1.3.2 * добавлено оформление для h5 ## v1.1.3.1 diff --git a/helper-scripts b/helper-scripts index ce582f5..a457525 160000 --- a/helper-scripts +++ b/helper-scripts @@ -1 +1 @@ -Subproject commit ce582f5b3835762ea5c67d6669dee0c08f8e09c1 +Subproject commit a457525145ba1d5ad3b1762c40056b6316099b21 diff --git a/module.json.template b/module.json.template index 64c02a3..d5e7410 100644 --- a/module.json.template +++ b/module.json.template @@ -21,6 +21,7 @@ "styles": [ "styles/common.css", "styles/core.css", + "styles/dnd-core.css", "styles/rime-of-the-frostmaiden.css", "styles/warriors-of-sehanine.css", "styles/descent-into-avernus.css", diff --git a/src/styles/dnd-core.css b/src/styles/dnd-core.css new file mode 100644 index 0000000..ef9396d --- /dev/null +++ b/src/styles/dnd-core.css @@ -0,0 +1,83 @@ +/* Основной текст */ +@font-face { + font-family : mookmania-regular; + src : url(https://static.kdiva.ru/foundry-main/fonts/mookmania.otf); +} +/* Врезки и таблицы */ +@font-face { + font-family : open-sans; + src : url(https://static.kdiva.ru/foundry-main/fonts/open-sans.ttf); +} +/* Заголовки глав и разделов */ +@font-face { + font-family : alegreya-sc; + src : url(https://static.kdiva.ru/foundry-main/fonts/alegreyasc-regular.ttf); +} +/* Заголовки врезок и таблиц, подписи под картинками */ +@font-face { + font-family : alegreya-sans-sc; + src : url(https://static.kdiva.ru/foundry-main/fonts/alegreyasanssc-regular.ttf); +} +/* Заголовок обложки */ +@font-face { + font-family : nodesto-cyrillic; + src : url(https://static.kdiva.ru/foundry-main/fonts/nodesto-cyrillic-regular.ttf); +} +/* Текст внизу обложки («…для лучшей в мире ролевой игры») */ +@font-face { + font-family : alegreya-sans; + src : url(https://static.kdiva.ru/foundry-main/fonts/alegreyasans-regular.ttf); +} +/* Буквицы */ +@font-face { + font-family : volberra; + src : url(https://static.kdiva.ru/foundry-main/fonts/volberra-regular.ttf); +} + +/* SYSTEM */ +.sheet.dnd5e2-journal.journal-entry .journal-entry-content { + background-image: url(null); + background-color: #ffffff; +} + +/* COMMON */ +.dnd-core { + font-family : 'mookmania-regular'; +} + +.dnd-core p{ + text-indent : 0px; + margin : auto; +} + +.dnd-core p+p { + text-indent : 20px; +} + +.dnd-core h1,.dnd-core h2,.dnd-core h3, .dnd-core h4, .dnd-core h5 { + margin-bottom : auto; + font-family : 'alegreya-sc'; +} + +/* TEXT BLOCKS */ +.dnd-core .note { + margin : 10px; + padding : 10px; + font-family : 'open-sans'; +} + +.dnd-core .note h4 { + font-weight : bold; + margin : auto; + font-family : 'alegreya-sans-sc'; +} + +.dnd-core .descriptive { + margin : 10px; + padding : 10px; + font-family : 'open-sans'; +} + +.dnd-core .class-block p{ + text-indent : 0px; +} diff --git a/src/styles/warriors-of-sehanine.css b/src/styles/warriors-of-sehanine.css index d6c1ed9..d7467ac 100644 --- a/src/styles/warriors-of-sehanine.css +++ b/src/styles/warriors-of-sehanine.css @@ -1,14 +1,11 @@ +/* WARRIORS OF SEHANINE*/ +/* COMMON */ .wos-page { - font-family : 'Mookmania Regular'; - margin : 10px; + inherits : all; } -.wos-page p { - margin : auto; -} - -.wos-page p+p { - text-indent : 20px; +.wos-page strong { + color: #b36d68; } /* TEXT BLOCKS */ @@ -17,16 +14,6 @@ border-image : url(https://static.kdiva.ru/foundry-main/images/note%2Dborder.png) 14 stretch; border-image-outset : 6px 0px; border-image-width : 11px; - font-family : 'Open Sans', sans-serif; - font-size : small; - padding : 10px; - margin-top : 20px; - margin-bottom : 10px; -} - -.wos-page .note h4{ - font-size : medium; - font-family : 'Open Sans', sans-serif; } .wos-page .descriptive { @@ -34,10 +21,6 @@ border-image : url(https://static.kdiva.ru/foundry-main/images/descriptive%2Dborder%2Dcommon.png) 12 stretch; border-image-outset : 6px; border-image-width : 10px; - font-family : 'Open Sans', sans-serif; - font-size : small; - padding : 10px; - margin-bottom : 20px; } /* TABLES */