Advertisement
Guest User

otur.nu site changes

a guest
Mar 6th, 2015
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.96 KB | None | 0 0
  1. /*
  2.     site changes
  3.     otur.nu
  4. */
  5.  
  6. /* LOGO INSIDE <div id="header"> */
  7. <div id="logo">
  8.     <h1>A collection of projects over time</h1>
  9.     <h2>by Christian Leppänen</h2>
  10. </div>
  11.  
  12. /* CSS  */
  13. div#header div#logo h1 {
  14.     position:  absolute;
  15.     color: white;
  16.     width: 900px;
  17.     left: 50%;
  18.     margin-left: -450px;
  19.     top: 100px;
  20.     font: 70px/40px 'Josefin sans';
  21. }
  22. div#header div#logo h2 {
  23.     position: absolute; color: white; width: 900px; left: 50%;
  24.     margin-left: -450px;
  25.     top: 170px;
  26.     font: 30px/40px 'Josefin sans';
  27.     border: 0;
  28.     text-align: right;
  29.     padding-left: 8px;
  30. }
  31.  
  32. div#header
  33. {
  34. background: #3b679e; /* Old browsers */
  35. background: -moz-linear-gradient(top, #3b679e 0%, #117799 100%); /* FF3.6+ */
  36. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3b679e), color-stop(100%,#117799)); /* Chrome,Safari4+ */
  37. background: -webkit-linear-gradient(top, #3b679e 0%,#117799 100%); /* Chrome10+,Safari5.1+ */
  38. background: -o-linear-gradient(top, #3b679e 0%,#117799 100%); /* Opera 11.10+ */
  39. background: -ms-linear-gradient(top, #3b679e 0%,#117799 100%); /* IE10+ */
  40. background: linear-gradient(to bottom, #3b679e 0%,#117799 100%); /* W3C */
  41. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3b679e', endColorstr='#117799',GradientType=0 ); /* IE6-9 */   
  42.  
  43. background-color: #117799;
  44. height: 350px;
  45. }
  46.  
  47. a { color: #D92626 !important; }
  48.  
  49.  
  50. footer div {
  51.     padding: 0;
  52.     line-height: 40px;
  53.     text-align: center;
  54.     width: 100%;
  55.     height: 200px;
  56.     margin: 0 auto;
  57.     background-color: #8B7474;
  58. }
  59.  
  60. h1 { font-family: "Josefin sans"; }
  61. h2 { font-family: "Josefin sans"; }
  62. p { text-align: justify; }
  63.  
  64.  
  65. header ul li:first-child {
  66.     margin-left: 0;
  67. }
  68.  
  69. header ul li {
  70.     display: inline-block;
  71.     /* border: 1px black solid; */
  72.     border-radius: 2px 2px 0 0;
  73.     border-left: 0;
  74.     background-color: #aaaaaa;
  75.     margin-bottom: -1px;
  76.     margin: 0 5px;
  77. }
  78.  
  79.  
  80. header ul li.active {
  81.     background-color: white;
  82. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement