Advertisement
l2ve

#02

Feb 4th, 2023
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5.96 KB | Source Code | 0 0
  1. <!-- what am i doing :( -->
  2.  
  3. <!DOCTYPE html>
  4. <html>
  5.     <head>
  6.         <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7.  
  8.         <style>
  9.             * {cursor: url(https://cur.cursors-4u.net/cursors/cur-9/cur817.cur), auto !important;}
  10.  
  11.             ::-moz-selection {
  12.                     color: auto;
  13.                     background: transparent;
  14.                 }
  15.  
  16.                 ::selection {
  17.                     color: auto;
  18.                     background: transparent;
  19.                 }
  20.  
  21.                 a:link {
  22.                     color: white;
  23.                 text-decoration: none;
  24.                 }
  25.  
  26.                 a:visited {
  27.                     color: white;
  28.                 text-decoration: none;
  29.                 }
  30.  
  31.                 a:hover {
  32.                     color: white;
  33.                     font-style: strong;
  34.                 text-decoration: none;
  35.                 }
  36.  
  37.                 a:active {
  38.                     color: white;
  39.                 text-decoration: none;
  40.                 }
  41.  
  42.                 @font-face {
  43.                     font-family: belbo;
  44.                     src: url(https://dl.dropbox.com/s/zvz0u6t0ofn1wot/Belbo-SemiBold.ttf);
  45.                 }
  46.  
  47.                 @font-face {
  48.                     font-family: belbo-light;
  49.                     src: url(https://dl.dropbox.com/s/ev9tu9ousu9qqvm/Belbo-ExtraLight.ttf);
  50.                 }
  51.  
  52.             html, body {
  53.                 block-size: 100%;
  54.             }
  55.  
  56.             html {
  57.                 scroll-snap-type: y mandatory;
  58.             }
  59.  
  60.             body {
  61.                 background-color: black;
  62.                 padding: 10%;
  63.                 padding-top: 25%;
  64.                 padding-bottom: 15%;
  65.                 overflow-X: hidden;
  66.  
  67.                 color: white;
  68.                 font-family: belbo-light;
  69.                 font-size: 1em;
  70.  
  71.                 -ms-overflow-style: none;
  72.                     scrollbar-width: none;
  73.             }
  74.  
  75.             body::-webkit-scrollbar {
  76.                     display: none;
  77.                 }
  78.  
  79.             section {
  80.                 scroll-snap-align: start;
  81.                 scroll-snap-stop: always;  
  82.  
  83.                 padding-top: 25%;          
  84.             }
  85.  
  86.             h1 {
  87.                 font-family: belbo;
  88.                 font-size: 3.65em;
  89.                 text-align: right;
  90.                 line-height: 80%;
  91.                 color: white;
  92.             }
  93.  
  94.             h2 {
  95.                 font-family: belbo;
  96.                 font-size: 3.65em;
  97.                 text-align: right;
  98.                 line-height: 80%;
  99.                 color: white;
  100.             }
  101.  
  102.             .text {
  103.                 margin-top: -25px;
  104.                 text-align: right;
  105.             }
  106.  
  107.             .frame {
  108.                 width: 350px;
  109.                 height: 400px;
  110.                 display: inline-block;
  111.                 margin-top: 120px;
  112.                 z-index: 999;
  113.  
  114.                 animation-name: floating;
  115.                 animation-duration: 3s;
  116.                 animation-iteration-count: infinite;
  117.                 animation-timing-function: ease-in-out;
  118.             }
  119.  
  120.  
  121.             @keyframes floating {
  122.                 0% { transform: translate(0,  0px); }
  123.                 50%  { transform: translate(0, 15px); }
  124.                 100%   { transform: translate(0, -0px); }    
  125.             }
  126.  
  127.             #about {
  128.                 margin-top: 265px;
  129.             }
  130.  
  131.             .gallery {
  132.                 width: 100%;
  133.                 height: 350px;
  134.                 overflow-y: scroll;
  135.                 overflow-x: hidden;
  136.             }
  137.  
  138.  
  139.             /* For mobile: */
  140.             [class*="col-"] {
  141.                 width: 100%;
  142.             }
  143.  
  144.             [class*="frame"] {
  145.                 width: 100%;
  146.             }
  147.  
  148.             [id*="header-menu"] {
  149.                 visibility: hidden;
  150.             }
  151.  
  152.             @media only screen and (min-width: 768px) {
  153.                 /* For desktop: */
  154.                 body {
  155.                     max-height: 600px;
  156.                     align-items: center;
  157.                     margin-top: -250px;
  158.                     padding-top: -5%;
  159.                     padding-right: 20%;
  160.                 }
  161.  
  162.                 h1 {
  163.                     font-size: 6.15em;
  164.                     text-align: left;
  165.                     margin-left: 420px;
  166.                 }
  167.  
  168.                 h2 {
  169.                     font-size: 6.15em;
  170.                     text-align: left;
  171.                 }
  172.  
  173.                 section {
  174.                     padding-top: 25%;
  175.                 }
  176.  
  177.                 #header-menu {
  178.                     visibility: visible;
  179.                     color: white;
  180.                     position: fixed;
  181.                     top: 50px;
  182.                     right: 50px;
  183.                 }
  184.  
  185.                 .links_head {
  186.                     width: 35px;
  187.                     height: auto;
  188.                 }
  189.  
  190.                 .text {
  191.                     margin-top: -50px;
  192.                     text-align: left;
  193.                 }
  194.  
  195.                 .frame {
  196.                     width: 100%;
  197.                     margin-top: 0;
  198.                 }
  199.  
  200.                 .about {
  201.                     height: 750px;
  202.                 }
  203.  
  204.                 .projects {
  205.                     height: 750px;
  206.                     float: right;
  207.                 }
  208.             }
  209.  
  210.             @media only screen and (max-width: 280px) {
  211.                 body {
  212.                     scale: 65%;
  213.                     padding-left: 0;
  214.                 }
  215.  
  216.                 section {
  217.                     padding-top: 250px;
  218.                     padding-bottom: 450px;
  219.                 }
  220.  
  221.                 .frame {
  222.                     padding-top: 25%;
  223.                 }
  224.  
  225.                 #header-menu {
  226.                     visibility: hidden;
  227.                 }
  228.             }
  229.  
  230.             @media only screen and (height: 1180px) {
  231.                 body {
  232.                     scale: 80%;
  233.                     padding-left: 0;
  234.                     margin-left: -30px;
  235.                 }
  236.  
  237.                 .text {
  238.                     margin-top: -25px;
  239.                 }
  240.  
  241.                 #about {
  242.                     margin-top: 625px;
  243.                 }
  244.             }
  245.  
  246.             @media only screen and (height: 1024px) {
  247.                 body {
  248.                     scale: 80%;
  249.                     padding-left: 0;
  250.                     margin-left: -30px;
  251.                 }
  252.  
  253.                 .text {
  254.                     margin-top: -25px;
  255.                 }
  256.  
  257.                 #about {
  258.                     margin-top: 625px;
  259.                 }
  260.             }
  261.  
  262.             @media only screen and (width: 1024px) {
  263.                 .frame {
  264.                     margin-top: -100px;
  265.                 }
  266.             }
  267.         </style>
  268.     </head>
  269.     <body>
  270.         <section>
  271.             <div class="frame">
  272.                 <img src="https://imgur.com/xhuop3y.png">
  273.                 <img src="https://imgur.com/pUV3kcR.png" style="margin-top: -500px">
  274.             </div>
  275.  
  276.             <div class="col-1">
  277.                 <h1 style="margin-top: -115px;">hello,<br>Human.</h1>
  278.             </div>
  279.         </section>
  280.  
  281.         <section id="about">
  282.             <h2>about</h2>
  283.             <div class="text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
  284.             <hr style="border: 0; height: 50px;">
  285.         </section>
  286.  
  287.         <section id="projects">
  288.             <h2>projects</h2>
  289.             <div class="text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div>
  290.         </section>
  291.  
  292.         <hr style="border: 0; height: 500px;">
  293.     </body>
  294. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement