layout.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. /*
  2. * Skeleton V1.2
  3. * Copyright 2011, Dave Gamache
  4. * www.getskeleton.com
  5. * Free to use under the MIT license.
  6. * http://www.opensource.org/licenses/mit-license.php
  7. * 6/20/2012
  8. */
  9. /* Table of Content
  10. ==================================================
  11. #Site Styles
  12. #Page Styles
  13. #Media Queries
  14. #Font-Face */
  15. /* #Site Styles
  16. ================================================== */
  17. /* #Page Styles
  18. ================================================== */
  19. /* #Media Queries
  20. ================================================== */
  21. /* Smaller than standard 960 (devices and browsers) */
  22. @media only screen and (max-width: 959px) {}
  23. /* Tablet Portrait size to standard 960 (devices and browsers) */
  24. @media only screen and (min-width: 768px) and (max-width: 959px) {}
  25. /* All Mobile Sizes (devices and browser) */
  26. @media only screen and (max-width: 767px) {}
  27. /* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
  28. @media only screen and (min-width: 480px) and (max-width: 767px) {}
  29. /* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
  30. @media only screen and (max-width: 479px) {}
  31. /* #Font-Face
  32. ================================================== */
  33. /* This is the proper syntax for an @font-face file
  34. Just create a "fonts" folder at the root,
  35. copy your FontName into code below and remove
  36. comment brackets */
  37. /* @font-face {
  38. font-family: 'FontName';
  39. src: url('../fonts/FontName.eot');
  40. src: url('../fonts/FontName.eot?iefix') format('eot'),
  41. url('../fonts/FontName.woff') format('woff'),
  42. url('../fonts/FontName.ttf') format('truetype'),
  43. url('../fonts/FontName.svg#webfontZam02nTh') format('svg');
  44. font-weight: normal;
  45. font-style: normal; }
  46. */
  47. /* `ref` stuff */
  48. code, pre {
  49. background-color: #fcf8f2;
  50. border: solid 1px rgba(68, 68, 68, 0.3);
  51. border-radius: 2px;
  52. padding: 1px 2px;
  53. -webkit-transition-property: background-color;
  54. -webkit-transition-duration: 0.5s;
  55. -webkit-transition-delay: 0s;
  56. }
  57. pre {
  58. padding: 10px;
  59. }
  60. pre code {
  61. background-color: transparent;
  62. border: none;
  63. padding: 0px;
  64. }
  65. th {
  66. font-weight: bold;
  67. }
  68. a {
  69. text-decoration: none;
  70. }
  71. p {
  72. margin: 10px 0;
  73. }
  74. p a {
  75. text-decoration: underline;
  76. }
  77. ul {
  78. list-style: disc;
  79. margin-left: 40px;
  80. }
  81. h3 {
  82. color: #777;
  83. }
  84. .container {
  85. margin: 100px auto;
  86. }
  87. .logo h1 .pointer {
  88. color: #dbe8d9;
  89. -webkit-transition-property: color;
  90. -webkit-transition-duration: 0.5s;
  91. -webkit-transition-delay: 0s;
  92. }
  93. .logo h1:hover .pointer {
  94. color: #444;
  95. }
  96. .logo h1 .version {
  97. color: #aaa;
  98. font-size: 0.3em;
  99. position: absolute;
  100. top: 12px;
  101. left: 70px;
  102. }
  103. .types table, .types tr {
  104. border: solid 1px #444;
  105. }
  106. .types td, .types th {
  107. border: solid 1px #444;
  108. padding: 4px;
  109. }
  110. .param, .rtn {
  111. display: inline-block;
  112. font-size: 0.8em;
  113. font-style: italic;
  114. color: #444;
  115. }
  116. a.nav {
  117. border: solid 1px transparent;
  118. border-radius: 2px;
  119. padding: 3px;
  120. margin-bottom: 20px;
  121. text-decoration: none;
  122. background-color: transparent;
  123. -webkit-transition-property: background-color, border-color;
  124. -webkit-transition-duration: 0.5s;
  125. -webkit-transition-delay: 0s;
  126. }
  127. a.nav:hover {
  128. background-color: #fcf8f2;
  129. border-color: rgba(68, 68, 68, 0.3);
  130. }
  131. a.nav:hover code {
  132. background-color: #dbe8d9;
  133. }
  134. .subtitle h3 {
  135. margin-top: 18px;
  136. }
  137. .section {
  138. margin-top: 40px;
  139. }
  140. /* GitHub Ribbon
  141. * http://unindented.org/articles/2009/10/github-ribbon-using-css-transforms */
  142. .ribbon {
  143. background-color: #fcf8f2;
  144. overflow: hidden;
  145. /* top right corner */
  146. position: fixed;
  147. right: -3em;
  148. top: 2.5em;
  149. /* 45 deg ccw rotation */
  150. -moz-transform: rotate(45deg);
  151. -webkit-transform: rotate(45deg);
  152. /* shadow */
  153. -moz-box-shadow: 0 0 0.5em #888;
  154. -webkit-box-shadow: 0 0 0.5em #888;
  155. /* hover transition */
  156. -webkit-transition-property: background-color;
  157. -webkit-transition-duration: 0.3s;
  158. -webkit-transition-delay: 0s;
  159. }
  160. .ribbon a {
  161. border: solid 1px rgba(68, 68, 68, 0.4);
  162. color: #444;
  163. display: block;
  164. font: bold 81.25% 'Helvetiva Neue', Helvetica, Arial, sans-serif;
  165. margin: 0.05em 0 0.075em 0;
  166. padding: 0.5em 3.5em;
  167. text-align: center;
  168. text-decoration: none;
  169. /* shadow */
  170. text-shadow: 0 0 0.5em #888;
  171. }
  172. .ribbon:hover {
  173. background-color: #dbe8d9;
  174. }