/kai/public/css/base.css

https://bitbucket.org/bbangert/kai/ · CSS · 83 lines · 56 code · 1 blank · 26 comment · 0 complexity · bfae86d4d62589472c0d536623162830 MD5 · raw file

  1. /*
  2. Copyright (c) 2008, Yahoo! Inc. All rights reserved.
  3. Code licensed under the BSD License:
  4. http://developer.yahoo.net/yui/license.txt
  5. version: 2.5.2
  6. */
  7. /* base.css, part of YUI's CSS Foundation */
  8. h1 {
  9. /*18px via YUI Fonts CSS foundation*/
  10. font-size:138.5%;
  11. }
  12. h2 {
  13. /*16px via YUI Fonts CSS foundation*/
  14. font-size:123.1%;
  15. }
  16. h3 {
  17. /*14px via YUI Fonts CSS foundation*/
  18. font-size:108%;
  19. }
  20. h1,h2,h3 {
  21. /* top & bottom margin based on font size */
  22. margin:1em 0;
  23. }
  24. h1,h2,h3,h4,h5,h6,strong {
  25. /*bringing boldness back to headers and the strong element*/
  26. font-weight:bold;
  27. }
  28. abbr,acronym {
  29. /*indicating to users that more info is available */
  30. border-bottom:1px dotted #000;
  31. cursor:help;
  32. }
  33. em {
  34. /*bringing italics back to the em element*/
  35. font-style:italic;
  36. }
  37. blockquote,ul,ol,dl {
  38. /*giving blockquotes and lists room to breath*/
  39. margin:1em;
  40. }
  41. ol,ul,dl {
  42. /*bringing lists on to the page with breathing room */
  43. margin-left:2em;
  44. }
  45. ol li {
  46. /*giving OL's LIs generated numbers*/
  47. list-style: decimal outside;
  48. }
  49. ul li {
  50. /*giving UL's LIs generated disc markers*/
  51. list-style: disc outside;
  52. }
  53. dl dd {
  54. /*giving UL's LIs generated numbers*/
  55. margin-left:1em;
  56. }
  57. th,td {
  58. /*borders and padding to make the table readable*/
  59. border:1px solid #000;
  60. padding:.5em;
  61. }
  62. th {
  63. /*distinguishing table headers from data cells*/
  64. font-weight:bold;
  65. text-align:center;
  66. }
  67. caption {
  68. /*coordinated margin to match cell's padding*/
  69. margin-bottom:.5em;
  70. /*centered so it doesn't blend in to other content*/
  71. text-align:center;
  72. }
  73. p,fieldset,table,pre {
  74. /*so things don't run into each other*/
  75. margin-bottom:1em;
  76. }
  77. /* setting a consistent width, 160px;
  78. control of type=file still not possible */
  79. input[type=text],input[type=password],textarea{width:12.25em;*width:11.9em;}
  80. .error-message {
  81. color: #f00;
  82. }