Skip to content

Commit

Permalink
Added 'Ask me anything' page
Browse files Browse the repository at this point in the history
Added ask me anything page and re-formatted html and css file and minor fixes.
  • Loading branch information
viperadnan-git committed Sep 23, 2020
1 parent d11693b commit 7502e55
Show file tree
Hide file tree
Showing 2 changed files with 164 additions and 118 deletions.
43 changes: 14 additions & 29 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</head>
<body>
<div id="header" class="section">
<img alt="" class="img-circle" src="profile.png">
<img alt="logo" class="img-circle" src="profile.png">
<p>Adnan Ahmad</p>
</div>
<div class="section">
Expand Down Expand Up @@ -92,34 +92,14 @@ <h1><span>My Skills</span></h1>
</div>
<div class="section">
<h1><span>Must Watch</span></h1>
<iframe frameborder="0" scrolling="no" marginheight="0" marginwidth="0"width="900" height="450" type="text/html" src="https://www.youtube.com/embed/lgm3puP3tMA?autoplay=1&fs=1&iv_load_policy=3&showinfo=0&rel=0&cc_load_policy=0&start=0&end=0&origin=https://youtubeembedcode.com"></iframe>
<iframe frameborder="0" scrolling="no" marginheight="0" marginwidth="0" width="900px" height="450px" type="text/html" src="https://www.youtube.com/embed/lgm3puP3tMA?autoplay=1&fs=1&iv_load_policy=3&showinfo=0&rel=0&cc_load_policy=0&start=0&end=0&origin=https://youtubeembedcode.com"></iframe>
</div>
<div class="section" id="links">
<h1><span>Find me on</span></h1>
<p>
On <strong>Instagram</strong> as
<bold><a href="https://instagram.com/viperadnan">@viperadnan</a></bold>
</p>
<p>
On <strong>Facebook</strong> as
<bold><a href="https://facebook.com/viperadnan">@viperadnan</a></bold>
</p>
<p>
On <strong>Telegram</strong> as
<bold><a href="https://t.me/viperadnan">@viperadnan</a></bold>
</p>
<p>
On <strong>Twitter </strong> as
<bold><a href="https://twitter.com/viperadn ">@viperadn </a></bold>
</p>
<p>
On <strong>YouTube</strong> as
<bold><a href="https://youtube.com/channel/UCmTFhPnwrYTxa3pI5ldZqdA">Viper Adnan</a></bold>
</p>
<p>
On <strong>GitHub</strong> as
<bold><a href="https://github.com/viperadnan-git">@viperadnan-git</a></bold>
</p>
<div class="section" style="background-image:linear-gradient(to bottom left, #833AB4, #F77737);">
<form class="section" onsubmit="search();">
<img id="insta-image" src="profile.png">
<br><label for="question"><b>Ask me anything !</b></label>
<br><input type="search" id="question" placeholder="Type something...">
</form>
</div>
<div class="section" id="contacts">
<h1><span>Follow Me</span></h1>
Expand Down Expand Up @@ -148,5 +128,10 @@ <h1><span>Follow Me</span></h1>
</div>
</div>
<div class="copyright"> &copy; 2020 Adnan Ahmad's Bio. All rights reserved. </div>
<script type="text/javascript">
function search() {
window.open('https://www.google.com/search?output=search&q=' + document.getElementById("question").value)
}
</script>
</body>
</html>
</html>
239 changes: 150 additions & 89 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,129 +1,190 @@
html {
margin: 0;
padding: 0;
margin: 0;
padding: 0;
}

body {
font-family: 'Bellota', cursive;
font-size: 26pt;
background-color: f2f2f2;
padding: 20px;
margin: 0;
font-family: 'Bellota', cursive;
font-size: 26pt;
background-color: #f2f2f2;
padding: 20px;
margin: 0;
}

h1 {
font-size: 15pt;
color: #ffffff;
text-align: center;
padding: 18px 0 18px 0;
margin: 0 0 10px 0;
font-size: 15pt;
color: #ffffff;
text-align: center;
padding: 18px 0 18px 0;
margin: 0 0 10px 0;
}

h1 span {
border: 8px solid #666666;
border-radius: 8px;
background-image: url("https://media.giphy.com/media/KVZWZQoS0yqfIiTAKq/giphy.gif");
padding: 12px;
border: 8px solid #666666;
border-radius: 8px;
background-image: url("https://media.giphy.com/media/KVZWZQoS0yqfIiTAKq/giphy.gif");
padding: 12px;
}

p {
padding: 0;
margin: 0;
color: #000000;
padding: 0;
margin: 0;
color: #000000;
}

.img-circle {
border: 8px solid white;
border-radius: 50%;
border: 8px solid white;
border-radius: 50%;
}

.section {
background-color: #fff;
padding: 20px;
margin-bottom: 10px;
border-radius: 30px;
background-color: #fff;
padding: 20px;
margin-bottom: 10px;
border-radius: 30px;
}

#header {
background-image: url("https://media.giphy.com/media/KVZWZQoS0yqfIiTAKq/giphy.gif");
background-size: cover;
background-image: url("https://media.giphy.com/media/KVZWZQoS0yqfIiTAKq/giphy.gif");
background-size: cover;
}

#header img {
display: block;
width: 500px;
height: 500px;
margin: auto;
display: block;
width: 500px;
height: 500px;
margin: auto;
}

#header p {
font-size: 60pt;
color: #ffffff;
padding-top: 8px;
margin: 0;
font-weight: bold;
text-align: center;
}
font-size: 60pt;
color: #ffffff;
padding-top: 8px;
margin: 0;
font-weight: bold;
text-align: center;
}

.quote {
font-size: 12pt;
text-align: right;
margin-top: 10px;
color: grey;
}
#res{
text-align: center;
margin: 50px auto;
}
#res a{
margin: 20px 20px;
display: inline-block;
text-decoration: none;
color: black;
}
font-size: 12pt;
text-align: right;
margin-top: 10px;
color: grey;
}

#res {
text-align: center;
margin: 50px auto;
}

#res a {
margin: 20px 20px;
display: inline-block;
text-decoration: none;
color: black;
}

.selected {
background-color: #f36f48;
font-weight: bold;
color: white;
background-color: #f36f48;
font-weight: bold;
color: white;
}

li {
margin-bottom: 15px;
font-weight: bold;
margin-bottom: 15px;
font-weight: bold;
}

progress {
width: 70%;
height: 20px;
color: #3fb6b2;
background: #efefef;
width: 70%;
height: 20px;
color: #3fb6b2;
background: #efefef;
}

progress::-webkit-progress-bar {
background: #efefef;
background: #efefef;
}

progress::-webkit-progress-value {
background: #3fb6b2;
}
progress::-moz-progress-bar {
color: #3fb6b2;
background: #efefef;
}
iframe, audio {
display: block;
margin: 0 auto;
border: 3px solid #3fb6b2;
background: #3fb6b2;
}

progress::-moz-progress-bar {
color: #3fb6b2;
background: #efefef;
}

iframe,
audio {
display: block;
margin: 0 auto;
border: 3px solid #3fb6b2;
border-radius: 10px;
}

hr {
border: 0;
height: 1px;
background: #f36f48;
}
border: 0;
height: 1px;
background: #f36f48;
}

input {
text-align: center;
font-size: 25pt;
border: none;
border-radius: 12px;
padding: 30px 8%;
margin: 20px 5px 10px 5px;
background-color: #d7d7d7;
}

input:focus {
background-color: #2f2f2f;
color: white;
}

form {
text-align: center;
font-size: 30pt;
font-family: Helvetica;
font-weight: 500;
margin: 10% 15% 8% 15%;
border-radius: 12px;
}

#insta-image {
display: block;
width: 100px;
height: 100px;
border: 5px solid #d7d7d7;
border-radius: 50%;
margin: auto;
margin-top: -75px;
}

#contacts img {
height: 150px;
width: 150px;
margin-left: 7px;
margin-right: 7px;
height: 150px;
width: 150px;
margin-left: 7px;
margin-right: 7px;
}

#contacts a {
text-decoration: none;
text-decoration: none;
}

#contacts img:hover {
opacity: 0.8;
opacity: 0.8;
}

#contacts {
text-align: center;
text-align: center;
}

.copyright {
font-size: 8pt;
text-align: right;
padding-bottom: 10px;
color: grey;
}
font-size: 8pt;
text-align: right;
padding-bottom: 10px;
color: grey;
}

0 comments on commit 7502e55

Please sign in to comment.