Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.93 KB | None | 0 0
  1. @import url(https://fonts.googleapis.com/css?family=Lato: 300italic,700italic,300,700);
  2.  
  3. body {
  4. padding: 50px;
  5. font: 14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
  6. color: #777;
  7. font-weight: 300;
  8. }
  9.  
  10. h1, h2, h3, h4, h5, h6 {
  11. color: #222;
  12. margin: 0 0 20px;
  13. }
  14.  
  15. p, ul, ol, table, pre, dl {
  16. margin: 0 0 20px;
  17. }
  18.  
  19. h1, h2, h3 {
  20. line-height: 1.1;
  21. }
  22.  
  23. h1 {
  24. font-size: 28px;
  25. }
  26.  
  27. h2 {
  28. color: #393939;
  29. }
  30.  
  31. h3, h4, h5, h6 {
  32. color: #494949;
  33. }
  34.  
  35. a {
  36. color: #39c;
  37. font-weight: 400;
  38. text-decoration: none;
  39. }
  40.  
  41. a small {
  42. font-size: 11px;
  43. color: #777;
  44. margin-top: -0.6em;
  45. display: block;
  46. }
  47.  
  48. .wrapper {
  49. width: 860px;
  50. margin: 0 auto;
  51. }
  52.  
  53. blockquote {
  54. border-left: 1px solid #e5e5e5;
  55. margin: 0;
  56. padding: 0 0 0 20px;
  57. font-style: italic;
  58. }
  59.  
  60. code, pre {
  61. font-family: Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
  62. color: #333;
  63. font-size: 12px;
  64. }
  65.  
  66. pre {
  67. padding: 8px 15px;
  68. background: #f8f8f8;
  69. border-radius: 5px;
  70. border: 1px solid #e5e5e5;
  71. overflow-x: auto;
  72. }
  73.  
  74. code {
  75. padding: 1px;
  76. }
  77.  
  78. table {
  79. width: 100%;
  80. border-collapse: collapse;
  81. }
  82.  
  83. th, td {
  84. text-align: left;
  85. padding: 5px 10px;
  86. border-bottom: 1px solid #e5e5e5;
  87. }
  88.  
  89. dt {
  90. color: #444;
  91. font-weight: 700;
  92. }
  93.  
  94. th {
  95. color: #444;
  96. }
  97.  
  98. img {
  99. max-width: 100%;
  100. }
  101.  
  102. header {
  103. width: 270px;
  104. float: left;
  105. position: fixed;
  106. }
  107.  
  108. header ul {
  109. list-style: none;
  110. height: 40px;
  111.  
  112. padding: 0;
  113.  
  114. background: #eee;
  115. background: -moz-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
  116. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#dddddd));
  117. background: -webkit-linear-gradient(top, #f8f8f8 0%,#dddddd 100%);
  118. background: -o-linear-gradient(top, #f8f8f8 0%,#dddddd 100%);
  119. background: -ms-linear-gradient(top, #f8f8f8 0%,#dddddd 100%);
  120. background: linear-gradient(top, #f8f8f8 0%,#dddddd 100%);
  121.  
  122. border-radius: 5px;
  123. border: 1px solid #d2d2d2;
  124. box-shadow: inset #fff 0 1px 0, inset rgba(0,0,0,0.03) 0 -1px 0;
  125. width: 270px;
  126. }
  127.  
  128. header li {
  129. width: 89px;
  130. float: left;
  131. border-right: 1px solid #d2d2d2;
  132. height: 40px;
  133. }
  134.  
  135. header ul a {
  136. line-height: 1;
  137. font-size: 11px;
  138. color: #999;
  139. display: block;
  140. text-align: center;
  141. padding-top: 6px;
  142. height: 40px;
  143. }
  144.  
  145. strong {
  146. color: #222;
  147. font-weight: 700;
  148. }
  149.  
  150. header ul li + li {
  151. width: 88px;
  152. border-left: 1px solid #fff;
  153. }
  154.  
  155. header ul li + li + li {
  156. border-right: none;
  157. width: 89px;
  158. }
  159.  
  160. header ul a strong {
  161. font-size: 14px;
  162. display: block;
  163. color: #222;
  164. }
  165.  
  166. section {
  167. width: 500px;
  168. float: right;
  169. padding-bottom: 50px;
  170. }
  171.  
  172. small {
  173. font-size: 11px;
  174. }
  175.  
  176. hr {
  177. border: 0;
  178. background: #e5e5e5;
  179. height: 1px;
  180. margin: 0 0 20px;
  181. }
  182.  
  183. footer {
  184. width: 270px;
  185. float: left;
  186. position: fixed;
  187. bottom: 50px;
  188. }
  189.  
  190. @media print, screen and (max-width: 960px) {
  191. div.wrapper {
  192. width: auto;
  193. margin: 0;
  194. }
  195.  
  196. header, section, footer {
  197. float: none;
  198. position: static;
  199. width: auto;
  200. }
  201.  
  202. header {
  203. padding-right: 320px;
  204. }
  205.  
  206. section {
  207. border: 1px solid #e5e5e5;
  208. border-width: 1px 0;
  209. padding: 20px 0;
  210. margin: 0 0 20px;
  211. }
  212.  
  213. header a small {
  214. display: inline;
  215. }
  216.  
  217. header ul {
  218. position: absolute;
  219. right: 50px;
  220. top: 52px;
  221. }
  222. }
  223.  
  224. @media print, screen and (max-width: 720px) {
  225. body {
  226. word-wrap: break-word;
  227. }
  228.  
  229. header {
  230. padding: 0;
  231. }
  232.  
  233. header ul, header p.view {
  234. position: static;
  235. }
  236.  
  237. pre, code {
  238. word-wrap: normal;
  239. }
  240. }
  241.  
  242. @media print, screen and (max-width: 480px) {
  243. body {
  244. padding: 15px;
  245. }
  246.  
  247. header ul {
  248. display: none;
  249. }
  250. }
  251.  
  252. @media print {
  253. body {
  254. padding: 0.4in;
  255. font-size: 12pt;
  256. color: #444;
  257. }
  258. }
  259.  
  260. /* Site specific stuff */
  261.  
  262. header, footer {
  263. p {
  264. margin: 0 0 5px;
  265. }
  266. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement