Overview

Layout elements are just made to help you build layouts. Containers, Navmenu, Banner and a new way to use Flexbox, with classes.

Containers

Containers are the most basic layout element, he just apply a 10px padding to your elements to get start quickly building your app.

Neptuno has two types of containers: default container and container compressed.

Note: Padding of 10px applied.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsam saepe deleniti nihil, possimus alias delectus tempora inventore dolorum molestias officiis architecto aut consectetur minima distinctio soluta dolor ipsa nulla atque.

 <div class="container" >
	<!-- Content here -->
 </div>

Compressed Container

Compress all text of elements, change class="container" to class="compressed".

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsam saepe deleniti nihil, possimus alias delectus tempora inventore dolorum molestias officiis architecto aut consectetur minima distinctio soluta dolor ipsa nulla atque.

Banner

<div class="banner">
	<h1 class="title">My Banner</h1>
	<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Suscipit dignissimos ab, repudiandae earum facere, aliquam neque quis nostrum sint nihil ullam corrupti hic voluptate optio et nemo, cum quae modi.</p>
	<div class="group">
		<button class="btn has-effect">Click here</button>
	</div>
</div>

Customize

Use this selectors to customize banner

.banner {
	background: #f5f5f5;
}

.banner > .title {
	color: #777;
}

Issues

Bug or features request? Open an Issue