1
0
mirror of https://github.com/Chalarangelo/mini.css.git synced 2025-01-18 05:18:25 +01:00

Tailored section for landing page

This commit is contained in:
Angelos Chalaris 2017-10-27 18:21:25 +03:00
parent 8e20bb7423
commit 26abaebd56
4 changed files with 24 additions and 29 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

1
docs/v3/tailored.svg Normal file
View File

@ -0,0 +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>

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;
}