mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-03 10:32:39 +00:00
Merge pull request #3074 from G-Ambatte/addCreditsSnippet-#283
Add basic Homebrewery credits snippet
This commit is contained in:
@@ -111,6 +111,21 @@ 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}}
|
||||||
|
|
||||||
|
The Homebrewery
|
||||||
|
[Homebrewery.Naturalcrit.com](https://homebrewery.naturalcrit.com)
|
||||||
|
}}\n\n`;
|
||||||
|
},
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -461,3 +461,38 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//*****************************
|
||||||
|
//* CREDITS
|
||||||
|
//*****************************/
|
||||||
|
.page .homebreweryCredits {
|
||||||
|
p {
|
||||||
|
font-family: "NodestoCapsWide";
|
||||||
|
font-size: .4cm;
|
||||||
|
line-height: 1em;
|
||||||
|
text-align: center;
|
||||||
|
text-indent: 0;
|
||||||
|
letter-spacing: .08em;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
&:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.homebreweryIcon {
|
||||||
|
margin: 0 auto;
|
||||||
|
display: block;
|
||||||
|
height: 1.5cm;
|
||||||
|
mask: url(/assets/naturalCritLogoWhite.svg) center / contain no-repeat;
|
||||||
|
-webkit-mask: url(/assets/naturalCritLogoWhite.svg) center / contain no-repeat;
|
||||||
|
background-color: black;
|
||||||
|
}
|
||||||
|
.homebreweryIcon.red {
|
||||||
|
background-color: red;
|
||||||
|
}
|
||||||
|
.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