Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a new theme and extras #37

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: 77 additions & 57 deletions css/styles.css
Original file line number Diff line number Diff line change
@@ -1,75 +1,95 @@
/* Typography */

*,
html {
font-family: 'Roboto', sans-serif;
box-sizing: border-box;
}

@media (min-width: 576px) {
html {
font-size: 14px;
}
}
@media (min-width: 0) {
/* Styles for the main container */
main {
min-height: 100vh;

@media (min-width: 768px) {
html {
font-size: 16px;
}
}
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
padding: 0 5%;
}

@media (min-width: 992px) {
html {
font-size: 18px;
}
}
p {
font-family: "Lato", sans-serif;
}

@media (min-width: 1200px) {
html {
font-size: 20px;
}
}
/* Typography styles */

.icons-social i {
font-size: 3em;
}
.intro {
font-family: "Reem Kufi", sans-serif;
font-size: 10vw;
font-weight: 600;
}

/* Custom Styles */
.tagline {
display: flex;
justify-content: center;
gap: 1rem;
font-size: 3.5vw;
margin: 1.5rem 0;
font-weight: 100;
}

main {
display: flex;
flex-direction: column;
min-height: 100vh;
justify-content: center;
padding: 0 30px;
text-align: center;
}
/* Icons styles */

main > .intro {
font-family: 'Reem Kufi', sans-serif;
font-size: 3.75em;
font-weight: 600;
}
.icons-social i {
font-size: 3em;
}

main > .tagline {
font-size: 1.5rem;
margin: 1.5rem 0;
font-weight: 100;
}
.icons-social i {
padding: 0 0.2rem;
margin: 0 0.5rem;
transition: 350ms ease-in-out;
}

.icons-social i {
padding: 10px;
.icons-social i:hover {
translate: 0 -0.25rem;
}

.icons-social a {
text-decoration: none;
}
}

.icons-social a {
text-decoration: none;
@media (min-width: 768px) {
/* Typography styles */

.intro {
font-size: 5rem;
}

.tagline {
font-size: 2rem;
}
}

.devto {
margin-bottom: -0.20rem;
@media (min-width: 1440px) {
/* Typography styles */

.intro {
font-size: 6.5vw;
}

.tagline {
font-size: 1.5vw;
}
}

.devto svg {
margin-bottom: -0.20rem;
margin-left: 0.675rem;;
width: 2.65rem;
height: 2.65rem;
}
@media (min-width: 2400px) {
/* Typography styles */

.intro {
font-size: 6vw;
}

/* Icons styles */
.icons-social i {
font-size: 4em;
}
}
19 changes: 19 additions & 0 deletions css/themes/black-peach.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/* Theme */

main {
background: #000a01;
color: #ffa372;
}

.icons-social a {
color: #ffa372;
}

.tagline p {
font-style: italic;
color: #ffffff;
}

.icons-social i:hover {
color: #ffffff;
}
143 changes: 78 additions & 65 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,71 +1,84 @@
<!DOCTYPE html>
<html>
<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">
<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>Dinesh Pandiyan | Awesome Dev</title>
<title>Dinesh Pandiyan | Awesome Dev</title>

<link rel="icon" href="favicon.ico" type="image/png" />
<link rel="icon" href="favicon.ico" type="image/png" />

<link href="https://fonts.googleapis.com/css?family=Reem+Kufi|Roboto:300" rel="stylesheet">
<link href="https://use.fontawesome.com/releases/v5.13.1/css/all.css" rel="stylesheet">
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="css/themes/indigo-white.css">
<!-- <link rel="stylesheet" href="css/themes/green-white.css"> -->
<!-- <link rel="stylesheet" href="css/themes/red-white.css"> -->
<!-- <link rel="stylesheet" href="css/themes/grey-white.css"> -->
<!-- <link rel="stylesheet" href="css/themes/white-indigo.css"> -->
<!-- <link rel="stylesheet" href="css/themes/white-blue.css"> -->
<!-- <link rel="stylesheet" href="css/themes/white-grey.css"> -->
<!-- <link rel="stylesheet" href="css/themes/white-red.css"> -->
<!-- <link rel="stylesheet" href="css/themes/yellow-black.css"> -->
</head>
<body>
<main>
<div class="intro">Hello, I'm Dinesh!</div>
<div class="tagline">All-Star Dev | Code Fanatic | Linux Hacker | Bleh</div>
<!-- Find your icons from here - https://fontawesome.com/icons?d=gallery&s=brands -->
<div class="icons-social">
<a target="_blank" href="https://github.com/flexdinesh">
<i class="fab fa-github" aria-hidden="true" title="Github"></i>
<span class="sr-only">Github</span>
</a>
<a target="_blank" href="https://twitter.com/flexdinesh">
<i class="fab fa-twitter" aria-hidden="true" title="Twitter"></i>
<span class="sr-only">Twitter</span>
</a>
<a target="_blank" href="https://dev.to/flexdinesh">
<i class="fab fa-dev" aria-hidden="true" title="DEV Community"></i>
<span class="sr-only">DEV Community</span>
</a>
<a target="_blank" href="https://stackoverflow.com/story/flexdinesh">
<i class="fab fa-stack-overflow" aria-hidden="true" title="StackOverflow"></i>
<span class="sr-only">StackOverflow</span>
</a>
<a target="_blank" href="https://www.linkedin.com/in/dineshpandiyan">
<i class="fab fa-linkedin" aria-hidden="true" title="LinkedIn"></i>
<span class="sr-only">LinkedIn</span>
</a>
<a target="_blank" href="https://medium.com/@flexdinesh">
<i class="fab fa-medium" aria-hidden="true" title="Medium"></i>
<span class="sr-only">Medium</span>
</a>
<a target="_blank" href="https://www.freecodecamp.org">
<i class="fab fa-free-code-camp" aria-hidden="true" title="FreeCodeCamp"></i>
<span class="sr-only">FreeCodeCamp</span>
</a>
<a target="_blank" href="https://www.behance.net">
<i class="fab fa-behance" aria-hidden="true" title="Behance"></i>
<span class="sr-only">Behance</span>
</a>
<a target="_blank" href="https://codepen.io">
<i class="fab fa-codepen" aria-hidden="true" title="CodePen"></i>
<span class="sr-only">CodePen</span>
</a>
</div>
</main>
</body>
<!-- linking fonts -->
<link
href="https://fonts.googleapis.com/css?family=Reem+Kufi|Roboto:300"
rel="stylesheet"
/>

<link
href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@1,300&display=swap"
rel="stylesheet"
/>

<!-- linking icons -->
<link
href="https://use.fontawesome.com/releases/v5.13.1/css/all.css"
rel="stylesheet"
/>
<link rel="stylesheet" href="css/reset.css" />
<link rel="stylesheet" href="css/styles.css" />
<!-- <link rel="stylesheet" href="css/themes/indigo-white.css"> -->
<!-- <link rel="stylesheet" href="css/themes/green-white.css"> -->
<!-- <link rel="stylesheet" href="css/themes/red-white.css"> -->
<!-- <link rel="stylesheet" href="css/themes/grey-white.css"> -->
<!-- <link rel="stylesheet" href="css/themes/white-indigo.css"> -->
<!-- <link rel="stylesheet" href="css/themes/white-blue.css"> -->
<!-- <link rel="stylesheet" href="css/themes/white-grey.css"> -->
<!-- <link rel="stylesheet" href="css/themes/white-red.css"> -->
<!-- <link rel="stylesheet" href="css/themes/yellow-black.css" /> -->
<link rel="stylesheet" href="css/themes/black-peach.css" />
</head>
<body>
<main>
<div class="intro">Hello, I'm Dinesh!</div>
<div class="tagline">
<p>All-Star Dev</p>
|
<p>Code Fanatic</p>
|
<p>Linux Hacker</p>
</div>
<!-- Find your icons from here - https://fontawesome.com/icons?d=gallery&s=brands -->
<div class="icons-social">
<a target="_blank" href="https://github.com/flexdinesh">
<i class="fab fa-github" aria-hidden="true" title="Github"></i>
<span class="sr-only">Github</span>
</a>
<a target="_blank" href="https://dev.to/flexdinesh">
<i class="fab fa-dev" aria-hidden="true" title="DEV Community"></i>
<span class="sr-only">DEV Community</span>
</a>
<a target="_blank" href="https://www.linkedin.com/in/dineshpandiyan">
<i class="fab fa-linkedin" aria-hidden="true" title="LinkedIn"></i>
<span class="sr-only">LinkedIn</span>
</a>
<a target="_blank" href="https://medium.com/@flexdinesh">
<i class="fab fa-medium" aria-hidden="true" title="Medium"></i>
<span class="sr-only">Medium</span>
</a>
<a target="_blank" href="https://stackoverflow.com/story/flexdinesh">
<i
class="fab fa-stack-overflow"
aria-hidden="true"
title="StackOverflow"
></i>
<span class="sr-only">StackOverflow</span>
</a>
<a target="_blank" href="https://twitter.com/flexdinesh">
<i class="fab fa-twitter" aria-hidden="true" title="Twitter"></i>
<span class="sr-only">Twitter</span>
</a>
</div>
</main>
</body>
</html>