0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +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),
},
{
name : 'Script Sample',
name : 'Rune Table',
icon : 'fas fa-language',
gen : scriptGen.dwarvish,
experimental : true,

View File

@@ -3,8 +3,8 @@ const dedent = require('dedent-tabs').default;
module.exports = {
dwarvish: () => {
return dedent `##### Dwarvish Script: Sample Alphabet
{{script,wide,frame,dwarvish
return dedent `##### Dwarvish Runes: Sample Alphabet
{{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 |
@@ -15,8 +15,8 @@ module.exports = {
}}`;
},
elvish: () => {
return dedent `##### Elvish Script: Sample Alphabet
{{script,wide,frame,elvish
return dedent `##### Elvish Runes: Sample Alphabet
{{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 |
@@ -27,8 +27,8 @@ module.exports = {
}}`;
},
draconic: () => {
return dedent `##### Draconic Script: Sample Alphabet
{{script,wide,frame,draconic
return dedent `##### Draconic Runes: Sample Alphabet
{{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 |
@@ -42,7 +42,7 @@ module.exports = {
};
()=>{
};
};

View File

@@ -903,32 +903,30 @@ break-inside : avoid;
}
//*****************************
// * SCRIPT
// * RUNE TABLE
// *****************************/
.page {
.script {
.runeTable {
margin-block: 0.7cm;
table {
tr {
background: unset !important;
th,
td {
width: 1.3cm;
height: 1.3cm;
vertical-align: middle !important;
font-family: BookInsanityRemake;
text-transform: uppercase;
outline: 1px solid #000;
font-weight: normal;
}
th{
font-size: 0.45cm;
}
td {
font-size: 0.7cm;
}
font-family : inherit;
tbody tr {
background: unset;
}
th, td {
width: 1.3cm;
height: 1.3cm;
vertical-align: middle;
text-transform: uppercase;
outline: 1px solid #000;
font-weight: normal;
}
th{
font-family: BookInsanityRemake;
font-size: 0.45cm;
}
td {
font-size: 0.7cm;
}
}
@@ -941,23 +939,5 @@ break-inside : avoid;
border-image-source: @scriptBorder;
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;
}
}
}