| <!doctype html> |
| <!-- |
| Material Design Lite |
| Copyright 2015 Google Inc. All rights reserved. |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| https://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License |
| --> |
| <html lang="en"> |
| <head> |
| <meta charset="utf-8"> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| <meta name="description" content="A front-end template that helps you build fast, modern mobile web apps."> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"> |
| <title>Material Design Lite</title> |
| |
| <!-- Add to homescreen for Chrome on Android --> |
| <meta name="mobile-web-app-capable" content="yes"> |
| <link rel="icon" sizes="192x192" href="images/android-desktop.png"> |
| |
| <!-- Add to homescreen for Safari on iOS --> |
| <meta name="apple-mobile-web-app-capable" content="yes"> |
| <meta name="apple-mobile-web-app-status-bar-style" content="black"> |
| <meta name="apple-mobile-web-app-title" content="Material Design Lite"> |
| <link rel="apple-touch-icon-precomposed" href="images/ios-desktop.png"> |
| |
| <!-- Tile icon for Win8 (144x144 + tile color) --> |
| <meta name="msapplication-TileImage" content="images/touch/ms-touch-icon-144x144-precomposed.png"> |
| <meta name="msapplication-TileColor" content="#3372DF"> |
| |
| <link rel="shortcut icon" href="images/favicon.png"> |
| |
| <!-- SEO: If your mobile URL is different from the desktop URL, add a canonical link to the desktop page https://developers.google.com/webmasters/smartphone-sites/feature-phones --> |
| <!-- |
| <link rel="canonical" href="http://www.example.com/"> |
| --> |
| |
| <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&lang=en"> |
| <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> |
| <link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.grey-orange.min.css"> |
| <link rel="stylesheet" href="styles.css"> |
| <style> |
| #view-source { |
| position: fixed; |
| display: block; |
| right: 0; |
| bottom: 0; |
| margin-right: 40px; |
| margin-bottom: 40px; |
| z-index: 900; |
| } |
| </style> |
| </head> |
| <body> |
| <div class="demo-blog mdl-layout mdl-js-layout has-drawer is-upgraded"> |
| <main class="mdl-layout__content"> |
| <div class="demo-blog__posts mdl-grid"> |
| <div class="mdl-card coffee-pic mdl-cell mdl-cell--8-col"> |
| <div class="mdl-card__media mdl-color-text--grey-50"> |
| <h3><a href="entry.html">Coffee Pic</a></h3> |
| </div> |
| <div class="mdl-card__supporting-text meta mdl-color-text--grey-600"> |
| <div class="minilogo"></div> |
| <div> |
| <strong>The Newist</strong> |
| <span>2 days ago</span> |
| </div> |
| </div> |
| </div> |
| <div class="mdl-card something-else mdl-cell mdl-cell--8-col mdl-cell--4-col-desktop"> |
| <button class="mdl-button mdl-js-ripple-effect mdl-js-button mdl-button--fab mdl-color--accent"> |
| <i class="material-icons mdl-color-text--white" role="presentation">add</i> |
| <span class="visuallyhidden">add</span> |
| </button> |
| <div class="mdl-card__media mdl-color--white mdl-color-text--grey-600"> |
| <img src="images/logo.png"> |
| +1,337 |
| </div> |
| <div class="mdl-card__supporting-text meta meta--fill mdl-color-text--grey-600"> |
| <div> |
| <strong>The Newist</strong> |
| </div> |
| <ul class="mdl-menu mdl-js-menu mdl-menu--bottom-right mdl-js-ripple-effect" for="menubtn"> |
| <li class="mdl-menu__item">About</li> |
| <li class="mdl-menu__item">Message</li> |
| <li class="mdl-menu__item">Favorite</li> |
| <li class="mdl-menu__item">Search</li> |
| </ul> |
| <button id="menubtn" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon"> |
| <i class="material-icons" role="presentation">more_vert</i> |
| <span class="visuallyhidden">show menu</span> |
| </button> |
| </div> |
| </div> |
| <div class="mdl-card on-the-road-again mdl-cell mdl-cell--12-col"> |
| <div class="mdl-card__media mdl-color-text--grey-50"> |
| <h3><a href="entry.html">On the road again</a></h3> |
| </div> |
| <div class="mdl-color-text--grey-600 mdl-card__supporting-text"> |
| Enim labore aliqua consequat ut quis ad occaecat aliquip incididunt. Sunt nulla eu enim irure enim nostrud aliqua consectetur ad consectetur sunt ullamco officia. Ex officia laborum et consequat duis. |
| </div> |
| <div class="mdl-card__supporting-text meta mdl-color-text--grey-600"> |
| <div class="minilogo"></div> |
| <div> |
| <strong>The Newist</strong> |
| <span>2 days ago</span> |
| </div> |
| </div> |
| </div> |
| <div class="mdl-card amazing mdl-cell mdl-cell--12-col"> |
| <div class="mdl-card__title mdl-color-text--grey-50"> |
| <h3 class="quote"><a href="entry.html">I couldn’t take any pictures but this was an amazing thing…</a></h3> |
| </div> |
| <div class="mdl-card__supporting-text mdl-color-text--grey-600"> |
| Enim labore aliqua consequat ut quis ad occaecat aliquip incididunt. Sunt nulla eu enim irure enim nostrud aliqua consectetur ad consectetur sunt ullamco officia. Ex officia laborum et consequat duis. |
| </div> |
| <div class="mdl-card__supporting-text meta mdl-color-text--grey-600"> |
| <div class="minilogo"></div> |
| <div> |
| <strong>The Newist</strong> |
| <span>2 days ago</span> |
| </div> |
| </div> |
| </div> |
| <div class="mdl-card shopping mdl-cell mdl-cell--12-col"> |
| <div class="mdl-card__media mdl-color-text--grey-50"> |
| <h3><a href="entry.html">Shopping</a></h3> |
| </div> |
| <div class="mdl-card__supporting-text mdl-color-text--grey-600"> |
| Enim labore aliqua consequat ut quis ad occaecat aliquip incididunt. Sunt nulla eu enim irure enim nostrud aliqua consectetur ad consectetur sunt ullamco officia. Ex officia laborum et consequat duis. |
| </div> |
| <div class="mdl-card__supporting-text meta mdl-color-text--grey-600"> |
| <div class="minilogo"></div> |
| <div> |
| <strong>The Newist</strong> |
| <span>2 days ago</span> |
| </div> |
| </div> |
| </div> |
| <nav class="demo-nav mdl-cell mdl-cell--12-col"> |
| <div class="section-spacer"></div> |
| <a href="entry.html" class="demo-nav__button" title="show more"> |
| More |
| <button class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon"> |
| <i class="material-icons" role="presentation">arrow_forward</i> |
| </button> |
| </a> |
| </nav> |
| </div> |
| <footer class="mdl-mini-footer"> |
| <div class="mdl-mini-footer--left-section"> |
| <button class="mdl-mini-footer--social-btn social-btn social-btn__twitter"> |
| <span class="visuallyhidden">Twitter</span> |
| </button> |
| <button class="mdl-mini-footer--social-btn social-btn social-btn__blogger"> |
| <span class="visuallyhidden">Facebook</span> |
| </button> |
| <button class="mdl-mini-footer--social-btn social-btn social-btn__gplus"> |
| <span class="visuallyhidden">Google Plus</span> |
| </button> |
| </div> |
| <div class="mdl-mini-footer--right-section"> |
| <button class="mdl-mini-footer--social-btn social-btn__share"> |
| <i class="material-icons" role="presentation">share</i> |
| <span class="visuallyhidden">share</span> |
| </button> |
| </div> |
| </footer> |
| </main> |
| <div class="mdl-layout__obfuscator"></div> |
| </div> |
| <a href="https://github.com/google/material-design-lite/blob/mdl-1.x/templates/blog/" target="_blank" id="view-source" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect mdl-color--accent mdl-color-text--white">View Source</a> |
| <script src="https://code.getmdl.io/1.3.0/material.min.js"></script> |
| </body> |
| <script> |
| Array.prototype.forEach.call(document.querySelectorAll('.mdl-card__media'), function(el) { |
| var link = el.querySelector('a'); |
| if(!link) { |
| return; |
| } |
| var target = link.getAttribute('href'); |
| if(!target) { |
| return; |
| } |
| el.addEventListener('click', function() { |
| location.href = target; |
| }); |
| }); |
| </script> |
| </html> |