Skip to content

Instantly share code, notes, and snippets.

@lookingcloudy
Last active August 29, 2015 14:27
Show Gist options
  • Save lookingcloudy/4a9a25904ef8103727d6 to your computer and use it in GitHub Desktop.
Save lookingcloudy/4a9a25904ef8103727d6 to your computer and use it in GitHub Desktop.
Meteor with Materialize
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" charset="utf-8"/>
<meta name="description" content="grocery list savings messenger"/>
<link rel="icon" href="/public/images/favicon.ico"/>
<title>Listory</title>
</head>
<body>
<nav class="light-blue lighten-5" role="navigation">
<div class="nav-wrapper container">
<img class="brand-logo left" src="/images/Listory-med-fast.png" alt="Listory"/>
</div>
</nav>
<div class="section no-pad-bot" id="index-banner">
<div class="container">
<br><br>
<h1 class="header center orange-text">Starter Template</h1>
<div class="row center">
<h5 class="header col s12 light">A modern responsive front-end framework based on Material Design</h5>
</div>
<div class="row center">
<a href="http://materializecss.com/getting-started.html" id="download-button" class="btn-large waves-effect waves-light orange">Get Started</a>
</div>
<br><br>
</div>
</div>
<div class="container">
<div class="section">
<!-- Icon Section -->
<div class="row">
<div class="col s12 m4">
<div class="icon-block">
<h2 class="center light-blue-text"><i class="material-icons">flash_on</i></h2>
<h5 class="center">Speeds up development</h5>
<p class="light">We did most of the heavy lifting for you to provide a default stylings that incorporate our custom components. Additionally, we refined animations and transitions to provide a smoother experience for developers.</p>
</div>
</div>
<div class="col s12 m4">
<div class="icon-block">
<h2 class="center light-blue-text"><i class="material-icons">group</i></h2>
<h5 class="center">User Experience Focused</h5>
<p class="light">By utilizing elements and principles of Material Design, we were able to create a framework that incorporates components and animations that provide more feedback to users. Additionally, a single underlying responsive system across all platforms allow for a more unified user experience.</p>
</div>
</div>
<div class="col s12 m4">
<div class="icon-block">
<h2 class="center light-blue-text"><i class="material-icons">settings</i></h2>
<h5 class="center">Easy to work with</h5>
<p class="light">We have provided detailed documentation as well as specific code examples to help new users get started. We are also always open to feedback and can answer any questions a user may have about Materialize.</p>
</div>
</div>
</div>
</div>
<br><br>
<div class="section">
</div>
</div>
<footer class="page-footer orange">
<div class="container">
<div class="row">
<div class="col l6 s12">
<h5 class="white-text">Company Bio</h5>
<p class="grey-text text-lighten-4">We are a team of college students working on this project like it's our full time job. Any amount would help support and continue development on this project and is greatly appreciated.</p>
</div>
<div class="col l3 s12">
<h5 class="white-text">Settings</h5>
<ul>
<li><a class="white-text" href="#!">Link 1</a></li>
<li><a class="white-text" href="#!">Link 2</a></li>
<li><a class="white-text" href="#!">Link 3</a></li>
<li><a class="white-text" href="#!">Link 4</a></li>
</ul>
</div>
<div class="col l3 s12">
<h5 class="white-text">Connect</h5>
<ul>
<li><a class="white-text" href="#!">Link 1</a></li>
<li><a class="white-text" href="#!">Link 2</a></li>
<li><a class="white-text" href="#!">Link 3</a></li>
<li><a class="white-text" href="#!">Link 4</a></li>
</ul>
</div>
</div>
</div>
<div class="footer-copyright">
<div class="container">
Made by <a class="orange-text text-lighten-3" href="http://materializecss.com">Materialize</a>
</div>
</div>
</footer>
</body>
// variables
$blue: #135ca9;
$light-blue: #1496E0;
$light-grey: #EBECEC;
nav .brand-logo {
position: absolute;
height: 100%;
color: #fff;
display: inline-block !important;
font-size: 2.1rem;
padding: 0;
white-space: nowrap; }
nav .brand-logo.center {
left: 50%;
-webkit-transform: translateX(-50%);
-moz-transform: translateX(-50%);
-ms-transform: translateX(-50%);
-o-transform: translateX(-50%);
transform: translateX(-50%); }
@media only screen and (max-width : 992px) {
nav .brand-logo {
left: 50%;
-webkit-transform: translateX(-50%);
-moz-transform: translateX(-50%);
-ms-transform: translateX(-50%);
-o-transform: translateX(-50%);
transform: translateX(-50%); } }
// header style
.header-logo {
display: block;
height: 30px;
width: auto;
margin-left: auto;
margin-right: auto;
}
.header-shared-icon {
font-size: 1.5em;
padding-bottom: 0;
}
.header-shared-text {
font-style: italic;
font-size: .75em;
color: grey;
padding-top: 0;
}
.bar-subheader .button {
padding-top: 0;
}
// helper classes
.no-vert-margin {
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
}
.align-vert {
position: relative;
top: 50%;
transform: translateY(-50%);
}
.blue {
color: $blue !important; }
.background-blue {
background-color: $blue;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment