Landing page almost complete

This commit is contained in:
Angelos Chalaris 2017-10-27 18:54:28 +03:00
parent f879c76d15
commit c29638fae8
5 changed files with 49 additions and 15 deletions

View file

@ -83,3 +83,5 @@
- Changed a lot of the layout and choices made in the `index.html` page, mainly to create a better and more coherent landing page.
- Designed and added `responsive.svg`.
- Created the responsiveness and speed section.
- Created tailored section.
- Landing page is mostly complete, footer and some minor changes are missing, I can start working on the rest of the docs now.

View file

@ -37,28 +37,26 @@
<div class="row padded">
<div class="col-sm-12 col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
<img src="./responsive.svg" class="feature-image">
<h2 style="text-align:center;" class="feature-header">Fast and Responsive</h2><br>
<h2 class="feature-header">Fast and Responsive</h2><br>
<p>Want to build websites that look beautiful on any and all devices, but also load fast on mobile connections? Then <strong>mini.css</strong> is the right tool for you! Its tiny size (under 10KB gzipped), along with its <strong>responsive grid</strong> and modern components ensures that all your users are satisfied and can access your website anytime, anywhere. Bridging the gap between fully-featured frameworks (e.g. Bootstrap and Semantic UI) and micro frameworks (e.g. Milligram and Pure.CSS), <strong>mini.css</strong> packs a lot of features in a small package, while it relies solely on CSS, meaning you do not have to worry about any conflicts with other Javascript libraries you might be using.</p>
</div>
</div>
<div class="row padded" style="background: #f3f3f3">
<div class="row padded alt-back">
<div class="col-sm-12 col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
<img src="./tailored.svg" class="feature-image">
<h2 style="text-align:center;" class="feature-header">Tailored to Your Needs</h2><br>
<p>Creating a CSS framework that caters to everyone's needs is no easy task, but <strong>mini.css</strong> manages to rise to the occasion by providing extensive and coherent documentation in combination with templates, examples and semantic HTML markup. Common UX patterns and accessibility guidelines are well-documented and can be used out of the box, using one of the unique <strong>flavors</strong> that the framework provides. If you still want more, you can create your own custom flavor or tweak an existing one just by opening its CSS file and changing a few custom properties. It's that simple! </p>
<h2 class="feature-header">Tailored to Your Needs</h2><br>
<p>Creating a CSS framework that caters to everyone's needs is no easy task, but <strong>mini.css</strong> manages to rise to the occasion by providing extensive and coherent documentation in combination with templates, examples and semantic HTML5 markup. Modern UX patterns and accessibility guidelines are well-documented and can be used out of the box, using one of the unique <strong>flavors</strong> that the framework provides. If you still want more, you can create your own custom flavor or tweak an existing one just by opening its CSS file and changing a few custom properties. It's that simple! </p>
</div>
</div>
<div class="row padded">
<div class="col-sm-12 col-md-8 col-md-offset-1">
<h2>Style-agnostic&nbsp;<small>Infinitely customizable!</small></h2>
<p><strong>mini.css</strong> provides you with a customizable flavor system, allowing you to be a designer without all the hard work. This way you can create your own custom design and personalize your websites any way you want!</p>
</div>
<div class="col-sm-12 col-md-2 col-sm-first col-md-normal" style="text-align: center;">
<img src="icons/meteor.svg" width="128px" height="128px"/><br/><br/>
<div class="row padded primary-section">
<div class="col-sm-12 col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
<h2 class="feature-header">Get started now!</h2><br>
<p>Head over to the <a href="./documentation">documentation</a> to learn how to get started using <strong>mini.css</strong>, as well as what flavors and components are availble and how to use them to create the website or web app you've always wanted. If you like the framework and want to support it, remember to to star it on Github. It means a lot to us and it only takes a couple of seconds!</p>
<button>Get started</button>
<a href="https://github.com/Chalarangelo/mini.css" target="_blank" class="centered">mini.css on Github</a>
</div>
</div>
<!-- TODO: Add browser support -->
<!-- TODO: Add footer with credits for icons and splash image -->
<!-- TODO: Add footer with credits for splash image etc. -->
<!-- Scripts -->
<script>document.getElementById('version-info').innerHTML = version();</script>
</body>

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
<svg width="400" height="250" xmlns="http://www.w3.org/2000/svg"><path fill="#f3f3f3" d="M-1-1h402v252H-1z"/><path fill="#444" d="M279.3 75c-15.166 0-35.732.175-49.3 5-30.427 11.035-29.2 11.17-60 0-13.54-4.825-33.847-5-49-5-26.27 0-45.864.456-71 7v8c10.495 2.457 9.2 20.827 11 32.37C67.272 153.136 72.907 178 123.726 178c40.463 0 54.33-41.198 63.274-69 4.28-15.875 22.56-16.035 26.422 0 8.982 27.842 22.417 69 62.986 69 50.82 0 55.723-23.968 62.592-55.645 1.8-11.54-.302-28.943 11-32.355v-8c-25.136-5.798-44.43-7-70.7-7zM179 120c-9.15 28.476-19.698 51.755-55 56-43.995 0-56.988-22.083-61-63-.973-9.955.28-20.934 2-23 12.635-15.114 87.903-15.274 110-2 6.344 3.798 8.664 12.37 4 32zm158.2-7.516C333.178 153.4 320.39 176 276.41 176c-35.05-3.745-46.27-29.272-55.408-56-4.678-19.63-3.344-28.202 3-32 22.178-13.328 95.418-13.06 108 2 1.706 2.08 6.174 12.542 5.2 22.484l-3.562-5.216z"/><text font-family="Helvetica, Arial, sans-serif" font-size="72" y="150.889" x="95.748" fill="#444" fill-opacity="null" stroke-opacity="null" stroke="null">U</text><text font-family="Helvetica, Arial, sans-serif" font-size="72" y="149.891" x="257.364" fill="#444" fill-opacity="null" stroke-opacity="null" stroke="null">X</text></svg>
<svg width="400" height="250" xmlns="http://www.w3.org/2000/svg"><path fill="#f3f3f3" d="M-1-1h402v252H-1z"/><ellipse ry="98.9938" rx="98.9938" cy="115.9506" cx="200" stroke-opacity="null" stroke-width="null" stroke="#444" fill="none"/><ellipse ry="36.4977" rx="36.4977" cy="86.4524" cx="201.9999" stroke-opacity="null" stroke-width="null" stroke="#444" fill="none"/><path d="M134.504 189.329c0-26.922 29.863-47.98 65.496-47.98 35.633 0 64.496 21.807 64.496 48.73S235.633 238.81 200 238.81c-17.817 0-34.94-6.202-46.61-15.019-11.67-8.818-18.886-21-18.886-34.462zM95 125h15m195 0h-15M200 10v15m0 180v15" stroke-opacity="null" stroke-linecap="null" stroke-linejoin="null" stroke-width="null" stroke="#444" fill="none"/><path d="M133.35 190.8394c.125.125.375.125.875.5l.375.375.125.1248.2498.125" fill="none"/><path fill-opacity="null" stroke-opacity="null" stroke-width="null" stroke="null" fill="#f3f3f3" d="M136.46 220.8338h139.099v21.371H136.46z"/><path fill-opacity="null" stroke-opacity="null" stroke-width="null" stroke="null" fill="#f3f3f3" d="M134.8353 208.961h17.8717v13.9974h-17.8717zm112.979-4.3742h19.9962v18.2466h-19.9963z"/><path fill-opacity="null" stroke-opacity="null" stroke-width="null" stroke="null" fill="#f3f3f3" d="M260.5618 197.713h10.123v9.1234h-10.123zm-130.4756 1.4998h11.123v13.2475h-11.123z"/><path fill-opacity="null" stroke-opacity="null" stroke-width="null" stroke="null" fill="#f3f3f3" d="M131.086 195.4635h6.3738v6.4988h-6.3738zm136.9055-6.5268l2.4598 3.1534-5.3212 4.151-2.4595-3.1532z"/><path fill-opacity="null" stroke-opacity="null" stroke-width="null" stroke="null" fill="#f3f3f3" d="M132.7577 189.3033l3.361 2.7995-4.0794 4.8974-3.361-2.7996z"/><path fill-opacity="null" stroke-opacity="null" stroke-width="null" stroke="null" fill="#f3f3f3" d="M130.336 192.964h5.374v5.999h-5.374zm132.8503 1.2498h4.2492v6.3738h-4.2492z"/></svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

@ -90,6 +90,40 @@ p.splash {
margin-left: 0;
}
.alt-back {
background: #f3f3f3;
}
.primary-section {
background: #f22f21;
color: #fff;
a {
&:link{
color: #76FF03;
}
&:visited {
color: #64DD17;
}
&.centered {
display: block;
margin: 0 auto;
text-align: center;
}
}
// TODO: Actually convert to a link, stylize as button, utilize module
button {
background: transparent;
border: 1px solid #fff;
border-radius: 4px;
padding: 4px 8px;
color: #fff;
font-size: 1.25rem;
display: block;
margin: 20px auto 8px;
cursor: pointer;
}
}
// TODO: Replace with actual header when ready
header {
display: block;