Advertisement
jMOD

josephkesisoglou.co.uk style.css

Mar 3rd, 2013
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.81 KB | None | 0 0
  1. @charset "UTF-8";
  2.  
  3. /* BODY BODY BODY BODY BODY */
  4. body {
  5.     font: 100%/1.4 Verdana, Helvetica, Arial, Geneva, sans-serif;
  6.     text-align: center;
  7.     font-weight: 200;
  8.     font-size: 20px;
  9.     background: #f1f1f1;
  10.     margin: 0;
  11.     padding: 0;
  12.     color: #000;
  13. }
  14.  
  15. /*.sitename {
  16.     position: relative;
  17.     padding-top: 50px;
  18. }*/
  19.  
  20. /* ~~ Element/tag selectors ~~ */
  21. ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
  22.     padding: 0;
  23.     margin: 0;
  24. }
  25. h1, h2, h3, h4, h5, h6, p {
  26.     margin-top: 0;   /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
  27.     padding-right: 15px;
  28.     padding-left: 15px;
  29. }
  30. a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
  31.     border: none;
  32. }
  33.  
  34.  
  35. /* LINKS LINKS LINKS LINKS */
  36. a:link {
  37.     color: #000;
  38.     text-decoration: none;
  39. }
  40. a:visited {
  41.     color: #000;
  42.     text-decoration: none;
  43. }
  44.  
  45. a:hover {
  46.     color: #dadada;
  47.     text-decoration: none;
  48. }
  49.  
  50. a:active {
  51.     color: #000;
  52.     text-decoration: none;
  53. }
  54.  
  55. a:focus {
  56.     color: #000;
  57.     text-decoration: none;
  58. }
  59.  
  60.  
  61. /* WRAPPER WRAPPER WRAPPER WRAPPER */
  62. .container {
  63.     width: 770px;
  64.     background: #FFF; /* the auto value on the sides, coupled with the width, centers the layout */
  65.     float: none;
  66.     margin-top: 30px;
  67.     margin-right: auto;
  68.     margin-bottom: 30px;
  69.     margin-left: auto;
  70.     padding-right: 15px;
  71.     padding-left: 15px;
  72. }
  73.  
  74.  
  75. /* H2 SITENAME H2 SITENAME H2 SITENAME */
  76. h2 {
  77.     position: relative;
  78.     top: 450px;
  79.     right: auto;
  80.     left: auto;
  81.     color: #FFF;
  82.     font-size: 40px;
  83.     font-family: "Century Schoolbook", Century, Garamond, serif;
  84.     font-weight: bold;
  85.     text-transform: uppercase;
  86.      
  87. }
  88.  
  89.  
  90. /* PARAGRAPH - ABOUT - HTML */
  91. p {
  92.     font-size: 12px;
  93.     line-height: 10px;
  94.     font-family: Helvetica, Arial, sans-serif;
  95.  
  96. }
  97.  
  98.  
  99. /* HEADER HEADER HEADER HEADER */
  100. .header {
  101.     text-align: center;
  102.     font-weight: 200;
  103.     /*font-size: 20px;*/
  104.     background: #FFF;
  105.     margin-top: 30px;
  106.     padding-top: 0;
  107.     border-bottom: 2px solid #dadada;
  108. }
  109.  
  110.  
  111. /* NAVIGATION NAVIGATION NAVIGATION NAVIGATION */
  112. .nav {
  113.     text-align: center;
  114.     font-weight: 300;
  115.     font-size: 14px;
  116.     font-family: Verdana;
  117.     word-spacing: 30px;
  118.     padding-top: 20px;
  119. }
  120.  
  121.  
  122. /* CONTENT CONTENT CONTENT CONTENT */
  123. .content {
  124.  
  125.     padding: 10px 0;
  126. }
  127.  
  128.  
  129. /* FOOTER FOOTER FOOTER FOOTER */
  130. .footer {
  131.     font-family: Verdana, Geneva, sans-serif;
  132.     padding: 10px 0;
  133.     padding-top: 7px;
  134.     background: #FFF;
  135.     border-top: 2px solid #dadada;
  136.     text-align: center;
  137.     margin-bottom: 30px;
  138.     font-weight: 300;
  139.     font-size: 12px;
  140. }
  141.  
  142. /* ~~ miscellaneous float/clear classes ~~ */
  143. .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
  144.     float: right;
  145.     margin-left: 8px;
  146. }
  147. .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
  148.     float: left;
  149.     margin-right: 8px;
  150. }
  151. .clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
  152.     clear: both;
  153.     height: 0;
  154.     font-size: 1px;
  155.     line-height: 0px;
  156. }
  157.  
  158.  
  159. /* MAIN IMAGE  MAIN IMAGE  MAIN IMAGE  MAIN IMAGE */
  160. div.mainimage {
  161.     width: 770px;
  162.     height: 510px;
  163.     background: url(images/bg.jpg);
  164. }
  165.     div.mainimage h2 {
  166.         font-family: "Century Schoolbook", Century, Garamond, serif;
  167.         font-weight: bold;
  168.         color: white;
  169.         text-transform: uppercase;
  170.         display: block;
  171.         position: relative;
  172.         top: 375px;
  173.     }
  174.  
  175. /* CSS TOOLTIP CSS TOOLTIP CSS TOOLTIP CSS TOOLTIP
  176. View of the caldera with the largest crater on the volcanic island of Nisyros, Greece (main image alt text)
  177.  
  178. span.tooltip {
  179.       position: absolute;
  180.       width: 100px;
  181.       height: 70px;
  182.       line-height: 15px;
  183.       padding: 5px;
  184.       font-size: 10px;
  185.       text-align: center;
  186.       color: rgb(255, 255, 255);
  187.       background: rgb(0, 0, 0);
  188.       border: 0px solid rgb(255, 255, 255);
  189.       border-radius: 2px;
  190.       text-shadow: rgba(0, 0, 0, 0.1) 1px 1px 1px;
  191.       box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 2px 0px;
  192. }
  193.  
  194. span.tooltip:after {
  195.       content: "";
  196.       position: absolute;
  197.       width: 0;
  198.       height: 0;
  199.       border-width: 10px;
  200.       border-style: solid;
  201.       border-color: #FFFFFF transparent transparent transparent;
  202.       top: 80px;
  203.       left: 50px;
  204. } */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement