style.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. /* HTML5 ✰ Boilerplate */
  2. html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  3. abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
  4. small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
  5. fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
  6. article, aside, canvas, details, figcaption, figure, footer, header, hgroup,
  7. menu, nav, section, summary, time, mark, audio, video {
  8. margin:0;
  9. padding:0;
  10. border:0;
  11. outline:0;
  12. font-size:100%;
  13. vertical-align:baseline;
  14. background:transparent;
  15. }
  16. article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  17. display:block;
  18. }
  19. nav ul { list-style:none; }
  20. blockquote, q { quotes:none; }
  21. blockquote:before, blockquote:after,
  22. q:before, q:after { content:''; content:none; }
  23. a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
  24. ins { background-color:#ff9; color:#000; text-decoration:none; }
  25. mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
  26. del { text-decoration: line-through; }
  27. abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
  28. table { border-collapse:collapse; border-spacing:0; }
  29. hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
  30. input, select { vertical-align:middle; }
  31. body { font:13px/1.231 sans-serif; *font-size:small; }
  32. select, input, textarea, button { font:99% sans-serif; }
  33. pre, code, kbd, samp { font-family: monospace, sans-serif; }
  34. body, select, input, textarea { color: #444; }
  35. h1,h2,h3,h4,h5,h6 { font-weight: bold; }
  36. html { overflow-y: scroll; }
  37. a:hover, a:active { outline: none; }
  38. a, a:active, a:visited { color: #607890; }
  39. a:hover { color: #036; }
  40. ul, ol { margin-left: 1.8em; }
  41. ol { list-style-type: decimal; }
  42. nav ul, nav li { margin: 0; }
  43. small { font-size: 85%; }
  44. strong, th { font-weight: bold; }
  45. td, td img { vertical-align: top; }
  46. sub { vertical-align: sub; font-size: smaller; }
  47. sup { vertical-align: super; font-size: smaller; }
  48. pre { padding: 15px; white-space: pre; white-space: pre-wrap; white-space: pre-line; word-wrap: break-word; }
  49. textarea { overflow: auto; }
  50. .ie6 legend, .ie7 legend { margin-left: -7px; }
  51. input[type="radio"] { vertical-align: text-bottom; }
  52. input[type="checkbox"] { vertical-align: bottom; }
  53. .ie7 input[type="checkbox"] { vertical-align: baseline; }
  54. .ie6 input { vertical-align: text-bottom; }
  55. label, input[type=button], input[type=submit], button { cursor: pointer; }
  56. button, input, select, textarea { margin: 0; }
  57. input:valid, textarea:valid { }
  58. input:invalid, textarea:invalid { border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red; }
  59. .no-boxshadow input:invalid,
  60. .no-boxshadow textarea:invalid { background-color: #f0dddd; }
  61. ::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
  62. ::selection { background:#FF5E99; color:#fff; text-shadow: none; }
  63. a:link { -webkit-tap-highlight-color: #FF5E99; }
  64. button { width: auto; overflow: visible; }
  65. .ie7 img { -ms-interpolation-mode: bicubic; }
  66. .ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
  67. .hidden { display: none; visibility: hidden; }
  68. .visuallyhidden { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px); }
  69. .invisible { visibility: hidden; }
  70. .clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; visibility: hidden; }
  71. .clearfix:after { clear: both; }
  72. .clearfix { zoom: 1; }
  73. /* Primary Styles
  74. Author:
  75. */
  76. h1 {
  77. width:800px;
  78. margin:50px auto;
  79. text-align:center;
  80. font-size:200%;
  81. font-weight:bold;
  82. }
  83. #main {
  84. width:800px;
  85. margin:50px auto;
  86. }
  87. label {
  88. display:inline-block;
  89. width:8em;
  90. }
  91. input {
  92. margin:5px;
  93. }
  94. p {
  95. margin-bottom:1em;
  96. }
  97. ol {
  98. margin-bottom:1em;
  99. padding-left:1.5em;
  100. }
  101. @media all and (orientation:portrait) {
  102. }
  103. @media all and (orientation:landscape) {
  104. }
  105. @media screen and (max-device-width: 480px) {
  106. /* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
  107. }
  108. @media print {
  109. * { background: transparent !important; color: #444 !important; text-shadow: none !important; }
  110. a, a:visited { color: #444 !important; text-decoration: underline; }
  111. a:after { content: " (" attr(href) ")"; }
  112. abbr:after { content: " (" attr(title) ")"; }
  113. .ir a:after { content: ""; }
  114. pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  115. thead { display: table-header-group; }
  116. tr, img { page-break-inside: avoid; }
  117. @page { margin: 0.5cm; }
  118. p, h2, h3 { orphans: 3; widows: 3; }
  119. h2, h3{ page-break-after: avoid; }
  120. }