Tailored section for landing page

This commit is contained in:
Angelos Chalaris 2017-10-27 18:21:25 +03:00
parent c7d6ae22d6
commit f879c76d15
4 changed files with 24 additions and 30 deletions

View file

@ -34,34 +34,27 @@
<span style="bottom: 16px; position: absolute; padding-left: 530px;">Github</span>
</div>
</header>
<div class="container">
<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" id="responsive-image">
<h2 style="text-align:center;" id="responsive-header">Fast and Responsive</h2><br><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 responsive grid 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 class="col-sm-12 col-md-2 col-sm-first col-md-normal" style="text-align: center;">
<img src="icons/wings.svg" width="128px" height="128px"/><br/><br/>
</div> -->
<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>
<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 class="row padded">
<div class="col-sm-12 col-md-8 col-md-offset-1">
<h2>Responsive&nbsp;<small>Think mobile!</small></h2>
<p><strong>mini.css</strong> is crafted with both desktops and mobile devices in mind. All of its components are well-tested on different devices and will respond to any changes in the viewport, allowing for an experience tailored to each user's device!</p>
</div>
<div class="col-sm-12 col-md-2 col-sm-first col-md-normal" style="text-align: center;">
<img src="icons/magnetism.svg" width="128px" height="128px"/><br/><br/>
</div>
</div>
<div class="row padded" style="background: #f3f3f3">
<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>
</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>
</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>
</div>
<!-- TODO: Add browser support -->

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"/><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>
<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>

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -77,7 +77,7 @@ p.splash {
padding-bottom: 80px;
}
#responsive-image {
.feature-image {
display: block;
margin: 50px auto 20px;
@media screen and (min-width: 768px){
@ -85,7 +85,8 @@ p.splash {
}
}
#responsive-header {
.feature-header {
text-align: center;
margin-left: 0;
}