Guest User

Untitled

a guest
Jul 21st, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.12 KB | None | 0 0
  1. <DOCTYPE html>
  2. <head>
  3. <title> GWS News- Home</title>
  4. <link rel="stylesheet" type="text/css" href="stylesheet.css"/>
  5. </head>
  6.  
  7. <body>
  8. <header>
  9. <div class="container">
  10. <h1> Grass World Sport News</h1>
  11. <img src=img/logo.jpg class="logo">
  12. <ul class="nav">
  13. <li class="active"><a href="file:///Users/rarichenjoseph/Desktop/GWS%202/Website.html">Home</a></li>
  14. <li><a href="#">World Cup</a> </li>
  15. <li><a href="#">Sports</a></li>
  16. <li><a href="#">Schedule</a></li>
  17. <li><a href="#">About</a></li>
  18. </ul>
  19. </div>
  20. <div class="banner">
  21. <img class="banner-image" src=img/banner1.jpeg>
  22. </div>
  23. </header>
  24. <div class="body">
  25. <h1> Latest Sport News</h1>
  26. </div>
  27. <div class="pics">
  28. <img class="nrl-image" src="img/dvw.jpg">
  29. <p3> NRL 15/07/18</p3>
  30. <h2> Can St George Illawarra Dragons keep their place on top of the ladder?</h2>
  31. <p1> West Tigers beat St George Illawarra Dragons, 20-16. Robbie Farah stuns all of Dragons with a match-winning performance that leads to Dragons first loss at their home ground. Farah carried the tigers by running 42 metres to go with two linebreak assists, two try assist and 42 tackles in a complete performance. This win for the Tigers allow them to stay in top 8 and possibly have a chance to win the finals. The Dragons were disappointing in front of their home crowd and now faces the possibility of dropping out of the top place on the ladder, with the Panthers and Sharks right behind them. They did produce some good plays second half and closed the gap, but it proved to be not enough. </p1>
  32. </div>
  33. <div>
  34. <div style="clear: both;"></div>
  35. <div style="margin-top:20px"></div>
  36. <img class="world-cup" src="img/wcf.jpg"
  37. </div>
  38. <div>
  39. <h1> World Cup</h1>
  40. </div>
  41. </body>
  42.  
  43. html,body{
  44. background-color: #ffffff;
  45. margin: 0;
  46. padding: 0;
  47. font-family: sans-serif;
  48. }
  49.  
  50. div.container{
  51. margin: 0;
  52. padding: 0 30px;
  53. }
  54.  
  55. header{
  56. background-color: #000000;
  57. float: left;
  58. width: 100%;
  59. }
  60.  
  61. header h1{
  62. color: #ffffff;
  63. text-transform: uppercase;
  64. float: left;
  65. font-size: 50px;
  66. }
  67.  
  68. .logo{
  69. margin: 10px 50px;
  70. height: 120px;
  71. float: left;
  72. }
  73.  
  74. .nav {
  75. float: right;
  76. list-style-type: none;
  77. list-style: none;
  78. padding: 10px 100px;
  79. margin: 20px;
  80. }
  81.  
  82. .nav li {
  83. display: inline-block;
  84. margin: 10px 5px;
  85. }
  86.  
  87. ul.nav li a{
  88. color: #ffffff;
  89. text-transform: uppercase;
  90. text-decoration: none;
  91. font-size: 20px;
  92. font-family: "Roboto", sans-serif;
  93. margin-bottom: inherit;
  94. padding: 5px 10px;
  95. letter-spacing: 2px;
  96. border: 1px solid #ffffff;
  97.  
  98. }
  99.  
  100. .nav li a:hover{
  101. background: #fff;
  102. transition: .4s;
  103. color: #000000
  104. }
  105.  
  106. .nav li.active a{
  107. border: 2px solid white;
  108. background: #ffffff;
  109. color: #000;
  110. }
  111.  
  112. .banner-image {
  113. width: 100%;
  114. }
  115.  
  116. .body{
  117. border: 1px solid black;
  118. background: #000000;
  119. color: #ffffff;
  120. font-size: 20px;
  121. }
  122.  
  123. .nrl-image{
  124. float: left;
  125. }
Add Comment
Please, Sign In to add comment