home *** CD-ROM | disk | FTP | other *** search
/ developer.apple.com / developer.apple.com.tar / developer.apple.com / global / styles / base.css.orig < prev    next >
Text File  |  2010-04-07  |  8KB  |  141 lines

  1. @import url(http://devimages.apple.com/global/styles/nav.css);
  2.  
  3. /* RESET */
  4. html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input { margin: 0; padding: 0; }
  5. h1,h2,h3,h4,h5,h6,pre,code,address,caption,cite,code,em,strong,th { font-size: 1em; font-weight: normal; font-style: normal; }
  6. ul,ol { list-style: none; }
  7. fieldset,img { border: none; }
  8. caption,th { text-align: left; }
  9. table { border-collapse: collapse; border-spacing: 0; }
  10.  
  11. /* LAYOUT */
  12. .clear { clear:both; }
  13. .clearer { clear: both; display: block; margin: 0; padding: 0; height: 0; line-height: 1px; font-size: 1px; }
  14.  
  15. img { behavior:url(/global/scripts/lib/iepngfix.htc); }
  16. img.left { float: left; margin: 2px 20px 16px 0; }
  17. img.right { float: right; margin: 2px 0 16px 20px; }
  18. img.across { margin: 2px 0 16px 0; }
  19. img.flushleft { margin-left: -20px; }
  20. img.flushright { margin-right: -20px; }
  21.  
  22. #container { width: 980px; margin: 0 auto; position: relative; }
  23. #main { width:100%; position: relative; }
  24. #content { padding: 18px 20px; position: relative; color: #333; }
  25. #breadcrumb { clear:both; text-align:center; margin:18px auto; clear:both; font-size:10px; color:#686868; }
  26.  
  27. /* GRID */
  28. .column { float: left; }
  29. .grid2col, .grid2cola, .grid2colb, .grid2colc, .grid2cold, .grid2cole, .grid2colf, .grid3col, .grid3cola, .grid4col, .grid5col, .grid6col { width: 100%; }
  30.  
  31. .grid2col .column { width: 49%; }
  32. .grid2col .grid2col .column { width: 47.8%; }
  33. .grid3col .grid2col .column { width: 46%; }
  34. .grid4col .grid2col .column { width: 45%; }
  35.  
  36. .grid2cola .column.first { width: 66%; }
  37. .grid2cola .column.last { width: 32%; }
  38.  
  39. .grid2colb .column.first { width: 74.9%; }
  40. .grid2colb .column.last { width: 23%; }
  41.  
  42. .grid2colc .column.first { width: 32%; }
  43. .grid2colc .column.last { width: 66%; }
  44.  
  45. .grid2cold .column.first { width: 23%; }
  46. .grid2cold .column.last { width: 74.9%; }
  47.  
  48. .grid2cole .column.first { width: 79%; }
  49. .grid2cole .column.last { width: 19%; }
  50.  
  51. .grid2colf .column.first { width: 19%; }
  52. .grid2colf .column.last { width: 79%; }
  53.  
  54. .grid3col .column { width: 32%; margin-left: 2%; }
  55. .grid2col .grid3col .column { width: 31%; }
  56.  
  57. .grid3cola .column { width: 58%; margin-left: 2%; }
  58. .grid3cola .column.first,
  59. .grid3cola .column.last { width: 19%; }
  60.  
  61. .grid4col .column { width: 23%; margin-left: 3%; }
  62.  
  63. .grid5col .column { width: 18.4%; margin-left: 2%; }
  64.  
  65. .grid6col .column { width: 15%; margin-left: 2%; }
  66.  
  67. .column.first, .column.last { margin-left: 0 !important; }
  68. .column.last { float: right !important; }
  69.  
  70. p.last, ul.last, ol.last, li.last { _width:auto !important; _float:none !important; }
  71.  
  72. #container:after, #content:after, .grid2col:after, .grid2cola:after, .grid2colb:after, .grid2colc:after, .grid2cold:after, .grid2cole:after, .grid2colf:after, .grid3col:after, .grid3cola:after, .grid4col:after, .grid5col:after, .grid6col:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
  73. #container, #content, .grid2col, .grid2cola, .grid2colb, .grid2colc, .grid2cold, .grid2cole, .grid2colf, .grid3col, .grid3cola, .grid4col, .grid5col, .grid6col { _zoom:1; }
  74.  
  75. /* TYPE */
  76. body { font: 12px/18px "Lucida Grande", Geneva, Arial, Verdana, sans-serif; background-color:#fff; color:#333; }
  77.  
  78. a { color: #2971a7; }
  79. strong, b { font-weight:bold; }
  80. em, i { font-style:italic; }
  81. sup { padding-left:1px; font-size:10px !important; font-weight:normal !important; vertical-align: baseline; position: relative; bottom: 0.33em; color:#76797c; _position:static !important; }
  82. .sosumi { font-size: 10px !important; color:#76797c; }
  83.  
  84. #main p { margin-bottom: 18px; }
  85. #main h1 { font-weight: bold; font-size: 24px; line-height: 36px; margin-bottom: 18px; }
  86. #main h2 { font-weight: bold; font-size: 16px; line-height: 18px; margin-bottom: 18px; }
  87. #main h3 { font-weight: bold; font-size: 1em; line-height: 18px; }
  88. #main h4 { font-weight: bold; font-size: 10px; line-height: 18px; }
  89. #main p.intro { font-weight: bold; }
  90. #main .more { text-align: right; }
  91.  
  92. #main ul { margin-bottom: 18px; list-style: none outside; }
  93. #main ol { margin-bottom: 18px; list-style: decimal; margin-left: 2.2em; }
  94. #main ul.square,
  95. #main ul.circle { margin-left: 2em; }
  96. #main ul.square { list-style: square outside; }
  97. #main ul.circle { list-style: circle outside; }
  98. #main ul ul.circle,
  99. #main ul ul.square { margin-top: 4px; margin-bottom: 5px; }
  100. #main ol.sosumi { margin-left: 0; padding-left: 2em; }
  101.  
  102. #main a.pdf { background: url( http://images.apple.com/global/elements/icons/globaliconpdf12x12.gif ) 0 0.4em no-repeat; display: block; padding-left: 20px; }
  103. #main a.html { background: url( http://images.apple.com/global/elements/icons/globaliconhtml12x12.gif ) 0 0.4em no-repeat; display: block; padding-left: 20px; }
  104. #main a.qt { background: url( http://images.apple.com/global/elements/icons/globaliconqt12x12.gif ) 0 0.4em no-repeat; display: block; padding-left: 20px; }
  105. #main a.ical { background: url( http://images.apple.com/global/elements/icons/globaliconical12x12.gif ) 0 0.4em no-repeat; display: block; padding-left: 20px; }
  106. #main a.dl { background: url( http://images.apple.com/global/elements/icons/globalicondl11x10.gif ) 0 0.4em no-repeat; display: block; padding-left: 20px; }
  107. #main a.dmg { background: url( http://images.apple.com/global/elements/icons/globalicondmg12x12.gif ) 0 0.4em no-repeat; display: block; padding-left: 20px; }
  108. #main a.zip { background: url( http://images.apple.com/global/elements/icons/globaliconzip12x12.gif ) 0 0.4em no-repeat; display: block; padding-left: 20px; }
  109. #main a.keynote { background: url( http://images.apple.com/global/elements/icons/globaliconkeynote12x12.gif ) 0 0.4em no-repeat; display: block; padding-left: 20px; }
  110. #main a.audio { background: url( http://images.apple.com/global/elements/icons/globaliconaudio12x12.gif ) 0 0.4em no-repeat; display: block; padding-left: 20px; }
  111.  
  112. #main .sidebar { font-size: 10px; line-height: 18px; color:#686868; }
  113. #main .callout { font-size: 11px; line-height: 18px; margin-bottom: 18px; }
  114. #main .last { margin-bottom: 0; }
  115.  
  116. /* PRETTY SEARCH */
  117. input.prettysearch { width:200px; height: 16px; background: url( http://devimages.apple.com/global/elements/prettysearch/searchfield_repeat.png ) center top repeat-x; border: 0px; margin: 0; padding: 3px 0 0 0; font:11px "Lucida Grande", Geneva, Arial, sans-serif; }
  118. .search-wrapper { position: relative; width: 200px; }
  119. .search-wrapper input.prettysearch { width: 171px; margin-left: 20px; *margin-top:-1px; *margin-right:-2px; *margin-left:10px; }
  120. .search-wrapper .left, 
  121. .search-wrapper .right { behavior:url(/global/scripts/lib/iepngfix.htc); }
  122. .search-wrapper .left { display: block; position: absolute; left: 0; top: 0; width: 20px; height: 19px; background: url( http://devimages.apple.com/global/elements/prettysearch/searchfield_leftcap.png ) left top no-repeat; }
  123. .search-wrapper .right { display: block; position: absolute; right: 0; top: 0; width: 10px; height: 19px; background: url( http://devimages.apple.com/global/elements/prettysearch/searchfield_rightcap.png ) right top no-repeat; }
  124. .search-wrapper.empty.blurred input { color: #7E7E7E; }
  125. .search-wrapper .reset { position: absolute; width: 11px; height: 11px; overflow:hidden; z-index: 1; right: 4px; top: 4px; background: url( http://devimages.apple.com/global/elements/prettysearch/close.gif ); display: block; cursor: pointer; _cursor:hand; }
  126. .search-wrapper.empty .reset { display: none; }
  127.  
  128. /* GLOBAL FOOTER */
  129. #globalfooter p { margin-bottom: 1em; }
  130. #globalfooter form { margin: 18px 10px; }
  131. #globalfooter .search-wrapper { margin: 0 auto; }
  132. #globalfooter .search-wrapper input.prettysearch { margin-left: 10px; }
  133.  
  134. /* PRINT */
  135. @media print {
  136.     body, #main, #content { color:#000 !important; }
  137.     a, a:link, a:visited { color:#000 !important; text-decoration:none !important; }
  138.     #tabs, #globalheader, #globalfooter, #directorynav, .noprint, .hide { display: none !important; }
  139.     #main a.pdf, #main a.html, #main a.qt, #main a.ical, #main a.dl, #main a.dmg, #main a.zip, #main a.keynote, #main a.audio { padding-left: 0 !important; background-image: none !important; }
  140. }
  141.