Advertisement
Guest User

Untitled

a guest
May 29th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.35 KB | None | 0 0
  1.  
  2. /*
  3.     This contains EVERYTHING on the page. It is set at a fixed width and dynamic height
  4.     (based on the content).
  5.    
  6.     @see .clearfix in global.css for mor details.
  7.  */
  8. #wrapper {
  9.     margin-top: 150px;
  10.     width: 900px;
  11.     margin-left: auto;
  12.     margin-right: auto;
  13. }
  14.  
  15. /*
  16.     General styles attributed to the page. Changes default from browser to this.
  17. */
  18. body {
  19.     font-size: 12px;
  20.     font-family: Arial, Helvetica;
  21.     margin: 0px;
  22.     padding: none;
  23. }
  24.  
  25. /*
  26.     Wraps around the main content and blank space on the left (below menu).
  27. */
  28. #content-wrapper {
  29.     margin-top: 30px;
  30. }
  31.  
  32. /*
  33.     Contains all of the main page content.
  34.    
  35.     @see .right in global.css for float options.
  36. */
  37. #content {
  38.     width: 680px; /* Same width as banner */
  39.     text-align: justify; /* Keep text looking neat */
  40.     line-height: 1.5em; /* Increased line spacing for easier readability */
  41. }
  42.  
  43. /*
  44.     Ambiguous div, used for the menu, but also used to contain content directly
  45.     below the menu. Use this id if placing content directly below the menu.
  46.    
  47.     @see .left in global.css for float options.
  48. */
  49. #menu {
  50.     width: 200px;
  51.     text-align: left;
  52. }
  53.  
  54. /*
  55.     Following six classes deal with the list contained within the menu.
  56. */
  57. #menu ul {
  58.     margin-top: 0px;
  59.     padding-left: 0px; /* Gets rid of the auto-tab effect when using UL */
  60.     width: 200px; /* Sets a fixed width for the list. Can be 100%, but 200px to be safe */
  61. }
  62.  
  63. #menu ul li {
  64.     list-style-type: none; /* Gets rid of the bullet points. Comment out if bullets preferred. */
  65.     border-top: 1px #666 dashed; /* Separates items by adding a dashed border to top of each element. */
  66. }
  67.  
  68. #menu ul li:last-child {
  69.     border-bottom: 1px #666 dashed; /* Bottom element needs an additional border to complete the lis */
  70. }
  71.  
  72. #menu ul li a, a:visited {
  73.     letter-spacing: 1px; /* A nice lettering effect for menu items */
  74.     font-weight: bold;
  75.     color: #000;
  76.     text-decoration: none; /* Removes the underline defaulted by web browsers */
  77.     padding: 6px 10px 6px 10px; /* Top/Left/Bottom/Right padding adds 'depth' to the list */
  78. }
  79.  
  80. #menu ul li a:hover {
  81.     background-color: #EEE; /* Alters background colour when mouse is hovering over item */
  82. }
  83.  
  84. /*
  85.     Sets a fixed width for the banner images/slider. Height is dynamic based on content.
  86. */
  87. #banner {
  88.     width: 680px;
  89. }
  90.  
  91. /*
  92.     Map dimensions for Google Maps.
  93. */
  94. #map-canvas {
  95.     width: 680px;
  96.     height: 200px;
  97. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement