mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-08 04:28:41 +00:00
Add the \KaTeX command
Summary: Add a command to print out a TeX-style logo for KaTeX. I think the code is okay, but suggestions for the design of the logo are most welcome (I'll post screenshots soon). Test Plan: Make sure \KaTeX renders, and the tests still succeed. Reviewers: alpert Reviewed By: alpert Differential Revision: http://phabricator.khanacademy.org/D3443
This commit is contained in:
@@ -165,3 +165,21 @@ big parens
|
||||
.katex .green { color: #28ae7b; }
|
||||
.katex .gray { color: gray; }
|
||||
.katex .purple { color: #9d38bd; }
|
||||
|
||||
.katex .katex-logo .a {
|
||||
font-size: 0.75em;
|
||||
margin-left: -0.32em;
|
||||
position: relative;
|
||||
top: -0.2em;
|
||||
}
|
||||
.katex .katex-logo .t {
|
||||
margin-left: -0.23em;
|
||||
}
|
||||
.katex .katex-logo .e {
|
||||
margin-left: -0.1667em;
|
||||
position: relative;
|
||||
top: 0.2155em;
|
||||
}
|
||||
.katex .katex-logo .x {
|
||||
margin-left: -0.125em;
|
||||
}
|
||||
|
Reference in New Issue
Block a user