Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

footer and css added #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
134 changes: 72 additions & 62 deletions css/main.css
Original file line number Diff line number Diff line change
@@ -1,101 +1,111 @@
* {
margin: none;
padding: none;
margin: none;
padding: none;
}

body {
text-align: center;
min-width: 360px;
margin: 0;
text-align: center;
min-width: 360px;
margin: 0;
}

#header,
#showcase,
#footer,
#social {
background: #f44274;
;
animation-name: bgColor;
animation-duration: 24s;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-delay: 2s;
color: white;
font-family: "Comfortaa", cursive;
margin: auto;
background: #f44274;
animation-name: bgColor;
animation-duration: 24s;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-delay: 2s;
color: white;
font-family: "Comfortaa", cursive;
margin: auto;
}

@keyframes bgColor {
0% {
background-color: #f44274;
}
25% {
background-color: #f4f142;
}
50% {
background-color: #23516D;
}
100% {
background-color: #42f49e;
}
0% {
background-color: #f44274;
}
25% {
background-color: #f4f142;
}
50% {
background-color: #23516d;
}
100% {
background-color: #42f49e;
}
}

img {
margin: 50px 0 30px 0;
border: 5px solid white;
border-radius: 100px;
box-shadow: 2px 2px 10px #888;
vertical-align: middle;
width: 230px;
height: auto;
margin: 50px 0 30px 0;
border: 5px solid white;
border-radius: 100px;
box-shadow: 2px 2px 10px #888;
vertical-align: middle;
width: 230px;
height: auto;
}

.name {
font-size: 30px;
text-shadow: 2px 2px 10px #888;
font-size: 30px;
text-shadow: 2px 2px 10px #888;
}

#tags {
font-size: 20px;
font-size: 20px;
}

.icons i {
margin: 15px;
border-radius: 100%;
font-size: 50px;
margin: 15px;
border-radius: 100%;
font-size: 50px;
}

.icons a:hover i {
box-shadow: 2px 2px 10px #888;
box-shadow: 2px 2px 10px #888;
}

.fa-facebook {
width: 45px;
width: 45px;
}


/*
For reaponsiveness across all the devices using @media queries.
*/

@media screen and (max-width: 500px) {
.icons i {
font-size: 30px;
}
.name {
font-size: 20px;
}
#tags {
font-size: 15px;
}
.fa-facebook {
width: 26px;
}
img {
width: 180px;
height: 200px;
}
body {
margin: 0;
}
.icons i {
font-size: 30px;
}
.name {
font-size: 20px;
}
#tags {
font-size: 15px;
}
.fa-facebook {
width: 26px;
}
img {
width: 180px;
height: 200px;
}
body {
margin: 0;
}
}

footer {
position: relative;
line-height: 80px;
right: 0;
bottom: 0;
left: 0;
padding: 1rem;
background-color: #272727;
text-align: center;
color: #ffffff;
}
85 changes: 61 additions & 24 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,29 +1,66 @@
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel = "stylesheet" href = "css/main.css" type = "text/css">
<link href="https://fonts.googleapis.com/css?family=Berkshire+Swash|Comfortaa|Lobster|Righteous" rel="stylesheet">
</head>
<body>
<div class = "section" id = "header">
<img src = "hiten.jpg"
alt="My image">
<div class = "name">Sarthak Rout</div>
<div id = "tags"><br>Computer Science Undergraduate<br><br><i style = "color : black" class = "fa fa-graduation-cap" aria-hidden = "true"></i> College of Engineering and Technology, Bhubaneswar<br><br>
</div>
<br><br><br>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
<link rel="stylesheet" href="css/main.css" type="text/css" />
<link
href="https://fonts.googleapis.com/css?family=Berkshire+Swash|Comfortaa|Lobster|Righteous"
rel="stylesheet"
/>
</head>
<body>
<header class="section" id="header">
<img src="hiten.jpg" alt="My image" />
<div class="name">Sarthak Rout</div>
<div id="tags">
<br />Computer Science Undergraduate<br /><br /><i
style="color : black"
class="fa fa-graduation-cap"
aria-hidden="true"
></i>
College of Engineering and Technology, Bhubaneswar<br /><br />
</div>
<div class = "section" id = "social">
<div class = "name">Contact Me</div>
<div class = "icons">
<a target = "_blank" href = "https://www.facebook.com/hitendrita.panda"><i style = "color : #3b5998;" class = "fa fa-border fa-facebook" aria-hidden = "true"></i></a>
<a target = "_blank" href = "https://www.github.com/hitendrita"><i style = "color : black" class = "fa fa-border fa-github" aria-hidden = "true"></i></a>
<a target = "_blank" href = "https://www.linkedin.com/in/hitendrita-panda-08249616b/"><i style = "color : #0077B5" class = "fa fa-border fa-linkedin" aria-hidden = "true"></i></a>
</div>
<br /><br /><br />
</header>

<main class="section" id="social">
<div class="name">Contact Me</div>
<div class="icons">
<a target="_blank" href="https://www.facebook.com/hitendrita.panda"
><i
style="color : #3b5998;"
class="fa fa-border fa-facebook"
aria-hidden="true"
></i
></a>
<a target="_blank" href="https://www.github.com/hitendrita"
><i
style="color : black"
class="fa fa-border fa-github"
aria-hidden="true"
></i
></a>
<a
target="_blank"
href="https://www.linkedin.com/in/hitendrita-panda-08249616b/"
><i
style="color : #0077B5"
class="fa fa-border fa-linkedin"
aria-hidden="true"
></i
></a>
</div>
<!--<div class = "section" id = "social"></div>
</main>
<!--<div class = "section" id = "social"></div>
<div class = "section" id = "footer"></div>-->
</body>

<footer class="email-me">
footer added, dont know what style you want, you can apply by yourself
</footer>
</footer>
</body>
</html>