0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-11 17:42:42 +00:00

Use font-family vs classes. Rename to runeTable

This commit is contained in:
Trevor Buckner
2023-03-22 16:58:32 -04:00
parent 801f66c483
commit c6210280eb
3 changed files with 29 additions and 49 deletions

View File

@@ -170,7 +170,7 @@ module.exports = [
gen : MonsterBlockGen.monster('monster,frame,wide', 4), gen : MonsterBlockGen.monster('monster,frame,wide', 4),
}, },
{ {
name : 'Script Sample', name : 'Rune Table',
icon : 'fas fa-language', icon : 'fas fa-language',
gen : scriptGen.dwarvish, gen : scriptGen.dwarvish,
experimental : true, experimental : true,

View File

@@ -3,8 +3,8 @@ const dedent = require('dedent-tabs').default;
module.exports = { module.exports = {
dwarvish: () => { dwarvish: () => {
return dedent `##### Dwarvish Script: Sample Alphabet return dedent `##### Dwarvish Runes: Sample Alphabet
{{script,wide,frame,dwarvish {{runeTable,wide,frame,font-family:Davek
| a | b | c | d | e | f | g | h | i | j | k | l | m | | a | b | c | d | e | f | g | h | i | j | k | l | m |
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:| |:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
| a | b | c | d | e | f | g | h | i | j | k | l | m | | a | b | c | d | e | f | g | h | i | j | k | l | m |
@@ -15,8 +15,8 @@ module.exports = {
}}`; }}`;
}, },
elvish: () => { elvish: () => {
return dedent `##### Elvish Script: Sample Alphabet return dedent `##### Elvish Runes: Sample Alphabet
{{script,wide,frame,elvish {{runeTable,wide,frame,font-family:Rellanic
| a | b | c | d | e | f | g | h | i | j | k | l | m | | a | b | c | d | e | f | g | h | i | j | k | l | m |
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:| |:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
| a | b | c | d | e | f | g | h | i | j | k | l | m | | a | b | c | d | e | f | g | h | i | j | k | l | m |
@@ -27,8 +27,8 @@ module.exports = {
}}`; }}`;
}, },
draconic: () => { draconic: () => {
return dedent `##### Draconic Script: Sample Alphabet return dedent `##### Draconic Runes: Sample Alphabet
{{script,wide,frame,draconic {{runeTable,wide,frame,font-family:Iokharic
| a | b | c | d | e | f | g | h | i | j | k | l | m | | a | b | c | d | e | f | g | h | i | j | k | l | m |
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:| |:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
| a | b | c | d | e | f | g | h | i | j | k | l | m | | a | b | c | d | e | f | g | h | i | j | k | l | m |
@@ -42,7 +42,7 @@ module.exports = {
}; };
()=>{ ()=>{
}; };

View File

@@ -903,32 +903,30 @@ break-inside : avoid;
} }
//***************************** //*****************************
// * SCRIPT // * RUNE TABLE
// *****************************/ // *****************************/
.page { .page {
.script { .runeTable {
margin-block: 0.7cm; margin-block: 0.7cm;
table { table {
tr { font-family : inherit;
background: unset !important; tbody tr {
th, background: unset;
td { }
width: 1.3cm; th, td {
height: 1.3cm; width: 1.3cm;
vertical-align: middle !important; height: 1.3cm;
font-family: BookInsanityRemake; vertical-align: middle;
text-transform: uppercase; text-transform: uppercase;
outline: 1px solid #000; outline: 1px solid #000;
font-weight: normal;
font-weight: normal; }
} th{
th{ font-family: BookInsanityRemake;
font-size: 0.45cm; font-size: 0.45cm;
} }
td { td {
font-size: 0.7cm; font-size: 0.7cm;
}
} }
} }
@@ -941,23 +939,5 @@ break-inside : avoid;
border-image-source: @scriptBorder; border-image-source: @scriptBorder;
border-image-width: 1.4cm; border-image-width: 1.4cm;
} }
&.dwarvish table tr td {
font-family: Davek;
font-size: .45cm;/*this should be fixed in the font*/
}
&.elvish table tr td {
font-family: Rellanic;
}
&.draconic table tr td {
font-family: Iokharic;
}
} }
} }