diff --git a/docs/_layouts/landing.html b/docs/_layouts/landing.html index 09d16a5b..6a5c2282 100644 --- a/docs/_layouts/landing.html +++ b/docs/_layouts/landing.html @@ -8,18 +8,31 @@ {{ site.title }}{% if page.title %} | {{ page.title }}{% endif %} - - + {% seo %} - -
-
- + +
+
+ +
+
{{ content }}
+ +
+
+
+
+
+
{% if site.google_analytics_id != "" %} diff --git a/docs/css/main.css b/docs/css/main.css index cc8889ec..7f24b8e9 100644 --- a/docs/css/main.css +++ b/docs/css/main.css @@ -95,7 +95,7 @@ a { } #landing h1 { - font-size: 4em; + font-size: 10vw; color: white; margin-top: 16px; margin-bottom: 0px; @@ -103,6 +103,12 @@ a { font-weight: bold; } +@media (min-width: 576px) { + #landing h1 { + font-size: 4em; + } +} + #landing p { font-size: 1.2em; color: rgba(255, 255, 255, 0.7); @@ -117,13 +123,21 @@ a { border-radius: 24px; padding: 10px 20px 10px 20px; margin-top: 16px; - margin-left: 8px; - margin-right: 8px; display: inline-block; font-family: 'Calistoga', sans-serif; font-size: 1.1em; } +#landing #screenshots img { + max-width: 100%; + padding: 12px; +} + +#landing #screenshots { + margin-top: 24px; + margin-bottom: 24px; +} + #navigation { font-size: 1.0em; } diff --git a/docs/index.md b/docs/index.md index d1b7b149..f9340e8c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,8 +6,4 @@ title: "CameraView" # CameraView A well documented, high-level library that makes capturing pictures and videos easy, -addressing all of the common issues and needs. Supports real-time filters, gestures, watermarks, frame processing, RAW, outputs of any size and much more. - -
- -[Documentation](home) [GitHub](https://github.com/natario1/CameraView) [Support](extra/donate) +addressing all of the common issues and needs. Supports real-time filters, gestures, watermarks, frame processing, RAW, outputs of any size and much more. \ No newline at end of file