Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5.31 KB | None | 0 0
  1.  
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <head>
  5.     <!-- index.html -->
  6.     <meta charset="UTF-8">
  7.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8.     <meta http-equiv="X-UA-Compatible" content="ie=edge">
  9.     <title>Document</title>
  10.     <link rel="stylesheet" href="style.css">
  11. </head>
  12. <body>
  13.     <div class="custom-padding">
  14.         <nav>
  15.             <div class="logo">Profile</div>
  16.  
  17.             <ul class="menu-area">
  18.                 <li><a href="index.html">Profile</a></li>
  19.                 <li><a href="eronh.html">Eronh</a></li>
  20.                 <li><a href="hans.html">Tobi</a></li>
  21.             </ul>
  22.         </nav>
  23.     </div>
  24.     <div class="backalax">
  25.         <h1 id="wel">Welcome</h1>
  26.     </div>
  27.     <div class="profile1">
  28.         <h1>Francis Eronh Ong</h1>
  29.         <br>
  30.         <p>Francis Eronh is a 17 year old student at University of the East Manila Campus</p>
  31.         <br>
  32.         <p>He currently lives in Manila with his family and has 2 siblings</p>
  33.         <br>
  34.         <a href="eronh.html" class="profilebtn">Portfolio</a>
  35.         <img src="img/eronh.jpg" alt="">
  36.     </div>
  37.  
  38.     <div class="backalax2"></div>
  39.     <div class="profile2">
  40.         <h1>Hans Tobi Regoniel</h1>
  41.         <br>
  42.         <p>Hans Tobi is a 17 year old student at University of the East Manila Campus</p>
  43.         <br>
  44.         <p>He is a martial artist with great talent</p>
  45.         <br>
  46.         <a href="hans.html" class="profilebtn">Portfolio</a>
  47.         <img src="img/hans.jpg" alt="">
  48.     </div>
  49.     <footer>All rights reserved Eronh, 2019</footer>
  50.     <script src="index.js"></script>
  51. </body>
  52. </html>
  53.  
  54.  
  55.  
  56. <!DOCTYPE html>
  57. <html lang="en">
  58. <head>
  59.     <!-- eronh.html -->
  60.     <meta charset="UTF-8">
  61.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  62.     <meta http-equiv="X-UA-Compatible" content="ie=edge">
  63.     <title>Document</title>
  64.     <link rel="stylesheet" href="styles.css">
  65. </head>
  66. <body>
  67.     <div class="custom-padding">
  68.         <nav>
  69.             <div class="logo">Profile</div>
  70.  
  71.             <ul class="menu-area">
  72.                 <li><a href="index.html">Profile</a></li>
  73.                 <li><a href="eronh.html">Eronh</a></li>
  74.                 <li><a href="hans.html">Tobi</a></li>
  75.             </ul>
  76.         </nav>
  77.     </div>
  78.         <embed class="pdff" src="pdff/Eronh1.pdf" type="application/pdf" height="700px" width="500px">
  79.         <embed src="pdff/Eronh2.pdf" type="application/pdf" height="700px" width="500px">
  80.     <script src="index.js"></script>
  81. </body>
  82. </html>
  83.  
  84.  
  85. <!DOCTYPE html>
  86. <html lang="en">
  87. <head>
  88.     <!-- hans.html -->
  89.     <meta charset="UTF-8">
  90.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  91.     <meta http-equiv="X-UA-Compatible" content="ie=edge">
  92.     <title>Document</title>
  93.     <link rel="stylesheet" href="styles.css">
  94. </head>
  95. <body>
  96.     <div class="custom-padding">
  97.         <nav>
  98.             <div class="logo">Profile</div>
  99.  
  100.             <ul class="menu-area">
  101.                 <li><a href="index.html">Profile</a></li>
  102.                 <li><a href="eronh.html">Eronh</a></li>
  103.                 <li><a href="hans.html">Tobi</a></li>
  104.             </ul>
  105.         </nav>
  106.     </div>
  107.         <embed class="pdff" src="pdff/hans1.pdf" type="application/pdf" height="700px" width="500px">
  108.         <embed src="pdff/hans2.pdf" type="application/pdf" height="700px" width="500px">
  109.     <script src="index.js"></script>
  110. </body>
  111. </html>
  112.  
  113.  
  114.  
  115.  
  116. // style.css
  117.  
  118. * {
  119.     margin: 0;
  120.     padding: 0;
  121.     outline: 0;
  122.     box-sizing: border-box;
  123.     font-family: sans-serif;
  124. }
  125.  
  126. body{
  127.     background-image: url(img/1.jpg);
  128.     -webkit-background-size:cover;
  129.     background-attachment: fixed;
  130.     background-size:cover;
  131.     background-repeat: no-repeat;
  132.     background-position: center;
  133.     height: 100vh;
  134. }
  135. .menu-area li a {
  136.     text-decoration: none;
  137. }
  138.  
  139. .menu-area li {
  140.     list-style-type: none;
  141. }
  142.  
  143. .custom-padding{
  144.     padding-top: 25px;
  145. }
  146.  
  147. nav {
  148.     position: relative;
  149.     width: calc(100% - 60px);
  150.     margin: 0 auto;
  151.     padding: 10px 0;
  152.     background: #4F6367;
  153.     z-index: 1;
  154.     text-align: right;
  155.     padding-right: 2%;
  156. }
  157.  
  158. .logo {
  159.     width: 15%;
  160.     float: left;
  161.     text-transform: uppercase;
  162.     color: #fff;
  163.     font-size: 25px;
  164.     text-align: left;
  165.     padding-left: 2%;
  166. }
  167.  
  168. .menu-area li {
  169.     display: inline-block;
  170. }
  171.  
  172. .menu-area a {
  173.     color: #fff;
  174.     font-weight: 300;
  175.     letter-spacing: 1px;
  176.     text-transform: uppercase;
  177.     display: block;
  178.     padding: 0 25px;
  179.     font-size: 14px;
  180.     line-height: 30px;
  181.     position: relative;
  182.     z-index: 1;
  183. }
  184. .menu-area a:hover {
  185.     background: #B8D8D8;
  186.     color: black;
  187. }
  188.  
  189. .menu-area a:hover:after {
  190.     transform: translateY(-50%) rotate(-35deg);
  191. }
  192.  
  193. nav:before {
  194.     position: absolute;
  195.     content: '';
  196.     border-top: 10px solid rgb(46, 56, 58);
  197.     border-right: 10px solid rgb(46, 56, 58);
  198.     border-left: 10px solid transparent;
  199.     border-bottom: 10px solid transparent;
  200.     top: 100%;
  201.     left: 0;
  202. }
  203.  
  204. nav:after {
  205.     position: absolute;
  206.     content: '';
  207.     border-top: 10px solid rgb(46, 56, 58);
  208.     border-left: 10px solid rgb(46, 56, 58);
  209.     border-right: 10px solid transparent;
  210.     border-bottom: 10px solid transparent;
  211.     top: 100%;
  212.     right: 0;
  213. }
  214.  
  215. .pdff{
  216.     margin-left: 200px;
  217. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement