core.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. @font-face {
  2. font-family: 'Open Sans';
  3. font-style: normal;
  4. font-weight: 300;
  5. src: local('Open Sans Light'),
  6. local('OpenSans-Light'),
  7. url('../fonts/opensans-light.woff') format('woff');
  8. }
  9. @font-face {
  10. font-family: 'Open Sans';
  11. font-style: normal;
  12. font-weight: 400;
  13. src: local('Open Sans'),
  14. local('OpenSans'),
  15. url('../fonts/opensans.woff') format('woff');
  16. }
  17. template {
  18. display: none;
  19. }
  20. .wrapper {
  21. max-width: 320px;
  22. min-width: 180px;
  23. margin: 0 auto;
  24. padding: 20px 600px 20px 20px;
  25. position: relative;
  26. }
  27. .wrapper:before,
  28. .wrapper:after {
  29. content: "";
  30. position: absolute;
  31. bottom: 20px;
  32. box-shadow: 0 0 20px rgba(0,0,0,0.4);
  33. z-index: -1;
  34. width: 50%;
  35. height: 25%;
  36. }
  37. .wrapper:before {
  38. left: 35px;
  39. -webkit-transform: rotate(-1deg);
  40. -webkit-transform-origin: 0 100%;
  41. -moz-transform: rotate(-1deg);
  42. -moz-transform-origin: 0 100%;
  43. transform: rotate(-1deg);
  44. transform-origin: 0 100%;
  45. }
  46. .wrapper:after {
  47. right: 35px;
  48. -webkit-transform: rotate(1deg);
  49. -webkit-transform-origin: 100% 100%;
  50. -moz-transform: rotate(1deg);
  51. -moz-transform-origin: 100% 100%;
  52. transform: rotate(1deg);
  53. transform-origin: 100% 100%;
  54. }
  55. .header {
  56. margin: 0 -532px 20px 0;
  57. padding: 0 20px;
  58. text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.74902);
  59. }
  60. .title {
  61. margin: 0;
  62. font-weight: 100;
  63. font-size: 48px;
  64. letter-spacing: -2px;
  65. }
  66. .subtitle {
  67. overflow: hidden;
  68. position: absolute;
  69. left: -999em;
  70. width: 0;
  71. height: 0;
  72. }
  73. .content .settings {
  74. position: absolute;
  75. right: 0.25em;
  76. bottom: 0.25em;
  77. font-size: 1.5em;
  78. border: none;
  79. background: none;
  80. color: #999;
  81. cursor: pointer;
  82. }
  83. .content .settings:focus,
  84. .content .settings:hover {
  85. color: inherit;
  86. }
  87. #output {
  88. width: 340px;
  89. height: 340px;
  90. margin: auto;
  91. }
  92. .label {
  93. margin: 0 0 0.25em 0;
  94. font-weight: normal;
  95. font-size: 1em;
  96. color: #666;
  97. }
  98. .item {
  99. margin: 0 0 1em 0;
  100. min-height: 2em;
  101. }
  102. .item label {
  103. font-size: 0.8em;
  104. display: block;
  105. }
  106. .overlay {
  107. position: absolute;
  108. top: -1px;
  109. left: -1px;
  110. right: -1px;
  111. bottom: -1px;
  112. color: #484848;
  113. border: solid 1px #EEE;
  114. border-radius: 3px;
  115. background: rgba(255,255,255,0.95);
  116. overflow: auto;
  117. }
  118. .overlay.hidden {
  119. display: none;
  120. }
  121. .overlay .header {
  122. position: absolute;
  123. top: 0.5em;
  124. left: 0.5em;
  125. right: 0.5em;
  126. height: 2em;
  127. border-bottom: solid 1px #999;
  128. margin: 0;
  129. padding: 1em;
  130. }
  131. .overlay .header .title {
  132. font-size: 1.25em;
  133. font-weight: bold;
  134. margin: 0;
  135. padding: 0;
  136. letter-spacing: 0;
  137. }
  138. .overlay .header label {
  139. margin-right: 1em;
  140. }
  141. .overlay .header input {
  142. font: inherit;
  143. width: 25%;
  144. }
  145. .overlay .header button {
  146. cursor: pointer;
  147. font-size: 2em;
  148. border: none;
  149. background: none;
  150. position: absolute;
  151. top: 50%;
  152. right: 0;
  153. margin-top: -0.66em;
  154. }
  155. .overlay .hidden {
  156. position: absolute;
  157. left: -99em;
  158. }
  159. .overlay .panel {
  160. position: absolute;
  161. top: 5em;
  162. left: 0.5em;
  163. right: 0.5em;
  164. bottom: 0.5em;
  165. overflow: auto;
  166. margin: 0;
  167. padding: 0.5em;
  168. }
  169. .overlay ul {
  170. margin: 0;
  171. padding: 0;
  172. list-style: none;
  173. }
  174. .overlay li {
  175. margin: 0;
  176. padding: 0;
  177. display: inline-block;
  178. }
  179. .overlay li label {
  180. font-size: 4em;
  181. width: 1.5em;
  182. height: 1em;
  183. line-height: 1em;
  184. padding: 0.25em 0;
  185. cursor: pointer;
  186. border-radius: 10px;
  187. text-align: center;
  188. color: #666;
  189. }
  190. .overlay .fa-:before {
  191. content: "\00A0";
  192. }
  193. .overlay li :focus + label,
  194. .overlay li label:hover {
  195. background: rgba(0,0,0,0.05);
  196. color: #333;
  197. }
  198. .overlay li :focus + label {
  199. outline: -webkit-focus-ring-color auto 5px;
  200. }
  201. .overlay li :checked + label {
  202. background: rgba(0,0,0,0.1);
  203. color: #000;
  204. }
  205. #raster {
  206. -webkit-transform-origin: 50% 25%;
  207. -moz-transform-origin: 50% 25%;
  208. transform-origin: 50% 25%;
  209. max-width: 100%;
  210. }
  211. @media screen and (max-width: 800px) {
  212. .wrapper {
  213. width: auto;
  214. max-width: 100%;
  215. min-width: 0;
  216. padding: 5px;
  217. margin: 0;
  218. }
  219. .header {
  220. margin: 0 0 20px;
  221. }
  222. .content {
  223. margin-right: 0;
  224. padding-right: 20px;
  225. }
  226. #output {
  227. float: none;
  228. margin: 0 auto;
  229. max-width: 100%;
  230. height: auto;
  231. }
  232. }