Advertisement
englishextra

main.css

Feb 22nd, 2012
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 7.27 KB | None | 0 0
  1. /* http://riddle.pl/emcalc/*/
  2. /*BODY FONT-SIZE 13PX*/
  3. /*Pixels    EMs     Percent     Points*/
  4. /*1px   0.077em*/
  5. /*2px   0.154em*/
  6. /*3px   0.231em*/
  7. /*4px   0.308em*/
  8. /*5px   0.385em*/
  9. /*6px   0.462em     46.2%   5pt*/
  10. /*7px   0.538em     53.8%   5pt*/
  11. /*8px   0.615em     61.5%   6pt*/
  12. /*9px   0.692em     69.2%   7pt*/
  13. /*10px  0.769em     76.9%   8pt*/
  14. /*11px  0.846em     84.6%   8pt*/
  15. /*12px  0.923em     92.3%   9pt*/
  16. /*13px  1em     100%    10pt*/
  17. /*14px  1.077em     107.7%  11pt*/
  18. /*15px  1.154em     115.4%  11pt*/
  19. /*16px  1.231em     123.1%  12pt*/
  20. /*17px  1.308em     130.8%  13pt*/
  21. /*18px  1.385em     138.5%  14pt*/
  22. /*19px  1.462em     146.2%  14pt*/
  23. /*20px  1.538em     153.8%  15pt*/
  24. /*21px  1.615em     161.5%  16pt*/
  25. /*22px  1.692em     169.2%  17pt*/
  26. /*23px  1.769em     176.9%  17pt*/
  27. /*24px  1.846em     184.6%  18pt*/
  28. /*25px  1.923em*/
  29. /*28px  2.154em*/
  30. /*29px  2.231em */
  31. /*32px  2.462em */
  32. /*36px  2.769em*/
  33. /*37px  2.846em*/
  34. /*38px  2.923em*/
  35. /*39px  3.077em*/
  36. /*40px  3em*/
  37.  
  38. /* http://modularscale.com/scale/?px1=13&px2=11&ra1=1.5&ra2=0
  39.  
  40. Modular Scale
  41. ----------------------
  42. 13px @ 1:1.5   
  43. 11px @ 1:1.5   
  44. ----------------------
  45.  
  46. Pixels  Ems     % of 13
  47. 1,124.483   86.499  8,649.869
  48. 951.483     73.191  7,319.100
  49. 749.655     57.666  5,766.577
  50. 634.322     48.794  4,879.400
  51. 499.770     38.444  3,844.385
  52. 422.881     32.529  3,252.931
  53. 333.180     25.629  2,562.923
  54. 281.921     21.686  2,168.623
  55. 222.120     17.086  1,708.615
  56. 187.947     14.457  1,445.746
  57. 148.080     11.391  1,139.077
  58. 125.298     9.638   963.831
  59. 98.720  7.594   759.385
  60. 83.532  6.426   642.554
  61. 65.813  5.063   506.254
  62. 55.688  4.284   428.369
  63. 43.875  3.375   337.500
  64. 37.125  2.856   285.577
  65. 29.250  2.25    225.000
  66. 24.750  1.904   190.385
  67. 19.500  1.5     150.000
  68. 16.500  1.269   126.923
  69. 13.000  1   100.000
  70. 11.000  0.846   84.615
  71. 8.667   0.667   66.669
  72. 7.333   0.564   56.408
  73. 5.778   0.444   44.446
  74. 4.889   0.376   37.608
  75. 3.852   0.296   29.631
  76. 3.259   0.251   25.069
  77. 2.568   0.198   19.754
  78. 2.173   0.167   16.715
  79. 1.712   0.132   13.169
  80. 1.449   0.111   11.146
  81. 1.141   0.088   8.777 */
  82.  
  83. /* this should be placed after all basic definitions
  84. like fontface, reset, elements but before 3rd-party
  85. styles with their fixes */
  86.  
  87. body {
  88.     background: transparent;
  89. }
  90.  
  91. h1 {
  92.     text-align: center;
  93.     margin-top: 0;
  94.     margin-bottom: 0;
  95.     line-height: 1.462;/*19px/13px*/
  96. }
  97.  
  98. h2,
  99. h3,
  100. h4,
  101. h5,
  102. h6 {
  103.     margin-bottom: 7px;
  104. }
  105.  
  106. h2 a,
  107. h3 a,
  108. h4 a,
  109. h5 a,
  110. h6 a {
  111.     color: inherit;
  112.     text-decoration: underline;
  113. }
  114.  
  115. p.hyphenate {
  116.     text-align: justify;
  117. }
  118.  
  119. table.strict {
  120.     border-top-width:0;
  121.     border-right-width:0;
  122.     border-bottom-color:#D1CFCF;
  123.     border-bottom-style:solid;
  124.     border-bottom-width:1px;
  125.     border-left-color:#D1CFCF;
  126.     border-left-style:solid;
  127.     border-left-width:1px;
  128. }
  129.  
  130. table.strict td,
  131. table.strict th {
  132.     background-color: transparent !important;
  133.     border-top-color:#D1CFCF;
  134.     border-top-style:solid;
  135.     border-top-width:1px;
  136.     border-right-color:#D1CFCF;
  137.     border-right-style:solid;
  138.     border-right-width:1px;
  139.     border-bottom-width:0;
  140.     border-left-width:0;
  141.     text-align: left;
  142.     vertical-align: top;
  143. }
  144.  
  145. .alert a,
  146. .error a,
  147. .notice a,
  148. .info a,
  149. .success a {
  150.     text-decoration: none;
  151. }
  152.  
  153. .alert a:hover,
  154. .error a:hover,
  155. .notice a:hover,
  156. .info a:hover,
  157. .success a:hover,
  158. .alert a:focus,
  159. .error a:focus,
  160. .notice a:focus,
  161. .info a:focus,
  162. .success a:focus {
  163.     text-decoration: underline;
  164. }
  165.  
  166. .alert p:last-child,
  167. .error p:last-child,
  168. .notice p:last-child,
  169. .info p:last-child,
  170. .success p:last-child {
  171.     margin-bottom: 0;
  172. }
  173.  
  174. .alert,
  175. .error {
  176.     background: #EADED0;
  177.     border-color: #EADED0;
  178. }
  179.  
  180. .bolder {
  181.     font-weight: 600;
  182. }
  183.  
  184. .bottom {
  185.     margin-bottom: 0;
  186.     padding-bottom: 0;
  187. }
  188.  
  189. .br {
  190.     height: 1em;
  191. }
  192.  
  193. .center {
  194.     text-align: center;
  195. }
  196.  
  197. .clear {
  198.     clear: both;
  199.     display: block;
  200.     overflow: hidden;
  201.     visibility: hidden;
  202.     width: 0;
  203.     height: 0;
  204. }
  205.  
  206. .code pre {
  207.     background: #E5E3D5;
  208.     border-color: #E5E3D5;
  209.     color: inherit;
  210.     border-style: solid;
  211.     border-width: 1px;
  212. }
  213.  
  214. .container_12 p.center {
  215.     text-align: center;
  216. }
  217.  
  218. .container_12 p.left {
  219.     text-align: left;
  220. }
  221.  
  222. .container_12 p.right {
  223.     text-align: right;
  224. }
  225.  
  226. .error,
  227. .alert,
  228. .notice,
  229. .success,
  230. .info {
  231.     color: inherit;
  232.     border-radius: 3px;
  233.     -khtml-border-radius: 3px;
  234.     -moz-border-radius: 3px;
  235.     -webkit-border-radius: 3px;
  236.     border-style: solid;
  237.     border-width: 2px;
  238.     font-size: 0.923em;/*12px/13px*/
  239.     margin-bottom: 20px;
  240.     padding: 5px 7px;
  241. }
  242.  
  243. .floatleft {
  244.     float: left;
  245. }
  246.  
  247. .floatright {
  248.     float: right;
  249. }
  250.  
  251. .google_ad_client {
  252.     text-align: center;
  253. }
  254.  
  255. .hide {
  256.     display: none;
  257. }
  258.  
  259. .highlight {
  260.     font-weight: 600;
  261.     color: #FEFEFE;
  262.     background: #C82E3D;
  263.     border-radius: 3px;
  264.     -khtml-border-radius: 3px;
  265.     -moz-border-radius: 3px;
  266.     -webkit-border-radius: 3px;
  267. }
  268.  
  269. .hr {
  270.     border-bottom-width: 0;
  271.     border-top-color: #D1CFCF;
  272.     border-top-style: solid;
  273.     border-top-width: 1px;
  274.     clear: both;
  275.     height: 0;
  276.     margin: 0 10px 20px;
  277.     max-width: 2500px;
  278.     padding: 2px 0 0;
  279. }
  280.  
  281. .info {
  282.     background: #E9F3FD;
  283.     border-color: #E9F3FD;
  284. }
  285.  
  286. .italic {
  287.     font-weight: 400;
  288.     font-style: italic;
  289. }
  290.  
  291. .justify {
  292.     text-align: justify;
  293. }
  294.  
  295. .larger {
  296.     font-size: 123.1%;/*16px/13px*/
  297. }
  298.  
  299. .left {
  300.     text-align: left;
  301. }
  302.  
  303. .notice,
  304. .success {
  305.     background: #E8E7D2;
  306.     border-color: #E8E7D2;
  307. }
  308.  
  309. .right {
  310.     text-align: right;
  311. }
  312.  
  313. .smaller {
  314.     font-size: 84.6%;/*11px/13px*/
  315. }
  316.  
  317. .subhead {
  318.     font-size: 1.615em;/*21px/13px*/
  319.     font-weight: 300;
  320.     font-style: italic;
  321.     line-height: 1.385em;/*18px/13px*/
  322.     text-align: center;
  323.     padding-bottom: 20px;
  324. }
  325.  
  326. .top {
  327.     margin-top: 0;
  328.     padding-top: 0;
  329. }
  330.  
  331. .underline {
  332.     text-decoration: underline;
  333. }
  334.  
  335. #div_comments_check {
  336.     font-weight: 600;
  337.     color: #C82E3D;
  338. }
  339.  
  340. #comments_textarea {
  341.     width: 95%;
  342.     overflow: auto;
  343.     margin: 0;
  344. }
  345.  
  346. #copyright {
  347.     text-align: center;
  348.     margin-top: 0;
  349. }
  350.  
  351. #copyright p {
  352.     font-size: 0.846em;/*11px/13px*/
  353. }
  354.  
  355. #copyright a,
  356. #topnavigation a {
  357.     color: inherit;
  358.     text-decoration: none;
  359. }
  360.  
  361. #copyright a:hover {
  362.     text-decoration: underline;
  363. }
  364.  
  365. #footer {
  366.     background: transparent;
  367.     border-color: transparent;
  368.     border-style: solid;
  369.     border-width: 1px;
  370. }
  371.  
  372. #google_ad_client_728x90 {
  373.     margin: 0 auto 20px auto;
  374. }
  375.  
  376. #pagearticle {
  377.     background: #fff;
  378.     padding-top: 20px;
  379.     padding-bottom: 20px;
  380. }
  381.  
  382. #pagecontainer {
  383.     margin: 0 auto;
  384. }
  385.  
  386. #topbanner {
  387.     height: 124px;
  388.     margin: 0;
  389.     background: transparent;
  390. }
  391.  
  392. #topbannerwrapper {
  393.     margin: 0 auto;
  394.     padding: 0;
  395. }
  396.  
  397. /*
  398. <div id="topbar">
  399.     <div id="topnavigation">
  400.         <div class="grid_2">
  401.         <div class="grid_2">
  402.         <div class="grid_2">
  403.         <div class="grid_2">
  404.         <div class="grid_2">
  405.         <div class="grid_2">
  406.         <div class="clear"></div>
  407.     </div>
  408. </div>
  409. */
  410. #topbar {
  411.     margin: 0 auto 13px auto;
  412.     padding: 0;
  413.     z-index: 100001;
  414. }
  415.  
  416. /* don't use filter:... */
  417. #topnavigation {
  418.  
  419.     box-shadow: 0px 3px 5px #999;
  420.     -khtml-box-shadow: 0px 3px 5px #999;
  421.     -moz-box-shadow: 0px 3px 5px #999;
  422.     -webkit-box-shadow: 0px 3px 5px #999;
  423.            
  424.     border-radius: 0 0 5px 5px;
  425.     -khtml-border-radius: 0 0 5px 5px;
  426.     -moz-border-radius: 0 0 5px 5px;
  427.     -webkit-border-radius: 0 0 5px 5px;
  428.    
  429.     background: #2E2E2E;
  430.  
  431.     opacity: 0.92;
  432.     /* filter:alpha(opacity=92); */
  433.  
  434.     font-size: 13px;
  435.     font-weight: 600;
  436.    
  437.     text-align: center;
  438.     text-shadow: -1px -1px 3px #3E3E3E;
  439.    
  440.     color: #C2C2C2;
  441.    
  442.     margin-bottom: 0;
  443.    
  444.     cursor: pointer;
  445. }
  446.  
  447. #topnavigation a {
  448.     display: inline-block;
  449.     padding: 5px 7px 9px 7px;
  450. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement