mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-07 03:22:38 +00:00
Move Credits snippet to Blank
This commit is contained in:
@@ -212,22 +212,6 @@ module.exports = [
|
|||||||
}}
|
}}
|
||||||
\n`;
|
\n`;
|
||||||
},
|
},
|
||||||
},
|
|
||||||
{
|
|
||||||
name : 'Homebrewery Credit',
|
|
||||||
icon : 'fas fa-dice-d20',
|
|
||||||
gen : function(){
|
|
||||||
return dedent`
|
|
||||||
{{homebreweryCredits
|
|
||||||
Made With
|
|
||||||
|
|
||||||
{{homebreweryIcon,gold}}
|
|
||||||
|
|
||||||
The Homebrewery
|
|
||||||
[Homebrewery.NaturalCrit.com](https://homebrewery.naturalcrit.com)
|
|
||||||
}}
|
|
||||||
\n`;
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1047,34 +1047,3 @@ body { counter-reset : phb-page-numbers; }
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//*****************************
|
|
||||||
//* CREDITS
|
|
||||||
//*****************************/
|
|
||||||
.page .homebreweryCredits {
|
|
||||||
font-family: "NodestoCapsWide";
|
|
||||||
font-size: .4cm;
|
|
||||||
line-height: 1em;
|
|
||||||
text-align: center;
|
|
||||||
text-indent: 0;
|
|
||||||
letter-spacing: .08em;
|
|
||||||
}
|
|
||||||
.page .homebreweryCredits a {
|
|
||||||
color: inherit;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
.page .homebreweryCredits a:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
.page .homebreweryCredits .homebreweryIcon {
|
|
||||||
margin: 10px auto;
|
|
||||||
display: block;
|
|
||||||
height: 75px;
|
|
||||||
mask: url(/assets/naturalCritLogoWhite.svg) center / contain no-repeat;
|
|
||||||
-webkit-mask: url(/assets/naturalCritLogoWhite.svg) center / contain no-repeat;
|
|
||||||
background-color: red;
|
|
||||||
}
|
|
||||||
.page .homebreweryCredits .homebreweryIcon.gold {
|
|
||||||
background-image: linear-gradient(to top left, brown 22.5%, gold 40%, white 60%, gold 67.5%, brown 82.5%);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -111,6 +111,22 @@ module.exports = [
|
|||||||
icon : 'fas fa-code',
|
icon : 'fas fa-code',
|
||||||
gen : '<!-- This is a comment that will not be rendered into your brew. Hotkey (Ctrl/Cmd + /). -->'
|
gen : '<!-- This is a comment that will not be rendered into your brew. Hotkey (Ctrl/Cmd + /). -->'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name : 'Homebrewery Credit',
|
||||||
|
icon : 'fas fa-dice-d20',
|
||||||
|
gen : function(){
|
||||||
|
return dedent`
|
||||||
|
{{homebreweryCredits
|
||||||
|
Made With
|
||||||
|
|
||||||
|
{{homebreweryIcon,gold}}
|
||||||
|
|
||||||
|
The Homebrewery
|
||||||
|
[Homebrewery.NaturalCrit.com](https://homebrewery.naturalcrit.com)
|
||||||
|
}}
|
||||||
|
\n`;
|
||||||
|
},
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -463,3 +463,34 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//*****************************
|
||||||
|
//* CREDITS
|
||||||
|
//*****************************/
|
||||||
|
.page .homebreweryCredits {
|
||||||
|
font-family: "NodestoCapsWide";
|
||||||
|
font-size: .4cm;
|
||||||
|
line-height: 1em;
|
||||||
|
text-align: center;
|
||||||
|
text-indent: 0;
|
||||||
|
letter-spacing: .08em;
|
||||||
|
}
|
||||||
|
.page .homebreweryCredits a {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.page .homebreweryCredits a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
.page .homebreweryCredits .homebreweryIcon {
|
||||||
|
margin: 10px auto;
|
||||||
|
display: block;
|
||||||
|
height: 75px;
|
||||||
|
mask: url(/assets/naturalCritLogoWhite.svg) center / contain no-repeat;
|
||||||
|
-webkit-mask: url(/assets/naturalCritLogoWhite.svg) center / contain no-repeat;
|
||||||
|
background-color: red;
|
||||||
|
}
|
||||||
|
.page .homebreweryCredits .homebreweryIcon.gold {
|
||||||
|
background-image: linear-gradient(to top left, brown 22.5%, gold 40%, white 60%, gold 67.5%, brown 82.5%);
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user