Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Insert title here</title>
- <style>
- body {
- background: #1d62a1;
- font-family: Arial, Helvetica, sans-serif;
- }
- a {
- color: #1d62a1;
- }
- h1 {
- margin: 0px;
- background-color: white;
- width: fit-content;
- font-size: 40px;
- color: #1d62a1;
- }
- u {
- color: #1d62a1;
- }
- hr {
- width: 20%;
- float: left;
- border: #1d62a1 3px solid;
- }
- button {
- font-family: inherit;
- font-size: inherit;
- padding: 5px;
- background: none;
- border: none;
- cursor: pointer;
- text-decoration: underline;
- color: #1d62a1;
- position: relative;
- width: 50%;
- }
- .grid {
- background-color: rgba(255, 255, 255, 0.843);
- display: grid;
- grid-template-columns: 75% 25%;
- grid-template-rows: 150px 3fr;
- height: 550px;
- max-width: 900px;
- margin-left: auto;
- margin-right: auto;
- margin-top: 5%;
- margin-bottom: auto;
- font-size: 15px;
- }
- .logo {
- grid-column: 1;
- grid-row: 1;
- border-right: 1px rgb(216, 216, 216) solid;
- z-index: 700;
- }
- .main {
- grid-column: 1;
- grid-row: 2;
- text-align: left;
- border-right: 1px rgb(216, 216, 216) solid;
- border-top: 1px rgb(216, 216, 216) solid;
- padding: 5px;
- background-color: white;
- height: 500px;
- }
- .textgrid3,
- .textgrid4 {
- display: none;
- }
- .navtop {
- background-color: rgba(255, 255, 255);
- grid-column: 2;
- grid-row: 1;
- height: 100%;
- padding: 5px;
- box-sizing: border-box;
- }
- .nav {
- grid-column: 2;
- grid-row: 2;
- height: 400px;
- padding: 5px;
- word-wrap: break-word;
- }
- .nav a {
- color: black;
- }
- .updates {
- box-sizing: border-box;
- position: relative;
- width: 100%;
- background-color: rgb(216, 216, 216);
- }
- .updates::after {
- position: absolute;
- width: 70%;
- height: 20px;
- content: "";
- }
- .updates::after {
- left: 0;
- bottom: 0;
- border-bottom: 6px solid #1d62a1;
- }
- .updatesgrid {
- display: grid;
- grid-template-columns: 70% 30%;
- grid-template-rows: 1fr;
- height: 100%;
- }
- </style>
- </head>
- <body>
- coded by <a href="ol1vi4s-corner.neocities.org" style="color: white;">ol1vi4s-corner</a>
- <div class="grid">
- <div class="logo">
- <img src="https://i.pinimg.com/736x/2d/e4/76/2de476dbb20e38444134acabeaa2b1bd.jpg" width="100%"
- height="100%;">
- </div>
- <div class="main">
- <style>
- .header {
- background-color: rgb(216, 216, 216);
- border-bottom: #1d62a1 10px solid;
- height: 40px;
- width: 100%;
- box-sizing: border-box;
- }
- @keyframes fadeIn {
- 0% {
- transform: translatex(-50%);
- opacity: 0;
- }
- 100% {
- transform: translatex(0%);
- opacity: 1;
- }
- }
- /**Text grid 1 and 2 display the content for desktop ver. **/
- .textgrid1 {
- display: grid;
- grid-template-columns: 1fr 2fr;
- gap: 10px;
- overflow: hidden;
- place-items: center;
- animation: 1.5s fadeIn;
- }
- .textgrid2 {
- display: grid;
- grid-template-columns: 1fr 1fr 1fr 1fr;
- grid-template-rows: 1fr;
- gap: 10px;
- overflow: hidden;
- place-items: center;
- animation: 2s fadeIn;
- }
- .aboutme {
- padding-top: 15px;
- box-sizing: border-box;
- position: relative;
- height: 100%;
- }
- .aboutme::after {
- position: absolute;
- width: 25px;
- height: 20px;
- content: "";
- }
- .aboutme::after {
- left: 0;
- bottom: 0;
- border-bottom: 6px solid #1d62a1;
- }
- /**textgrid 3 and 4 display contents for mobile **/
- .textgrid3 {
- grid-template-columns: 1fr;
- grid-template-rows: 2fr 2fr;
- place-items: center;
- }
- .textgrid4 {
- grid-template-columns: 1fr 1fr;
- grid-template-rows: 1fr 1fr 1fr;
- gap: 10px;
- }
- </style>
- <!-- adjust margin-left to shift header text horizontally-->
- <div class="header">
- <h1 style="margin-left:10%;height:50px;">About the site</h1>
- </div>
- <div class="textgrid1">
- <p style="grid-column: 1;">
- <img src="https://i0.wp.com/seds.org/wp-content/uploads/2020/02/placeholder.png?fit=1200%2C800&ssl=1"
- width="100%">
- </p>
- <p style="grid-column: 2;">
- <span>
- <img src="https://file.garden/aNy90GYmaWI-Okj1/bh%20brush%2034%204.png" height="20px">
- Contact me on neocities in the case of any bugs or mistakes
- </span>
- <br><br>
- <span>
- <img src="https://file.garden/aNy90GYmaWI-Okj1/bh%20brush%2034%204.png" height="20px">
- Feel free to adjust the css/html
- </span>
- <br><br>
- <span>
- <img src="https://file.garden/aNy90GYmaWI-Okj1/bh%20brush%2034%204.png" height="20px">
- Pls do not remove credits unless code has been altered more than 50%
- </span>
- </p>
- </div>
- <div class="textgrid3">
- <p style="grid-row: 1;">
- <img src="https://i0.wp.com/seds.org/wp-content/uploads/2020/02/placeholder.png?fit=1200%2C800&ssl=1"
- width="70%">
- </p>
- <p style="grid-row:2">
- <span>
- <img src="https://file.garden/aNy90GYmaWI-Okj1/bh%20brush%2034%204.png" height="20px">
- Contact me on neocities in the case of any bugs or mistakes
- </span>
- <br><br>
- <span>
- <img src="https://file.garden/aNy90GYmaWI-Okj1/bh%20brush%2034%204.png" height="20px">
- Feel free to adjust the css/html
- </span>
- <br><br>
- <span>
- <img src="https://file.garden/aNy90GYmaWI-Okj1/bh%20brush%2034%204.png" height="20px">
- Pls do not remove credits unless code has been altered more than 50%
- </span>
- </p>
- </div>
- <div class="header">
- <h1 style="margin-left:55%;height:50px;">About me</h1>
- </div>
- <div class="textgrid2">
- <div class="aboutme" style="grid-column:1;">
- Name: Olivia
- <br>
- Age: 19
- </div>
- <div class="aboutme" style="grid-column: 2;">
- MBTI: INTJ
- </div>
- <p class="aboutme" style="grid-column: 3;">
- Likes:
- </p>
- <p class="aboutme" style="grid-column:4;">
- Dislikes:
- </p>
- </div>
- <div class="textgrid4">
- <p class="aboutme" style="grid-column:1;grid-row: 1;">
- Single cell genomics data analysis
- </p>
- <p class="aboutme" style="grid-column: 2;grid-row: 1;">
- Cloud based computational pipelines
- </p>
- <p class="aboutme" style="grid-column: 1;grid-row:2;">
- Genomics sequencing data analysis,
- </p>
- <p class="aboutme" style="grid-column:2;grid-row:2;">
- Transcriptomic data
- analysis
- </p>
- </div>
- <br>
- <div class="updates">
- <div class="updatesgrid">
- <div style="grid-column: 1;grid-row: 1;padding: 5px;padding-bottom:15px;">
- <b>Updates</b>
- <br>
- <div style="font-size: 12px">
- XX/XX/202X: <br>
- XX/XX/202X: <br>
- XX/XX/202X: <br>
- XX/XX/202X: <br>
- </div>
- </div>
- <img src="https://i0.wp.com/seds.org/wp-content/uploads/2020/02/placeholder.png?fit=1200%2C800&ssl=1"
- style="grid-column: 2;grid-row: 1;" width="100%" height="100%">
- </div>
- </div>
- </div>
- <!--right side bar grey square area-->
- <div class="navtop">
- <grid style="
- display: grid;
- grid-template-columns: 1fr 1fr 1fr;
- grid-template-rows: 1fr 1fr;
- gap: 5px;
- width:100%;
- height:100%;" class="desktop">
- <div
- style="background-color: rgb(216, 216, 216);width:100%;height:100%;box-sizing: border-box;grid-column: 1;">
- </div>
- <div
- style="background-color: rgb(216, 216, 216);width:100%;height:100%;box-sizing: border-box;grid-column: 2;">
- </div>
- <div
- style="background-color: rgb(216, 216, 216);width:100%;height:100%;box-sizing: border-box;grid-column: 3;padding-left:5px;padding-left:5px;">
- <p>est. 202X</p>
- </div>
- <div
- style="background-color: rgb(216, 216, 216);width:100%;height:100%;box-sizing: border-box;grid-column: 1;">
- <p><button id="back">back</button></p>
- </div>
- <div
- style="background-color: rgb(216, 216, 216);width:100%;height:100%;box-sizing: border-box;grid-column: 2;">
- </div>
- <div
- style="background-color: rgb(216, 216, 216);width:100%;height:100%;box-sizing: border-box;grid-column: 3;">
- </div>
- <script>
- document.getElementById("back").addEventListener("click", () => {
- history.back();
- });
- </script>
- </grid>
- </div>
- <!--right sidebar links-->
- <div class="nav">
- <style>
- .about {
- background-color: white;
- border: #1d62a1 1px solid;
- width: 100%;
- height: 15%;
- padding: 5px;
- box-sizing: border-box;
- margin-bottom: 5px;
- }
- .blog {
- background-color: #277fd1;
- width: 100%;
- height: 15%;
- padding: 5px;
- box-sizing: border-box;
- margin-bottom: 5px;
- }
- .blog:hover {
- background-color: white;
- border: #277fd1 1px solid;
- }
- .platforms {
- background-color: #3594dd;
- width: 100%;
- height: 15%;
- margin-top: 5px;
- padding: 5px;
- box-sizing: border-box;
- }
- .platforms:hover {
- background-color: white;
- border: #3594dd 1px solid;
- }
- .contact {
- background-color: #5dafed;
- width: 100%;
- height: 15%;
- margin-top: 5px;
- padding: 5px;
- box-sizing: border-box;
- }
- .contact:hover {
- background-color: white;
- border: #5dafed 1px solid;
- }
- .about,
- .contact,
- .platforms,
- .blog {
- font-weight: 900;
- }
- </style>
- <div class="about" onclick="location.href=('')">
- <a href="about.html" style="color: black;">home</a>
- <img src="https://file.garden/aNy90GYmaWI-Okj1/asterisks_08.png" width="20%"
- style="position:relative;float:right;">
- </div>
- <a href="">
- <div class="blog" onclick="location.href=('')">
- blog
- <img src="https://file.garden/aNy90GYmaWI-Okj1/bh%20brush%2034%204.png" width="20%"
- style="position:relative;float:right;">
- </a>
- </div>
- <div class="platforms" onclick="location.href=('platforms.html')">
- <a href="">platforms</a>
- <img src="https://file.garden/aNy90GYmaWI-Okj1/bh%20brush%2034%204.png" width="20%"
- style="position:relative;float:right;">
- </div>
- <div class="contact" onclick="location.href=('contact.html')">
- <a href="">contact</a>
- <img src="https://file.garden/aNy90GYmaWI-Okj1/bh%20brush%2034%204.png" width="20%"
- style="position:relative;float:right;">
- </div>
- <br>
- Sign my <a href="">guestbook!</a>
- <br>
- <hr>
- </div>
- </div>
- <!--CSS for mobile ver.-->
- <style>
- @media screen and (max-width:600px) {
- .grid {
- grid-template-columns: 100%;
- grid-template-rows: 150px 263px auto 150px;
- gap: 5px;
- width: 90%;
- min-height: 1100px;
- border-left: 1px rgb(216, 216, 216) solid;
- border-right: 1px rgb(216, 216, 216) solid;
- }
- .logo {
- grid-row: 1;
- grid-column: 1;
- border: none;
- }
- .navtop {
- grid-row: 4;
- grid-column: 1;
- }
- .nav {
- grid-row: 2;
- grid-column: 1;
- height: 100%;
- }
- .about,
- .blog,
- .contact,
- .platforms {
- height: 30%;
- width: 50%;
- margin: 0px;
- }
- .about,
- .blog {
- position: relative;
- float: left;
- }
- .contact,
- .platforms {
- position: relative;
- float: right;
- }
- .nav img {
- width: 15%;
- }
- .main {
- grid-row: 3;
- grid-column: 1;
- border: none;
- height: 100%;
- overflow-y: visible;
- }
- }
- @media screen and (max-width:490px) {
- body {
- margin: 0;
- overflow-x: hidden;
- }
- ::-webkit-scrollbar {
- display: none;
- }
- h1 {
- font-size: 30px;
- }
- .grid {
- height: 100vh;
- width: 90vw;
- grid-template-rows: 82px 258px auto 150px;
- overflow: scroll;
- margin-bottom: 10vh;
- }
- .logo {
- position: fixed;
- top: 0;
- height: 82px;
- width: 90vw;
- }
- .nav {
- position: fixed;
- top: 82px;
- height: 258px;
- width: 90vw;
- background-color: rgba(255, 255, 255);
- box-sizing: border-box;
- }
- .about,
- .blog,
- .contact,
- .platforms {
- height: 30%;
- }
- .textgrid1,
- .textgrid2 {
- display: none;
- }
- .textgrid3,
- .textgrid4 {
- display: grid;
- font-size: 100%;
- }
- }
- </style>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment