Styles


MniamTheme utilize LESS for easy customization of visual aspects of our theme. For more information about LESS, we recommend to visit http://lesscss.org.


Variables and customization


All changes of colors can be done within a file custom.less. It aggregates every other LESS stylesheets into one.


How to change colors?

You need to change colors your website, but you don't know how? On the top in custom.less you find basic colors used by us. Defined colors are listed below and can be edited in custom.less.

//Colors
//-----------------------------------------

@bgColor: #fff;
@bgSecondColor: #f1443e;
@headerColor: @bgSecondColor;
@secondHeaderColor: #fff;
@textColor: #333;
@textColor2: @secondHeaderColor;
@highlightColor: @bgSecondColor;
@highlightColor2: #5383e9;


@inputColor: #ededed;
@inputTxtColor: #aaa; 
 

How to change fonts?

If you want to change fonts, can be done within files: index.php and custom.less. Only need to change bold lines in markup presented below the text.

index.php
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>MniamTheme HTML</title>
  <meta name="description" content="">
  <meta name="msapplication-tap-highlight" content="no" />
  <meta name="viewport" content="user-scalable=0, width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=1.0, minimal-ui" />
  <link href='http://fonts.googleapis.com/css?family=Roboto+Slab:400,300,700&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
  <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
  <link rel="stylesheet" href="less/custom.css">
  <script src="js/jquery-2.1.0.min.js"></script>
  <script src="js/modernizr-2.6.2.min.js"></script>
</head>
custom.less
// Typography
// ----------------------------------------

@text-font-family:                'Roboto Slab', Helvetica, Arial, sans-serif;
@header-font-family:              'Roboto Slab', Helvetica, Arial, sans-serif;

How to change icons?

We used icons made by FontAwesome, MFG Labs and Simple Line Icons. Only need to changed by adding class of icon in markup. All classes and more information you find here.

<i class="fa fa-facebook"></i>

Other elements

You want to edit font size, margin? It's simply. All elements you can find in less files. If you need to change basic element made by us, only need to find chosen element in custom.less and edit styles.

...

//Blockquote
//-----------------------------------------
blockquote { border-left: none; font-style: italic; font-size: 20px; padding: 0;}

//Highlights
//-----------------------------------------
.highlight-color { color: @highlightColor2; font-weight: 400;}  
.highlight-solid { color: @textColor2; background: @bgSecondColor; padding: 0 2px} 
.highlight-outline { color: @textColor; border: 1px solid @textColor; padding: 0 2px}

//Dropcap
//-----------------------------------------
.dropcap { color: @highlightColor; font-size: 2em; float: left; padding: 0 10px 0 0; line-height: 1.5em;}

//Tooltip
//-----------------------------------------

.tooltip-inner { text-transform: uppercase; border-radius: 0; background: @tooltip-bg; font-weight: 400; }

...

Includes

This section lists all included LESS files in stylesheet. You can create your own and include it right here or find less files responsible for other section. We put a lot of work to separate every section into different LESS file to create opportunity for easy customization and creation of new elements.

@import "bootstrap-3.1.1/bootstrap.less";
@import "lesshat-prefixed.less";
@import "font-awesome/font-awesome.less";
@import "simple-line-icons.less";
@import "fontello.less";
@import "home.less";
@import "navbar.less";
@import "features.less";
@import "gallery.less";
@import "about.less";
@import "newsletter.less";
@import "team.less";
@import "video-section.less";
@import "testimonials.less";
@import "social-media.less";
@import "screenshot.less";
@import "contact.less";
@import "footer.less";
@import "elements.less";
@import "animations.less";
@import "owl-carousel.less";
@import "responsive.less";