| 1 | /*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0} |
| 2 | /** |
| 3 | * Mobile First |
| 4 | */ |
| 5 | body { |
| 6 | font: 100%/1.4em "Helvetica Neue", "Helvetica", "Arial", sans-serif; |
| 7 | margin: 0 auto; |
| 8 | padding: 0 0.625em; |
| 9 | color: #444; |
| 10 | -webkit-text-size-adjust: none; |
| 11 | } |
| 12 | |
| 13 | /** |
| 14 | * Small Screens |
| 15 | */ |
| 16 | |
| 17 | .demo-header { |
| 18 | margin-bottom: 80px; |
| 19 | text-align: center; |
| 20 | } |
| 21 | |
| 22 | .demo-title { |
| 23 | font-size: 4em; |
| 24 | line-height: 1em; |
| 25 | text-align: center; |
| 26 | } |
| 27 | |
| 28 | .battery-card { |
| 29 | font-family: "Helvetica", Arial, sans-serif; |
| 30 | display: block; |
| 31 | width: 300px; |
| 32 | overflow: hidden; |
| 33 | border: 1px solid #D5D5D5; |
| 34 | border-radius: 6px; |
| 35 | font-weight: 100; |
| 36 | margin: 0 auto; |
| 37 | } |
| 38 | |
| 39 | .battery-title { |
| 40 | background: #4c4c4c url('bolt.png') no-repeat 95% 15px; |
| 41 | color: #fff; |
| 42 | font-size: .9em; |
| 43 | line-height: 50px; |
| 44 | padding: 0 15px; |
| 45 | font-weight: 100; |
| 46 | margin: 0; |
| 47 | } |
| 48 | |
| 49 | .battery-percentage { |
| 50 | font-size: 2.5em; |
| 51 | line-height: 50px; |
| 52 | display: inline-block; |
| 53 | vertical-align: middle; |
| 54 | margin-right: 10px; |
| 55 | } |
| 56 | |
| 57 | .battery-box { |
| 58 | margin: 0 auto; |
| 59 | padding: 50px 0; |
| 60 | text-align: center; |
| 61 | border-bottom: 1px solid #D5D5D5; |
| 62 | } |
| 63 | |
| 64 | .battery { |
| 65 | display: inline-block; |
| 66 | position: relative; |
| 67 | border: 4px solid #000; |
| 68 | width: 85px; |
| 69 | height: 40px; |
| 70 | border-radius: 4px; |
| 71 | vertical-align: middle; |
| 72 | } |
| 73 | |
| 74 | .battery:before { |
| 75 | content: ''; |
| 76 | display: block; |
| 77 | box-sizing: border-box; |
| 78 | background: #000; |
| 79 | height: 40px; |
| 80 | position: absolute; |
| 81 | border: 1px solid #fff; |
| 82 | } |
| 83 | |
| 84 | .battery:after { |
| 85 | content: ''; |
| 86 | display: block; |
| 87 | background: #000; |
| 88 | width: 6px; |
| 89 | height: 16px; |
| 90 | position: absolute; |
| 91 | top: 50%; |
| 92 | right: -11px; |
| 93 | margin-top: -8px; |
| 94 | border-radius: 0 4px 4px 0; |
| 95 | } |
| 96 | |
| 97 | .battery-info { |
| 98 | font-size: 12px; |
| 99 | margin: 0 auto; |
| 100 | padding: 15px 45px; |
| 101 | overflow: hidden; |
| 102 | } |
| 103 | |
| 104 | .battery-info dd { |
| 105 | float: right; |
| 106 | margin-top: -22px; |
| 107 | text-align: left; |
| 108 | width: 35%; |
| 109 | } |
| 110 | |
| 111 | footer { |
| 112 | margin: 70px auto 0; |
| 113 | text-align: center; |
| 114 | } |
| 115 | |
| 116 | .heart { |
| 117 | font-style: normal; |
| 118 | font-weight: 500; |
| 119 | color: #c0392b; |
| 120 | text-decoration: none; |
| 121 | } |
| 122 | |
| 123 | #github-button { |
| 124 | display: block; |
| 125 | margin: 30px auto 0; |
| 126 | position: relative; |
| 127 | left: 40px; |
| 128 | } |
| 129 | |
| 130 | #github-ribbon { |
| 131 | display: inline-block; |
| 132 | position: fixed; |
| 133 | top: 0; |
| 134 | right: 0; |
| 135 | z-index: 100; |
| 136 | border: 0; |
| 137 | width: 149px; |
| 138 | height: 149px; |
| 139 | } |
| 140 | |
| 141 | .github-buttons { |
| 142 | text-align: center; |
| 143 | margin: 1em 0; |
| 144 | } |
| 145 | |
| 146 | |
| 147 | |
| 148 | /** |
| 149 | * Medium Screens |
| 150 | */ |
| 151 | @media all and (min-width:40em) {} |
| 152 | |
| 153 | /** |
| 154 | * Large Screens |
| 155 | */ |
| 156 | @media all and (min-width: 54em) {} |