Advertisement
hallowimg

Untitled

Mar 29th, 2023
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.03 KB | None | 0 0
  1. <style>
  2.  
  3. * {
  4. box-sizing: border-box;
  5. padding: 0;
  6. margin: 0;
  7. }
  8.  
  9. body {
  10. background-color: #d9dcd6;
  11. }
  12.  
  13.  
  14.  
  15. .header {
  16. padding: 20px;
  17. font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  18. background-color: #9b537f;
  19. color: #ffffff;
  20. }
  21.  
  22.  
  23. .header div {
  24. padding-top: 15px;
  25. margin-right: 20px;
  26. float: right;
  27. font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  28. font-size: 20px;
  29. }
  30.  
  31. .header div ul {
  32. list-style-type: none;
  33. }
  34.  
  35. .header div ul li {
  36. display: inline-block;
  37. margin-left: 25px;
  38. margin-top: -25px;
  39. }
  40.  
  41. .main-image {
  42. height: 800px;
  43. width: 100%;
  44. margin-bottom: 25px;
  45. background-image: url("../assets/Cloud-Aesthetic-Backgrounds-Desktop.jpg");
  46. background-size: cover;
  47. background-position: center;
  48. }
  49.  
  50. h1{
  51. font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  52. color: #ffffff;
  53. }
  54.  
  55. a {
  56. color: #ffffff;
  57. text-decoration: none;
  58. }
  59.  
  60. a:hover{
  61. text-decoration: underline;
  62. }
  63.  
  64. p {
  65. font-size: 16px;
  66. font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  67. }
  68.  
  69. hr.style14 {
  70. border: 0;
  71. height: 5px;
  72. background-image: -webkit-linear-gradient(left, #FFBFC6, #fff, #FFBFC6);
  73. opacity:0.7;
  74.  
  75. }
  76.  
  77. .float-left {
  78. float: left;
  79. margin-right: 25px;
  80. }
  81.  
  82. .float-right {
  83. float: right;
  84. margin-left: 25px;
  85. }
  86.  
  87. .content {
  88. width: 75%;
  89. display: inline-block;
  90. margin-left: 20px;
  91. }
  92.  
  93. .test1 {
  94. margin-bottom: 20px;
  95. padding: 50px;
  96. height: 300px;
  97. font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  98. background-color: #0072bb;
  99. color: #ffffff;
  100. }
  101.  
  102. .test2 {
  103. margin-bottom: 20px;
  104. padding: 50px;
  105. height: 300px;
  106. font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  107. background-color: #0072bb;
  108. color: #ffffff;
  109. }
  110.  
  111. .test3 {
  112. margin-bottom: 20px;
  113. padding: 50px;
  114. height: 300px;
  115. font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  116. background-color: #0072bb;
  117. color: #ffffff;
  118. }
  119.  
  120.  
  121. .aboutbox {
  122. position:absolute;
  123. background-color:#FFDDD2;
  124. background-image:url('https://www.transparenttextures.com/patterns/ag-square.png');
  125. }
  126.  
  127. </style>
  128.  
  129. <!DOCTYPE html>
  130. <html lang="en-us">
  131.  
  132. <head>
  133. <meta charset="UTF-8" />
  134. <link rel="stylesheet" href="./assets/style.css">
  135. <title>My Portfolio</title>
  136. </head>
  137.  
  138. <body>
  139. <div class="header">
  140. <h1>Brianna Slicer</h1>
  141. <div>
  142. <ul>
  143. <li>
  144. <a href="#test1">About Me</a>
  145. </li>
  146. <li>
  147. <a href="#test2">Contact Me</a>
  148. </li>
  149. <li>
  150. <a href="#test3">Resume</a>
  151. </li>
  152. </ul>
  153. </div>
  154. </div>
  155.  
  156. <div class="aboutbox">
  157. <p>Lorem ipsum...</p>
  158. </div>
  159.  
  160. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement