Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Amaan Abbasi |</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.1/css/bulma.min.css">
<link rel="stylesheet" href="main.css">
<script defer src="https://use.fontawesome.com/releases/v5.1.0/js/all.js"></script>

<!-- animate css -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/animate.min.css">

<script src="script.js"></script>
</head>

<body>

<section class="hero has-background-light is-fullheight my-background-2 ">
<!-- Hero head: will stick at the top -->
<header class="hero-head">
<div class="container">
<nav class="navbar">
<div class="navbar-brand is-flex">
<div class="navbar-start">
<a class="navbar-item" href="https://www.github.com/amaanabbasi" target="_blank">
<i class="fab fa-github"></i>
</a>
<a class="navbar-item" href="https://www.linkedin.com/in/mohd-abbasi-22293813a/" target="_blank">
<i class="fab fa-linkedin-in"></i>
</a>
<a href="/https://twitter.com/AmaanPengoo" class="navbar-item" target="_blank">
<i class="fab fa-twitter"></i>
</a>
</div>
<div class="navbar-end has-text-justified has-text-weight-normal">
<a href="./index.html" class="navbar-item">Home</a>
<a href="./about.html" class="navbar-item">About</a>
<a href="https://pengoox.pythonanywhere.com" class="navbar-item" target="_blank">Blog</a>
</div>
</div>
</nav>
</div>
</header>

<!-- Hero content: will be in the middle -->
<div class="hero-body ">
<div class="container has-text-centered">
<h1 id="animated-title" class="title is-1 animated pulse" style="font-size:3em;">
About me
</h1>
<h2 class="subtitle">
I like making new things. And other description about yourself.
</h2>
</div>
</div>
</section>
</body>

</html>
13 changes: 5 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,10 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.1/css/bulma.min.css">
<link rel="stylesheet" href="main.css">
<script defer src="https://use.fontawesome.com/releases/v5.1.0/js/all.js"></script>
<!-- animate css -->

<!-- animate css -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/animate.min.css">
<!--
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
1.Please donot add hyper resource you donot need in you webpage. I guess JQUERY here is useless
and please remover other useless libraries along with comments.
-->

<script src="script.js"></script>
</head>

Expand All @@ -39,8 +35,8 @@
</a>
</div>
<div class="navbar-end has-text-justified has-text-weight-normal">
<a href="/" class="navbar-item">Home</a>
<a href="/" class="navbar-item">About</a>
<a href="./index.html" class="navbar-item">Home</a>
<a href="./about.html" class="navbar-item">About</a>
<a href="https://pengoox.pythonanywhere.com" class="navbar-item" target="_blank">Blog</a>
</div>
</div>
Expand All @@ -59,6 +55,7 @@ <h2 class="subtitle">
</h2>
</div>
</div>
</section>
</body>

</html>
14 changes: 7 additions & 7 deletions main.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
.navbar-brand.is-flex {
width:100%;
margin-top:0.01em;
width: 100%;
margin-top: 0.01em;
}

.navbar-start{
display:flex;
.navbar-start {
display: flex;
}

.navbar-end{
display:flex;
margin-left:auto;
.navbar-end {
display: flex;
margin-left: auto;
}

.my-background-1 {
Expand Down
12 changes: 7 additions & 5 deletions script.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
let animateName = "animated pulse"
let animationend = "webkitAnimationEnd mozAnimationEnd oAnimationEnd animationEnd"
let animatedClass = ".title"
$(animatedClass).mouseenter(function(event){
let animateName = 'animated pulse';
let animationend = 'webkitAnimationEnd mozAnimationEnd oAnimationEnd animationEnd';
let animatedClass = '.title';

$(animatedClass).mouseenter(function () {
$(this).addClass(animateName);
});
$(animatedClass).on(animationend, function(event) {

$(animatedClass).on(animationend, function () {
$(this).removeClass(animateName);
});