Guest User

Untitled

a guest
Jun 21st, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.41 KB | None | 0 0
  1.     <style media="screen" type="text/css">
  2.     /* <!-- */
  3.     /* General styles */
  4.     body {
  5.         margin:0;
  6.         padding:0;
  7.         border:0;           /* This removes the border around the viewport in old versions of IE */
  8.         width:100%;
  9.         background:#fff;
  10.         min-width:600px;    /* Minimum width of layout - remove line if not required */
  11.                             /* The min-width property does not work in old versions of Internet Explorer */
  12.         font-size:90%;
  13.     }
  14.     a {
  15.         color:#369;
  16.     }
  17.     h1, h2, h3 {
  18.         margin:.8em 0 .2em 0;
  19.         padding:0;
  20.     }
  21.     p {
  22.         margin:.4em 0 .8em 0;
  23.         padding:0;
  24.     }
  25.     /* Header styles */
  26.     #header {
  27.         clear:both;
  28.         float:left;
  29.         width:100%;
  30.         margin-left: auto;
  31.         margin-right: auto;
  32.     }
  33.     #header {
  34.         border-bottom:1px solid #000;
  35.     }
  36.     #header p,
  37.     #header h1,
  38.     #header h2 {
  39.         padding:.4em 15px 0 15px;
  40.         margin:0;
  41.     }
  42.     #header ul {
  43.         clear:left;
  44.         float:left;
  45.         width:100%;
  46.         list-style:none;
  47.         margin:10px 0 0 0;
  48.         padding:0;
  49.     }
  50.     #header ul li {
  51.         display:inline;
  52.         list-style:none;
  53.         margin:0;
  54.         padding:0;
  55.     }
  56.     #header ul li a {
  57.         display:block;
  58.         float:left;
  59.         margin:0 0 0 1px;
  60.         padding:3px 10px;
  61.         text-align:center;
  62.         background:#eee;
  63.         color:#000;
  64.         text-decoration:none;
  65.         position:relative;
  66.         left:15px;
  67.         line-height:1.3em;
  68.     }
  69.     #header ul li a:hover {
  70.         background:#369;
  71.         color:#fff;
  72.     }
  73.     #header ul li a.active,
  74.     #header ul li a.active:hover {
  75.         color:#fff;
  76.         background:#000;
  77.         font-weight:bold;
  78.     }
  79.     #header ul li a span {
  80.         display:block;
  81.     }
  82.     /* 'widths' sub menu */
  83.     #layoutdims {
  84.         clear:both;
  85.         background:#eee;
  86.         border-top:4px solid #000;
  87.         margin:0;
  88.         padding:6px 15px !important;
  89.         text-align:right;
  90.     }
  91.     /* column container */
  92.     .colmask {
  93.         position:relative;      /* This fixes the IE7 overflow hidden bug and stops the layout jumping out of place */
  94.         clear:both;
  95.         float:left;
  96.         width:100%;             /* width of whole page */
  97.         overflow:hidden;        /* This chops off any overhanging divs */
  98.     }
  99.     /* holy grail 3 column settings */
  100.     .holygrail {
  101.         background:#ff9;        /* Right column background colour */
  102.         background-image:url(images/rightbg.jpg)
  103.     }
  104.     .holygrail .colmid {
  105.         float:left;
  106.         width:200%;
  107.         margin-left:-475px;     /* Width of right column */
  108.         position:relative;
  109.         right:100%;
  110.         background:#fff;        /* Centre column background colour */
  111.     }
  112.     .holygrail .colleft {
  113.         float:left;
  114.         width:100%;
  115.         margin-left:-50%;
  116.         position:relative;
  117.         left:950px;             /* Left column width + right column width */
  118.         background:#000;        /* Left column background colour */
  119.     }
  120.     .holygrail .col1wrap {
  121.         float:left;
  122.         width:50%;
  123.         position:relative;
  124.         right:475px;            /* Width of left column */
  125.         padding-bottom:1em;     /* Centre column bottom padding. Leave it out if it's zero */
  126.     }
  127.     .holygrail .col1 {
  128.         margin:0 215px;         /* Centre column side padding:
  129.                                 Left padding = left column width + centre column left padding width
  130.                                 Right padding = right column width + centre column right padding width */
  131.         position:relative;
  132.         left:200%;
  133.         overflow:hidden;
  134.     }
  135.     .holygrail .col2 {
  136.         float:left;
  137.         float:right;            /* This overrides the float:left above */
  138.         width:475px;            /* Width of left column content (left column width minus left and right padding) */
  139.         position:relative;
  140.         right:0px;          /* Width of the left-had side padding on the left column */
  141.         background-image:url(images/leftbg.jpg)
  142.     }
  143.     .holygrail .col3 {
  144.         float:left;
  145.         float:right;            /* This overrides the float:left above */
  146.         width:475px;            /* Width of right column content (right column width minus left and right padding) */
  147.         margin-right:0px;   /* Width of right column right-hand padding + left column left and right padding */
  148.         position:relative;
  149.         left:50%;
  150.         background-image:url(images/rightbg.jpg)
  151.     }
  152.     /* Footer styles */
  153.     #footer {
  154.         clear:both;
  155.         float:left;
  156.         width:100%;
  157.         border-top:1px solid #000;
  158.     }
  159.     #footer p {
  160.         padding:10px;
  161.         margin:0;
  162.     }
  163.     /* --> */
  164.     </style>
Add Comment
Please, Sign In to add comment