screen.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. /*
  2. Copyright (c) 2010, Jeff Mesnil (http://jmesnil.net) All rights reserved.
  3. Redistribution and use in source and binary forms, with or without modification,
  4. are permitted provided that the following conditions are met:
  5. * Redistributions of source code must retain the above copyright notice,
  6. this list of conditions and the following disclaimer.
  7. * Redistributions in binary form must reproduce the above copyright notice,
  8. this list of conditions and the following disclaimer in the documentation
  9. and/or other materials provided with the distribution.
  10. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
  11. AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  12. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  13. ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
  14. LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  15. CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  16. SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  17. INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  18. CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  19. ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  20. POSSIBILITY OF SUCH DAMAGE.
  21. Acknowledgements & Inspirations
  22. The stub of the stylesheet (and the documentation in general) was taken
  23. from Mark Pilgrim's Dive into HTML 5 (http//diveintohtml5.org).
  24. "The Elements of Typographic Style Applied to the Web" ... http://webtypography.net/toc/
  25. "Use the Best Available Ampersand" ....................... http://simplebits.com/notebook/2008/08/14/ampersands.html
  26. "Unicode Support in HTML, Fonts, and Web Browsers" ....... http://alanwood.net/unicode/
  27. "Punctuation" ............................................ http://en.wikipedia.org/wiki/Punctuation
  28. "Essays 1743" ............................................ http://www.thibault.org/fonts/essays/
  29. "Linux Libertine" ........................................ http://linuxlibertine.sourceforge.net/
  30. "CSS Styled Restaurant Menu" ............................. http://www.web-graphics.com/mtarchive/ItalianMenu.html
  31. */
  32. footer {
  33. clear: both;
  34. text-align: center;
  35. font-size: small;
  36. display: block;
  37. }
  38. body {
  39. font: large/1.556 "Linux Libertine", Palatino, "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
  40. word-spacing: 0.1em;
  41. max-width: 800px;
  42. margin: 0 auto;
  43. padding-bottom: 2em;
  44. }
  45. pre, kbd, samp, code, var {
  46. font: medium Consolas, "Andale Mono", Monaco, "Liberation Mono", "Bitstream Vera Sans Mono", "DejaVu Sans Mono", monospace;
  47. word-spacing: 0;
  48. letter-spacing: 0;
  49. }
  50. code, var, samp {
  51. line-height:inherit !important;
  52. }
  53. samp {
  54. display:inline ;
  55. color: #667;
  56. }
  57. mark {
  58. display: inline-block;
  59. background: #ff8;
  60. border: 1px dotted #888;
  61. }
  62. h1, h2, h3, h4, caption, thead th {
  63. font-family: "Essays 1743", "Linux Libertine", Palatino, "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
  64. }
  65. h1, h2, h3, h4 {
  66. clear: both;
  67. }
  68. img {
  69. float: left;
  70. margin-right: 5px;
  71. margin-bottom: 5px;
  72. }
  73. .bc, .st {
  74. width:100%;
  75. border-collapse:collapse;
  76. }
  77. .st {
  78. border: 1px solid;
  79. }
  80. .st th {
  81. text-align: left;
  82. font-weight: normal;
  83. }
  84. .st tr > th:first-child {
  85. padding-left: 5px;
  86. }
  87. .ho th {
  88. border-bottom: 1px solid;
  89. }
  90. .zebra {
  91. background: #eee;
  92. }
  93. .ss {
  94. float: right;
  95. margin: 0 0 1.75em 1.75em;
  96. font-size: medium;
  97. }
  98. aside {
  99. display: block;
  100. padding: 0.75em;
  101. border: 1px solid #000;
  102. -moz-border-radius: 1em;
  103. -webkit-border-radius: 1em;
  104. border-radius: 1em;
  105. font-style: oblique;
  106. margin: 1.75em 0;
  107. }
  108. .advice {
  109. display: block;
  110. padding: 0.75em;
  111. border: 1px solid #000;
  112. -moz-border-radius: 1em;
  113. -webkit-border-radius: 1em;
  114. border-radius: 1em;
  115. font-style: oblique;
  116. margin: 1.75em 0;
  117. min-height: 148px;
  118. }
  119. .ss span {
  120. display: block;
  121. text-align: center;
  122. border-bottom: 3px double;
  123. }