mini.css/docs/v2/index.html

165 lines
8.9 KiB
HTML
Raw Normal View History

2016-10-12 16:18:02 +00:00
<!DOCTYPE html>
<html>
<head>
2016-11-11 11:18:27 +00:00
<!-- Live demo styled as of 20161111 -->
2016-11-11 12:26:12 +00:00
<link rel="stylesheet" href="https://cdn.rawgit.com/Chalarangelo/mini.css/5dcfabb7f3bdb01834414c27d2cca637e481c3b8/dist/mini-default.min.css">
2016-11-11 11:18:27 +00:00
<!-- Local stylesheet -->
<link rel="stylesheet" href="../../dist/mini-default.min.css">
2016-10-12 16:18:02 +00:00
<title>mini.css - A minimal Sass-y responsive mobile-first style-agnostic CSS framework</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="mini.css - A minimal Sass-y responsive mobile-first style-agnostic CSS framework">
<meta name="keywords" content="mini, mini.css, CSS, responsive, framework, mobile first, style agnostic, Sass">
<meta name="author" content="Angelos Chalaris (chalarangelo)">
<link rel="icon" type="image/png" href="favicon.png">
2016-10-25 17:49:43 +00:00
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css">
2016-10-21 14:26:20 +00:00
<style>
2016-11-02 11:17:25 +00:00
#header-logo {
display: inline; height: 28px; width: 28px; margin-top: 2px; background: #558b2f; border-radius: 1px;
margin-left: -3px; padding: 2px;
}
2016-10-21 14:26:20 +00:00
#top-logo {
display: inline-block; height: 66px; width: 70px; margin: 64px auto -30px; border-radius: 1px;
background: #558b2f; padding: 8px; padding-top: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
#top-header {
color: #f5f5f5; font-size: 2.4em; text-shadow: 0 1px 2px rgba(0,0,0,0.35); margin-bottom: -8px;
}
#top-version-tag {
padding: 3px 5px; font-size: 0.85em; font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
.box-centered { text-align: center; }
2016-10-21 14:50:43 +00:00
.box-colored { background: #0277bd; border-radius: 2px; padding: 14px; margin-bottom: 8px; min-height: 14px;}
2016-11-11 10:39:39 +00:00
.box-colored.red { background: #b71c1c; }
2016-11-11 12:25:35 +00:00
.card.fluid.box-centered {
-webkit-box-pack: start;
-webkit-box-align: start;
-webkit-justify-content: flex-start;
justify-content: flex-start;
-webkit-align-self: auto;
align-self: auto;
}
@media (max-width: 800px) {
.row.cards {
-webkit-box-orient: vertical;
-webkit-flex-direction: column;
flex-direction: column;
}
.card.fluid.box-centered {
width: auto;
}
}
2016-10-21 14:26:20 +00:00
</style>
2016-10-12 16:18:02 +00:00
</head>
<body>
2016-11-02 11:17:25 +00:00
<header>
<img class="logo" src="mini-logo.svg" id="header-logo"><div style="display: inline; overflow: auto;">
<a href="#" class="button">Introduction</a>
<a href="#" class="button">Module Overview</a>
<a href="#" class="button">Module Demos</a>
<a href="#" class="button">Flavors</a>
<a href="#" class="button">Customization</a>
<a href="https://github.com/Chalarangelo/mini.css" class="button">Github</a>
</div>
</header>
2016-10-21 20:42:36 +00:00
<div class="container" style="height: 320px; background: -webkit-linear-gradient(#455a64,#263238); background: linear-gradient(#455a64,#263238); box-shadow: 0 1px 3px rgba(0,0,0,0.35);">
2016-10-21 14:26:20 +00:00
<div class="row">
2016-10-24 13:43:27 +00:00
<div class="col-sm">
2016-10-21 14:26:20 +00:00
<div class="box-centered">
<img src="mini-logo.svg" id="top-logo">
<h1 id="top-header"><span style="font-size: 1.35em;">m</span>ini<span style="font-size:0.65em; color: #558b2f;">.css</span></h1>
<mark class="tag tertiary" id="top-version-tag">v2.0</mark>
</div>
</div>
</div>
</div>
2016-11-11 11:18:27 +00:00
<!-- Insert your page content here-->
<main><div class="container">
2016-11-11 12:25:35 +00:00
<div class="row cards" style="padding-top: 20px;">
<div class="col-sm-12 col-md card fluid box-centered">
<div class="section">
<h2>Minimal<small>Size matters!</small></h2><br>
2016-10-21 14:26:20 +00:00
<i class="fa fa-compress fa-4x" aria-hidden="true"></i>
<br><br>
2016-11-11 12:25:35 +00:00
<p><strong>mini.css</strong> aims to provide as much functionality as possible in about 5KB gzipped. This very small footprint means that your websites and web applications will load faster, while still looking great utilising the modern components we provide!</p>
2016-10-21 14:26:20 +00:00
</div>
</div>
2016-11-11 12:25:35 +00:00
<div class="col-sm-12 col-md card fluid box-centered">
<div class="section">
<h2>Reponsive<small>Think mobile!</small></h2><br>
2016-10-21 14:26:20 +00:00
<i class="fa fa-mobile fa-4x" aria-hidden="true"></i>
<br><br>
2016-11-11 12:25:35 +00:00
<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>
2016-10-21 14:26:20 +00:00
</div>
</div>
2016-11-11 12:25:35 +00:00
<div class="col-sm-12 col-md card fluid box-centered">
<div class="section">
<h2>Style-agnostic<small>Infinitely customizable!</small></h2><br>
2016-10-21 14:26:20 +00:00
<i class="fa fa-paint-brush fa-4x" aria-hidden="true"></i>
<br><br>
2016-11-11 12:25:35 +00:00
<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>
2016-10-21 14:26:20 +00:00
</div>
</div>
</div>
<div class="row">
<div class="col-sm">
<h2>Quick overview</h2>
<p>Take a couple of minutes to learn how <strong>mini.css</strong> differs from all those other UI toolkits (Bootstrap, Semantic UI etc).</p>
<hr>
<table>
<caption>Toolkit file size comparison</caption>
<thead>
<tr>
<th>Name</th>
<th>Version</th>
<th>Size (uncompressed)</th>
<th>Size (minified)</th>
<th>Size (gzipped)</th>
</tr>
</thead>
<tbody>
<tr>
<td data-label="Name">Bootstrap</td>
<td data-label="Version"><a href="https://github.com/twbs/bootstrap/blob/0b9c4a4007c44201dce9a6cc1a38407005c26c86/dist/css/bootstrap.css">v3.3.7</a></td>
<td data-label="Size (uncompressed)">143 KB</td>
<td data-label="Size (minified)">117 KB</td>
<td data-label="Size (gzipped)">20 KB</td>
</tr>
<tr>
<td data-label="Name">Material Framework</td>
<td data-label="Version"><a href="https://github.com/nt1m/material-framework/blob/c5f7fed174686118dded31aecca311d4cc9d8b07/css/material.css">v3.0</a></td>
<td data-label="Size (uncompressed)">114 KB</td>
<td data-label="Size (minified)">90 KB</td>
<td data-label="Size (gzipped)">18 KB</td>
</tr>
<tr>
<td data-label="Name">mini.css</td>
<td data-label="Version"><a href="https://github.com/chalarangelo/mini.css/blob/v2.0/dist/css/mini-default.css">v2.0</a></td>
<td data-label="Size (uncompressed)">38 KB</td>
<td data-label="Size (minified)">31 KB</td>
<td data-label="Size (gzipped)">6 KB</td>
</tr>
<tr>
<td data-label="Name">Semantic UI</td>
<td data-label="Version"><a href="https://github.com/Semantic-Org/Semantic-UI/blob/0b1b59b0e1c780e842820df5c1904a162034812c/dist/semantic.css">v2.2.6</a></td>
<td data-label="Size (uncompressed)">730 KB</td>
<td data-label="Size (minified)">550 KB</td>
<td data-label="Size (gzipped)">95 KB</td>
</tr>
<tr>
<td data-label="Name">Zurb Foundation</td>
<td data-label="Version"><a href="https://github.com/zurb/foundation-sites/blob/ab172838d6de406204956015c9fd393c5a526e0e/dist/foundation.css">v3.0</a></td>
<td data-label="Size (uncompressed)">90 KB</td>
<td data-label="Size (minified)">64 KB</td>
<td data-label="Size (gzipped)">12 KB</td>
</tr>
</tbody>
</table><br>
<p><mark class="secondary" style="font-size: 1.4em; padding: 3px 10px;">!</mark>&nbsp;The above comparison takes into account only the CSS files of each framework. <strong>mini.css</strong>'s size is an approximation due to the nature of its flavor system. The calculated results were produced using <a href="http://refresh-sf.com/">Refresh-SF</a>.</p>
</div>
</div>
2016-11-11 11:18:27 +00:00
</div></main>
<!-- End of page content-->
2016-11-02 19:16:35 +00:00
<footer><strong>mini.css</strong> was designed and built by <a href="https://github.com/Chalarangelo">@Chalarangelo</a>. It is licensed under the <a href="https://github.com/Chalarangelo/mini.css/blob/master/LICENSE">MIT License</a>. You can view the project's source code on <a href="https://github.com/Chalarangelo/mini.css">Github</a>.</footer>
2016-10-12 16:18:02 +00:00
</body>
</html>