Advertisement
Tryah85

CSS w/ my note style.

Sep 12th, 2012
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.51 KB | None | 0 0
  1. /*
  2. Todd 2010
  3. ----
  4. colors used:
  5. content; dark green.  #193f18
  6. paragraph text. #f2af88 tan
  7. a:link, circle. #f4dfd2 white
  8. a:visited. 52a556 light green
  9. t logo #3c4b5a blue
  10. footer name. #724a2b brown
  11. contact info #6f8da6 light blue
  12. :*/
  13.  
  14. /*=body resets the default in the styles for the entire site.*/
  15. body    {
  16.     margin:0;
  17.     padding:0;
  18.     color:#000;
  19.     background:#262322; /* or 161616 darker*/
  20.     }
  21. /*=#wrapper sets the header, nav, content, and footer into single div.*/
  22. #wrapper    {
  23.     width:800px;
  24.     height:620px;
  25.     margin:3% auto 0 auto;
  26.     font-family:gisha, helvetica, futura;
  27.     background-color:#193f18;
  28.     }
  29. /*=#header bannner/logo above the navigation.*/
  30. #header {
  31.     background: url(images/banner.jpg) no-repeat;
  32.     }
  33. /*=#header h1 a formats the "t" on top right hand corner*/
  34. #header h1 a    {
  35.     font:helvetica futura;
  36.     font-size:2em;
  37.     color:#3C4B5A;
  38.     text-decoration:none;
  39.     padding:0 0.4em;
  40.     }
  41. /*=#nav navigation style.*/
  42. #nav    {
  43.     height:67px;
  44.     text-align:right;
  45.     padding:0 3em 0 0;
  46.     }
  47. /*=#nav li formats the links for the site.*/
  48. #nav li {
  49.     list-style:none;
  50.     float:right;
  51.     margin:0 0.6em 0 0;
  52.     line-height:0.1em;
  53.     }
  54. /*=#nav li ul hides the gray circles under the catagorized links above.*/
  55. #nav  li ul {
  56.     display:none;
  57.     }
  58. /*=#nav li ul li spaces the circles underneath the catagories. */
  59. #nav li ul li   {
  60.     margin:15px 0 0 -30px;
  61.     float:none;
  62.     }
  63. /*=#nav li:hover ul sets the circle images to appear under the links when mouse hovers.*/
  64. #nav  li:hover ul   {
  65.     position:absolute;
  66.     display:block;
  67.     }
  68. /*=#content the main content within the page.*/
  69. #content    {
  70.     width:auto;
  71.     }
  72. /*=.side_a styles side a. */
  73. .side_a {
  74.  
  75.     width:320px;
  76.     float:left;
  77.     margin:0 2% 5% 3%;
  78.     padding:0 0 0 3em;
  79.     }
  80. /*=.side_a p formats the text to be lower in the division.*/
  81. .side_a p   {
  82.     padding:0 2em 0 0;
  83.     }
  84. /*=.side_a ul li sets thr style of contact ul in the contacts page.*/
  85. .side_a ul li   {
  86.     text-align:right;
  87.     border-right:solid;
  88.     border-color:#161616;
  89.     line-height:2em;
  90.     margin:0 2em auto 0;
  91.     padding:0 2em 0 0;
  92.     list-style:none;
  93.     color:#6f8da6;
  94.     font-weight:900;
  95.     }
  96. /*=.side_b styles side b. */   
  97. .side_b {
  98.     width:320px;
  99.     float:left;
  100.     margin:0% 2% 2% 0;
  101.     padding:0 1.2em 0 0;
  102.     }
  103. /*=.side_b p formats the text to be lower in the division.*/
  104. .side_b p   {
  105.     padding:0 0 0 2em;
  106.     }
  107. /*=#footer the bottom information of the site.*/
  108. #footer {
  109.     background: url(images/footer.jpg) no-repeat;
  110.     height:70px;
  111.     width:800px;
  112.     margin-top:430px;
  113.     }
  114. /*=#footer p styles the text*/
  115. #footer p   {
  116.     color:#724a2b;
  117.     text-align:right;
  118.     font-size:0.8em;
  119.     padding:0.1em 1em 0 0;
  120.     vertical-align:0;
  121.     }
  122. /*=#footer p img positions the CC image.*/
  123. #footer p img   {
  124.     margin:-1% 0.2% 1% 0;
  125.     }
  126. /*=p sets all p elements to a text color.*/
  127. p
  128.     {
  129.     text-indent:2em;
  130.     line-height:1.5em;
  131.     padding:auto;
  132.     color: #f2af88; /*f2af88*/
  133.     }
  134. /*=img removes the default border from images.*/
  135. img {
  136.     text-indent:0;
  137.     border:none;
  138.     }
  139. /*------------------------------------------------------ Sets the link color, decoration, font-style throughout the site.------------------------------------------------*/
  140. .side_a ul li a {
  141.     color:#6f8da6;
  142.     }
  143. a   {
  144.     text-decoration:none;
  145.     }
  146. a:link  {
  147.     color:#f4dfd2;
  148.     }
  149. a:hover {
  150.     color:#a57d5a;
  151.     }
  152. a:visited   {
  153.     color:#52a556;
  154.     }
  155. .side_a p a:hover   {
  156.     text-decoration:underline;
  157.     }
  158.  
  159. .side_b p a:hover   {
  160.     text-decoration:underline;
  161.     }
  162.  
  163. /*-----------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement