0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 22:52:40 +00:00

Fix numbers on ScalySans fonts

In the latest version of fonts found online, numbers got restyled and misaligned. Copied numbers from old font version.
This commit is contained in:
Trevor Buckner
2021-03-31 11:39:21 -04:00
parent d15bec08a3
commit b90caaba85
16 changed files with 84 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 930 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

File diff suppressed because one or more lines are too long

View File

@@ -213,6 +213,86 @@ body {
//*****************************
// * MONSTER STAT BLOCK
// *****************************/
.monster {
.useSansSerif();
position : relative;
padding : 5px;
font-family : ScalySansRemake;
font-size : 0.352cm;
line-height : 1.1em;
background-color : @monsterStatBackground;
border-style : solid;
border-width : 10px;
background-image : @monsterBlockBackground;
border-image : @monsterBorderImage 14 round;
box-shadow : 1px 4px 14px #888;
-webkit-transform : translateZ(0); //Prevents shadows from breaking across columns
p + p {
margin-top : 1em;
text-indent : 0;
}
//Headers
h3{
font-family : ScalySansRemake;
font-weight : 400;
border-bottom : 1px solid @headerText;
}
//Triangle dividers
hr{
visibility : visible;
height : 6px;
margin : 4px 0px;
background-image : @redTriangleImage;
background-size : 100% 100%;
border : none;
}
//Attribute Lists
dl {
.useSansSerif();
color : @headerText;
//lettr-spacing: -0.02em;
//font-size:.352cm;
//line-height:1.1em;
padding-left:1.3em;
text-indent:-1.3em;
}
dd {
text-indent: 0px;
}
// Monster Ability table
hr + table{ //TODO: only select first table that immediately follows HR
margin : 0;
column-span : 1;
background-color : transparent;
border-style : none;
border-image : none;
-webkit-column-span : 1;
tbody{
tr:nth-child(odd), tr:nth-child(even){
background-color : transparent;
}
}
}
table{
color : @headerText;
}
}
// OLD MONSTER BLOCK
hr+blockquote{
position : relative;
padding-top : 15px;