style.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. :root {
  2. --foreground: #666;
  3. --accent: #333;
  4. --light-accent: #eee;
  5. --mid-accent: #aaa;
  6. --background: #fff;
  7. --link: #08c;
  8. --link-active: #058;
  9. }
  10. html {
  11. font-size: 100%;
  12. -webkit-text-size-adjust: 100%;
  13. -ms-text-size-adjust: 100%;
  14. }
  15. a:focus {
  16. outline: thin dotted var(--accent);
  17. outline: 5px auto -webkit-focus-ring-color;
  18. outline-offset: -2px;
  19. }
  20. a:hover,
  21. a:active {
  22. outline: 0;
  23. }
  24. body {
  25. margin: 30pt;
  26. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  27. font-size: 18px;
  28. line-height: 20px;
  29. color: var(--foreground);
  30. background-color: var(--background);
  31. }
  32. a {
  33. color: var(--link);
  34. text-decoration: none;
  35. }
  36. a:hover {
  37. color: var(--link-active);
  38. text-decoration: none;;
  39. }
  40. .row {
  41. margin-left: -20px;
  42. *zoom: 1;
  43. }
  44. .row:before,
  45. .row:after {
  46. display: table;
  47. content: "";
  48. line-height: 0;
  49. }
  50. .row:after {
  51. clear: both;
  52. }
  53. .panel {
  54. float: left;
  55. min-height: 1px;
  56. margin: 20px;
  57. padding: 10px;
  58. border: 1pt;
  59. border-color: var(--light-accent);
  60. border-style: solid;
  61. border-radius: 10px;
  62. width: 5em;
  63. }
  64. .container {
  65. width: 50em;
  66. margin-right: auto;
  67. margin-left: auto;
  68. *zoom: 1;
  69. }
  70. .container:before,
  71. .container:after {
  72. display: table;
  73. content: "";
  74. line-height: 0;
  75. }
  76. .container:after {
  77. clear: both;
  78. }
  79. small {
  80. font-size: 85%;
  81. }
  82. h1 {
  83. letter-spacing: -5.8pt;
  84. font-size: 400%;
  85. margin: 12pt 0 30pt 0;
  86. font-family: inherit;
  87. font-weight: bold;
  88. line-height: 20px;
  89. color: var(--foreground));
  90. text-rendering: optimizelegibility;
  91. line-height: 40px;
  92. }
  93. .chroma-crawl {
  94. text-shadow:
  95. 4px 0 #00FFFF35,
  96. -4px 0 #FF000035;
  97. }
  98. body {
  99. margin-top: 90px;
  100. }
  101. .subhead {
  102. margin: 1em 0em;
  103. font-weight: 100;
  104. font-size: 200%;
  105. }
  106. .tech-info {
  107. font-weight: 200;
  108. margin: 1em 0em;
  109. font-size: 70%;
  110. font-family: monospace;
  111. }
  112. .header {
  113. border-bottom: 1px solid #ddd;
  114. text-align: right;
  115. }
  116. .footer {
  117. color: var(--mid-accent);
  118. font-size: 12px;
  119. text-align: center;
  120. margin-top: 20px;
  121. }
  122. .footer a {
  123. color: var(--mid-accent);
  124. text-decoration: none;
  125. }
  126. .demo-icon {
  127. display: block;
  128. font-family: "ClockFace";
  129. font-style: normal;
  130. font-weight: normal;
  131. text-align: center;
  132. font-variant: normal;
  133. font-size: 230%;
  134. margin: 10pt;
  135. -webkit-font-smoothing: antialiased;
  136. -moz-osx-font-smoothing: grayscale;
  137. }
  138. .i-code, .i-name {
  139. text-align: center;
  140. font-size: 80%;
  141. display: block;
  142. }
  143. .i-code {
  144. opacity: 0.3;
  145. }
  146. #pagetime {
  147. font-family: "ClockFace";
  148. font-size: 100pt;
  149. margin: 50pt 0;
  150. }