From 5fa973f3d24d8b254f52dee5fc10203aa6e4ea29 Mon Sep 17 00:00:00 2001 From: "dmitry.kirdyashkin" Date: Fri, 7 Jun 2024 16:31:09 +0300 Subject: [PATCH] v1.1.3.0 --- README.md | 3 ++ helper-scripts | 2 +- src/styles/pf2/pf-core.css | 81 ++++++++++++++++++++++++++++ src/styles/pf2/troubles-in-otari.css | 57 ++++++++++++++------ 4 files changed, 127 insertions(+), 16 deletions(-) create mode 100644 src/styles/pf2/pf-core.css diff --git a/README.md b/README.md index 1e85c94..6e052f3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ # Библиотека стилей +## v1.1.3.0 +* добавлен общий стиль оформления журналов pf2e +* оформление приключения неприятности в Отари вынесен в отдельный файл ## v1.1.2.0 * добавлен стиль для приключения неприятности в Отари ## v1.1.1.0 diff --git a/helper-scripts b/helper-scripts index a457525..ce582f5 160000 --- a/helper-scripts +++ b/helper-scripts @@ -1 +1 @@ -Subproject commit a457525145ba1d5ad3b1762c40056b6316099b21 +Subproject commit ce582f5b3835762ea5c67d6669dee0c08f8e09c1 diff --git a/src/styles/pf2/pf-core.css b/src/styles/pf2/pf-core.css new file mode 100644 index 0000000..796ca87 --- /dev/null +++ b/src/styles/pf2/pf-core.css @@ -0,0 +1,81 @@ +@font-face { + font-family : ff-good-pro-regular; + src : url(https://static.kdiva.ru/foundry-main/pf2/fonts/FFGoodPro-Regular.woff2); +} + +@font-face { + font-family : sabon-cyr-roman; + src : url(https://static.kdiva.ru/foundry-main/pf2/fonts/SabonCyr-Roman.woff2); +} + +@font-face { + font-family : kurale-regular; + src : url(https://static.kdiva.ru/foundry-main/pf2/fonts/Kurale-Regular.otf); +} + +/* SYSTEM */ +.sheet.journal-entry .journal-entry-content { + background-image: url(null); + background-color: #ffffff; +} + +/* COMMON */ +.pf-core { + font-family : 'sabon-cyr-roman'; + margin : 10px; + font-size : 16px; +} + +.pf-core p{ + text-indent : 0px; + margin : auto; +} + +.pf-core p+p { + text-indent : 20px; +} + +.pf-core h1,.pf-core h2,.pf-core h3 { + margin-bottom : auto; + font-family : 'kurale-regular'; +} + +.pf-core h4 { + margin-bottom : auto; + font-family : 'ff-good-pro-regular'; + font-weight : bold; +} + +/* TEXT BLOCKS */ +.pf-core .note { + border-image-outset : 6px 0px; + border-image-width : 15px; + margin-top : 20px; + margin-bottom : 20px; + padding : 20px; + font-family : 'ff-good-pro-regular'; +} + +.pf-core .note h4 { + text-align : center; + font-weight : bold; + margin-top : -5px; + margin-bottom : 5px; + font-family : 'ff-good-pro-regular'; +} + +.pf-core .note p { + line-height: 20px; +} + +.pf-core .descriptive { + font-family : 'ff-good-pro-regular'; +} + +.pf-core .descriptive p{ + line-height : 20px; +} + +.pf-core .descriptive hr { + border : 1px solid #000000; +} \ No newline at end of file diff --git a/src/styles/pf2/troubles-in-otari.css b/src/styles/pf2/troubles-in-otari.css index 783085f..91aa34c 100644 --- a/src/styles/pf2/troubles-in-otari.css +++ b/src/styles/pf2/troubles-in-otari.css @@ -1,25 +1,52 @@ -@import url('https://fonts.googleapis.com/css2?family=Tauri&display=swap'); +.tio-page { + inherits : all; +} -.core-page { - font-family : 'Mookmania Regular'; - margin : 10px; +.tio-page h3,.tio-page h4 { + color : #306237; } /* TEXT BLOCKS */ -.core-page .note { +.tio-page .note { background-color : #f0e9e2; - border-image : url(https://static.kdiva.ru/foundry-main/pf2/adventures/troubles-in-otari/css/note-border-2.webp) 40 stretch; + border-image : url(https://static.kdiva.ru/foundry-main/pf2/adventures/troubles-in-otari/css/note-border.webp) 40 stretch; border-image-outset : 6px 0px; - border-image-width : 20px; - font-family : 'Tauri'; + border-image-width : 15px; margin-top : 20px; - padding : 10px; + margin-bottom : 20px; + padding : 20px; + font-family : ff-good-pro-regular; } -.core-page .note h4 { - text-align: center; - font-size: 30px; - color: #306237; - margin-top : 10px; - margin-bottom : -10px; +.tio-page .note h4 { + color : #306237; +} + +.tio-page .note p { + line-height: 20px; +} + +.tio-page .descriptive { + color : #9a3d4e; +} + +.tio-page .header { + background-image : url(https://static.kdiva.ru/foundry-main/pf2/adventures/troubles-in-otari/css/page-header.webp); + padding : 50px; + background-repeat : no-repeat; + background-size : cover; + background-position : center center; +} + +.tio-page .image { + float : right; + border-width : 0px; +} + +.tio-page .image figcaption { + text-align : center; +} + +.tio-page .image figcaption h4 { + font-family : 'kurale-regular'; } \ No newline at end of file