Advertisement
cgrunwald

Untitled

Dec 23rd, 2010
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.64 KB | None | 0 0
  1. /* HTML5 tags */
  2. header, section, footer,
  3. aside, nav, article, figure {
  4.     display: block;
  5. }
  6.  
  7. /* Body */
  8. body {
  9.     background: #F5F4EF;
  10.     color: #000305;
  11.         font-size: 87.5%; /* Base font size: 14px */
  12.         font-family: 'Trebuchet MS', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  13.         line-height: 1.429;
  14.     margin: 0;
  15.     padding: 0;
  16.      text-align: left;
  17. }
  18.  
  19. /* Headings */
  20. h2 {font-size: 1.571em} /* 22px */
  21. h3 {font-size: 1.429em} /* 20px */
  22. h4 {font-size: 1.286em} /* 18px */
  23. h5 {font-size: 1.143em} /* 16px */
  24. h6 {font-size: 1em} /* 14px */
  25.  
  26. h2, h3, h4, h5, h6 {
  27.     font-weight: 400;
  28.     line-height: 1.1;
  29.     margin-bottom: .8em;
  30. }
  31.  
  32. /* Anchors */
  33. a {outline: 0;}
  34. a img {border: 0px; text-decoration: none;}
  35. a:link, a:visited {
  36.     color: #C74350;
  37.     padding: 0 1px;
  38.     text-decoration: underline;
  39. }
  40.  
  41. a:hover, a:active {
  42.     background-color: #C74350;
  43.     color: #fff;
  44.         text-decoration: none;
  45.         text-shadow: 1px 1px 1px #333;
  46. }
  47.  
  48. /* Paragraphs */
  49. p {margin-bottom: 1.143em;}
  50. * p:last-child {margin-bottom: 0;}
  51.  
  52. strong, b {font-weight: bold;}
  53. em, i {font-style: italic;}
  54.  
  55. ::-moz-selection {background: #F6CF74; color: #fff;}
  56. ::selection {background: #F6CF74; color: #fff;}
  57.  
  58. /* Lists */
  59. ul {
  60.     list-style: outside disc;
  61.     margin: 1em 0 1.5em 1.5em;
  62. }
  63.  
  64. ol {
  65.     list-style: outside decimal;
  66.     margin: 1em 0 1.5em 1.5em;
  67. }
  68.  
  69. dl {margin: 0 0 1.5em 0;}
  70. dt {font-weight: bold;}
  71. dd {margin-left: 1.5em;}
  72.  
  73. /* Quotes */
  74. blockquote {font-style: italic;}
  75. cite {}
  76.  
  77. q {}
  78.  
  79. /* Tables */
  80. table {margin: .5em auto 1.5em auto; width: 98%;}
  81.  
  82. /* Thead */
  83. thead th {padding: .5em .4em; text-align: left;}
  84. thead td {}
  85.  
  86. /* Tbody */
  87. tbody td {padding: .5em .4em;}
  88. tbody th {}
  89.  
  90. tbody .alt td {}
  91. tbody .alt th {}
  92.  
  93. /* Tfoot */
  94. tfoot th {}
  95. tfoot td {}
  96.  
  97. /***** Layout *****/
  98. .body {clear: both; margin: 0 auto; width: 800px;}
  99. img.right figure.right {float: right; margin: 0 0 2em 2em;}
  100. img.left, figure.left {float: right; margin: 0 0 2em 2em;}
  101. #banner nav ul {list-style: none; margin: 0 auto; padding-left: 0px;}
  102. #banner nav li {float: left; display: inline; margin: 0;}
  103.  
  104. #banner nav a:link, #banner nav a:visited {
  105.     color: #fff;
  106.     display: inline-block;
  107.     height: 30px;
  108.     padding: 5px 1.5em;
  109.     text-decoration: none;
  110. }
  111. #banner nav a:hover, #banner nav a:active,
  112. #banner nav .active a:link, #banner nav .active a:visited {
  113.     background: #f7931e;
  114.     color: #fff;
  115.     text-shadow: none !important;
  116. }
  117.  
  118. #banner nav li:first-child a {
  119.     border-top-left-radius: 5px;
  120.     -moz-border-radius-topleft: 5px;
  121.     -webkit-border-top-left-radius: 5px;
  122.  
  123.     border-bottom-left-radius: 5px;
  124.     -moz-border-radius-bottomleft: 5px;
  125.     -webkit-border-bottom-left-radius: 5px;
  126. }
  127.  
  128. /* Header */
  129. #banner {
  130.     padding: 2.5em 0 0 0;
  131.     width: 100%;
  132. }
  133. /* Main Nav */
  134. #banner nav {
  135.     background: #03c1e9;
  136.     font-size: 1.143em;
  137.     height: 40px;
  138.     line-height: 30px;
  139.     padding: 0;
  140.     margin: 0;
  141.     text-align: center;
  142.     border-radius: 5px 0 0 5px;
  143.     -moz-border-radius: 5px 0 0 5px;
  144.     -webkit-border-radius: 5px 0 0 5px;
  145. }
  146.  
  147. /* Body */
  148. #content_wrap {
  149.     width: 60%;
  150.     margin-left: 10%;
  151.     overflow: hidden;
  152. }
  153.  
  154. #content {
  155.     background: #fff;
  156.     margin: 5em 20px 2em;
  157.     overflow: hidden;
  158.     border-radius: 10px;
  159.     -moz-border-radius: 10px;
  160.     -webkit-border-radius: 10px;
  161.     width:100%
  162. }
  163.  
  164. /* User Box */
  165. #userbox_wrap {
  166.     float:right;
  167.     width: 20%;
  168.     margin-top: 0;
  169.     margin-right: 10%;
  170.     padding: 2.5em 0 0 0;
  171. }
  172. #userbox {
  173.     -moz-border-radius: 0 15px 15px 15px;
  174.         -webkit-border-radius: 0 15px 15px 15px;
  175.     border-radius: 0 15px 15px 15px;
  176.     background: #016e8d url("images/userbox.png") no-repeat;
  177.     height: 200px;
  178.     border: 8px solid #03c1e9;
  179.     color: #fff;
  180. }
  181.  
  182. #userbox p {
  183.     padding-left: 30%;
  184. }
  185. #userbox strong.name{
  186.     font-size: 150%;
  187. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement