mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-08 18:22:40 +00:00
Merge branch 'master' into License_Snippets_Redux
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "5e PHB",
|
||||
"renderer" : "V3",
|
||||
"baseTheme" : false,
|
||||
"baseTheme" : "Blank",
|
||||
"baseSnippets" : false
|
||||
}
|
||||
|
||||
@@ -349,7 +349,7 @@ module.exports = [
|
||||
/* Ink Friendly */
|
||||
*:is(.page,.monster,.note,.descriptive) {
|
||||
background : white !important;
|
||||
filter : drop-shadow(0px 0px 3px #888) !important;
|
||||
box-shadow : 1px 4px 14px #888 !important;
|
||||
}
|
||||
|
||||
.page img {
|
||||
|
||||
@@ -35,7 +35,7 @@ const getTOC = (pages)=>{
|
||||
const ToCExclude = getComputedStyle(heading).getPropertyValue('--TOC');
|
||||
|
||||
if(ToCExclude != 'exclude') {
|
||||
recursiveAdd(heading.innerText.trim(), onPage, headerDepth.indexOf(heading.tagName), res);
|
||||
recursiveAdd(heading.textContent.trim(), onPage, headerDepth.indexOf(heading.tagName), res);
|
||||
}
|
||||
});
|
||||
return res;
|
||||
|
||||
@@ -382,6 +382,14 @@
|
||||
.useColumns(0.96, @fillMode: balance);
|
||||
}
|
||||
|
||||
//only for IOS devices
|
||||
@supports (-webkit-touch-callout: none) {
|
||||
.page .monster.frame {
|
||||
background-repeat : no-repeat;
|
||||
background-size : cover;
|
||||
}
|
||||
}
|
||||
|
||||
// *****************************
|
||||
// * FOOTER
|
||||
// *****************************/
|
||||
@@ -459,6 +467,7 @@
|
||||
margin-left : 1.5em;
|
||||
}
|
||||
}
|
||||
|
||||
// *****************************
|
||||
// * SPELL LIST
|
||||
// *****************************/
|
||||
@@ -907,6 +916,10 @@ h6,
|
||||
|
||||
.page h1 + * { margin-top : 0; }
|
||||
|
||||
.page .descriptive.wide + * {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
//*****************************
|
||||
// * RUNE TABLE
|
||||
// *****************************/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name" : "Journal",
|
||||
"renderer" : "V3",
|
||||
"baseTheme" : false,
|
||||
"baseTheme" : "Blank",
|
||||
"baseSnippets" : "5ePHB"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user