/* Project: Night Mode * Author: Asif Mughal * URL: www.codehim.com * License: MIT License * Copyright (c) 2018 - Asif Mughal */ /* FILE : demo-only.css */ *{ margin: 0; padding: 0;} @font-face { /*src: local('Helvetica Neue'), local('HelveticaNeue'), url(http://themes.googleusercontent.com/licensed/font?kit=Lx1xfUTR4qFjwg0Z_pb900DGSpWewu0sZH-jqLz8Q00) format('truetype');*/ } body{ font-family: 'Helvetica Neue'; font-style: normal; font-weight: 300; font-smoothing: antialiased; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-size: 15px; background: #eee; } .intro{ background: #ddd; padding: 60px 30px; color: #333; margin-bottom: 15px; line-height: 1.5; text-align: center; } .intro h1 { font-size: 18pt; } .intro p{ font-size: 14px; } .action{ text-align: center; display: block; margin-top: 20px; } a.btn { text-decoration: none; color: #666; border: 2px solid #666; padding: 10px 15px; display: inline-block; margin-left: 5px; } a.btn:hover{ background: #666; color: #fff; transition: .3s; -webkit-transition: .3s; } .github:before, .down:before{ font-family: 'Material-Design-Iconic-Font'; font-weight: normal; margin-right: 10px; } .github:before{content: '\f345';} .down:before{content: '\f220';} .credit{ background: #fff; padding: 12px; font-size: 9pt; text-align: center; color: #333; margin-top: 40px; } .credit span:before{ font-family: Material-Design-Iconic-Font; color: #e41b17; content: "\f13b"; } .credit a{ color: #333; text-decoration: none; } .credit a:hover{ color: #e41b17; } .credit a:hover:after{ font-family: Material-Design-Iconic-Font; content: "\f18e"; font-size: 9pt; position: absolute; margin: 3px; } main{ background: #fff; margin: 20px; } article li{ color: #444; font-size: 15px; margin-left: 33px; line-height: 1.5; padding: 5px; } article h1, article h2, article h3, article p{ padding: 10px; color: #333; } article p{ font-size: 15px; line-height: 1.5; } @media only screen and (min-width: 720px){ main{ width: 90%; box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.3); margin-left: auto; margin-right: auto; background: #f9f9f9; } } /* Syntax Highlighter*/ pre.prettyprint { margin: 10px; padding: 10px; border: 0; background: #f2f2f2; overflow: auto; } .source { white-space: pre; overflow: auto; max-height: 400px; } .theme-tray { overflow: hidden; background: #fff; } .theme-tray span { border: 1px solid #f2f2f2; width: 50px; height: 50px; display: inline-block; border-radius: 4px; cursor: pointer; } .pl-color, .gr-color { text-align: center; } .gr-color h4, .pl-color h4 { background: #f2f2f2; padding: 10px; margin-bottom: 6px; color: #333; } .mesg{ margin: 10px; background: #fff; color: #347C2C; padding: 15px; border-radius: 4px; animation: bounceIn 1s forwards; z-index: 98; display: none; position: relative; text-align: center; } .ok{ background: #347C2C; color: #fff; padding: 10px; cursor: pointer; display: none; } article { margin: 20px; } h1, h2, h3, h4 { margin: 10px 0; } code{ border:1px solid #ddd; padding: 1px; border-radius: 1px; } /* Docs */ article img{ width: 100%; margin: 10px; height: auto; box-sizing: border-box; }