-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #118 from 0nikhilkumar/dark-branch
Add - adding dark-template #2
- Loading branch information
Showing
4 changed files
with
145 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"liveServer.settings.port": 3001 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Dark-Web</title> | ||
<link rel="stylesheet" href="style.css"> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css" rel="stylesheet"> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<header> | ||
<div class="picture"></div> | ||
<h1>Nikhil Kumar</h1> | ||
</header> | ||
<main> | ||
<a class="link" href="https://linkedin.com/in/0nikhilkumar" target="_blank"><i class="ri-linkedin-fill"></i> Linkedln</a> | ||
<a class="link" href="https://github.com/0nikhilkumar" target="_blank"><i class="ri-github-fill"></i> Github</a> | ||
<a class="link" href="https://www.instagram.com/0nikhilkumar.ig/" target="_blank"><i class="ri-instagram-line"></i> Instagram</a> | ||
<a class="link" href="https://twitter.com/0nikhilkumar_" target="_blank"><i class="ri-twitter-fill"></i> X (Twitter)</a> | ||
</main> | ||
</div> | ||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
@import url("https://fonts.googleapis.com/css2?family=Mulish:wght@400;700&display=swap"); | ||
|
||
:root { | ||
--shadow: 2px 2px 10px #a1974c, -2px -2px 10px #ffffff; | ||
--inner-shadow: inset 2px 2px 10px #999999, inset -2px -2px 10px #ffffff; | ||
} | ||
|
||
* { | ||
box-sizing: border-box; | ||
} | ||
|
||
body { | ||
align-items: center; | ||
background-color: #000000; | ||
display: flex; | ||
flex-direction: column; | ||
font-family: "Mulish", sans-serif; | ||
font-size: 112.5%; | ||
font-weight: 400; | ||
color: white; | ||
margin: 0; | ||
min-height: 100vh; | ||
padding-block: clamp(2rem, 10vw, 4rem); | ||
} | ||
|
||
.container { | ||
align-items: center; | ||
border-radius: 10px; | ||
box-shadow: var(--shadow); | ||
display: flex; | ||
flex-direction: column; | ||
gap: 2em; | ||
max-width: 672px; | ||
padding: clamp(1em, 5vw, 2em); | ||
width: 90%; | ||
} | ||
|
||
header { | ||
align-items: center; | ||
display: flex; | ||
flex-direction: column; | ||
gap: 1em; | ||
} | ||
|
||
h1 { | ||
font-size: clamp(1.9em, 7vw, 4em); | ||
font-weight: 700; | ||
margin: 0; | ||
text-align: center; | ||
border: 1px solid white; | ||
width: 30rem; | ||
background-color: white; | ||
color: black; | ||
box-shadow: var(--shadow); | ||
user-select: none; | ||
} | ||
|
||
h1:hover{ | ||
background-color: black; | ||
color: white; | ||
cursor: pointer; | ||
} | ||
|
||
a { | ||
color: inherit; | ||
text-decoration: none; | ||
} | ||
|
||
.picture { | ||
border-radius: 50%; | ||
height: 8em; | ||
position: relative; | ||
width: 8em; | ||
box-shadow: var(--shadow); | ||
} | ||
|
||
.picture:hover, .picture:focus { | ||
box-shadow: var(--hover-shadow); | ||
outline: none; | ||
transform: scale(1.02); | ||
} | ||
|
||
.picture::before { | ||
content: ""; | ||
background: url("photo.jpeg"); | ||
background-size: cover; | ||
background-position: center; | ||
border-radius: 50%; | ||
inset: 0; | ||
position: absolute; | ||
z-index: -1; | ||
} | ||
|
||
main { | ||
align-items: center; | ||
display: flex; | ||
flex-direction: column; | ||
gap: 1em; | ||
vertical-align: middle; | ||
} | ||
|
||
.link { | ||
border-radius: 5px; | ||
box-shadow: var(--shadow); | ||
min-width: 20ch; | ||
padding: 0.5em 1em; | ||
text-align: center; | ||
} | ||
|
||
.link:hover, .link:focus { | ||
box-shadow: var(--inner-shadow); | ||
outline: none; | ||
} | ||
|
||
.link i { | ||
vertical-align: -13%; | ||
} |