diff --git a/index.html b/index.html index c9ef0a843..d733c9467 100644 --- a/index.html +++ b/index.html @@ -18,7 +18,7 @@ The fastest math typesetting library for the web.
- Download View on GitHub + Download View on GitHub
@@ -43,17 +43,38 @@ f(x) = \int_{-\infty}^\infty
Simple API, no dependencies – yet super-fast on all major browsers.
-
-
-
+ + + +
+
+
+
+
+ +
+ Lightning-fast, even on pages with hundreds of expressions: +
+ +
+
+
MathJax
+
+
diff --git a/katex-comparison.gif b/katex-comparison.gif new file mode 100644 index 000000000..c62f2893f Binary files /dev/null and b/katex-comparison.gif differ diff --git a/main.css b/main.css index 8e77b9f67..26b556b3d 100644 --- a/main.css +++ b/main.css @@ -60,7 +60,7 @@ body { .demo { box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); - font-size: 18px; + font-size: 22px; margin: 50px 0 0; } @@ -74,7 +74,7 @@ body { .demo-right { box-sizing: border-box; float: left; - padding: 30px; + padding: 20px 30px; width: 50%; } @@ -122,18 +122,52 @@ body { color: #329894; font-size: 24px; font-weight: 600; - padding: 10px 0; + padding: 20px 0; text-align: center; } +.main .features { + font-size: 20px; + margin: 0 auto; + width: 540px; +} + +.main .examples { + margin: 40px 0; +} + .main .example { font-size: 15px; text-align: center; margin: 30px 0; } +.main .comparison-labels { + width: 100%; + height: 40px; +} + +.main .comparison-labels .left, +.main .comparison-labels .right { + box-sizing: border-box; + width: 50%; + float: left; + height: 40px; + text-align: center; + font-size: 20px; +} + +.main .comparison { + background-image: url(katex-comparison.gif); + background-position: 50% 50%; + background-size: cover; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); + height: 340px; + width: 100%; +} + .main .cta { - padding-top: 30px; + padding-top: 50px; } .main .cta a { @@ -154,3 +188,12 @@ body { border: none; vertical-align: -1px; } + +.created-by { + float: right; + font-size: 18px; +} + +.created-by a { + color: white; +}