Skip to content

Instantly share code, notes, and snippets.

@KaranVishnani
Created March 21, 2021 07:00
Show Gist options
  • Save KaranVishnani/b140cbc3eef2eb9afb2dfb6152fad41a to your computer and use it in GitHub Desktop.
Save KaranVishnani/b140cbc3eef2eb9afb2dfb6152fad41a to your computer and use it in GitHub Desktop.
Intro
<header class='masthead'>
<p class='masthead-intro'>Hi I'm</p>
<h1 class='masthead-heading'>Karan!</h1>
<p class= 'masthead-img-desc'></p>
</header>
<section class="introduction-section">
<h1>Introduction</h1>
<p>I am a Software developer.</p>
<p>I love the internet, technology, and building beautiful things.</p>
</section>
<footer class="content-footer">
<p>Say hi to me on these social networks:</p>
<ul class="social">
<li><a class="css-is-deranged" href="_INSERT_GITHUB_URL_HERE_">GitHub</a></li>
<li><a class="css-is-deranged" href="_INSERT_TWITTER_URL_HERE_">Twitter</a></li>
<li><a class="css-is-deranged" href="_INSERT_GOOGLE+_URL_HERE_">Google+</a></li>
</ul>
</footer>
body {
/* Typography Declarations */
color: #222222;
font-size: 1em;
font-family: "Open Sans", "Helvetica Neue", sans-serif;
}
.content-footer,
.masthead-heading,
.masthead-intro {
text-align: center;
}
.masthead {
padding: 6em 0;
background-image: url('https://i.imgur.com/yGmrlyg.jpg');
background-size: cover;
background-repeat: no-repeat;
border-top: solid 1em #FFCF33;
}
.masthead-intro {
/* Layout Declarations */
margin-bottom: 0.1em;
/* Typography Declarations */
font-family: "Gentium Book Basic", Georgia, serif;
font-size: 2em;
}
.masthead-heading {
/* Layout Declarations */
color: #F1C863;
margin-top: -0.2em;
/* Typography Declarations */
font-family: "Open Sans", "Helvetica Neue", sans-serif;
font-weight: bold;
font-size: 6em;
letter-spacing: -0.02em;
text-transform: uppercase;
}
.introduction-section,
.location-section,
.questions-section {
max-width: 38em;
margin-left: auto;
margin-right: auto;
margin-top: 2em;
}
.introduction-section > p,
.location-section > p,
.questions-section,
.content-footer > p {
/* Typography Declarations */
font-weight: 300;
letter-spacing: 0.05em;
}
.questions-section > h2 {
font-family: "Gentium Book Basic", Georgia, serif;
font-size: 1.2em;
font-weight: bold;
/* Layout */
margin: 2em 0 1em 0;
}
section > h1 {
margin-top: 2em;
}
.content-footer,
.masthead-heading,
.masthead-intro {
text-align: center;
}
.masthead {
padding: 6em 0;
background-image: url('https://i.imgur.com/yGmrlyg.jpg');
background-size: cover;
background-repeat: no-repeat;
border-top: solid 1em #FFCF33;
}
.masthead-intro {
margin-bottom: 0.1em;
font-family: "Gentium Book Basic", Georgia, serif;
font-size: 2em;
}
.masthead-heading {
margin-top: -0.2em;
font-family: "Open Sans", "Helvetica Neue", sans-serif;
font-weight: bold;
font-size: 6em;
letter-spacing: -0.02em;
text-transform: uppercase;
}
.introduction > p,
.location > p,
.content-footer > p {
/* Typography Declarations */
font-weight: 300;
letter-spacing: 0.05em;
}
h2 {
/* Typography Declarations */
font-family: "Gentium Book Basic", Georgia, serif;
font-size: 1.2em;
font-weight: bold;
}
.introduction-section,
.location-section,
.questions-section {
max-width: 38em;
margin-left: auto;
margin-right: auto;
margin-top: 2em;
}
.content-footer {
margin: 50px 0;
padding: 20px 0;
text-align: center;
background-color: #73A8C2;
text-decoration: none;
}
.social > li {
display: inline-block;
margin: 0 5px;
}
.content-footer > p {
color: #F7EDE1;
}
a {
font-weight: bold;
text-decoration: none;
color: #F1C863;
}
@media only screen and (max-width: 500px) {
.masthead {
padding: 3em 0;
}
.masthead-heading {
font-size: 3em;
}
.content-footer {
padding: 2em 2.5em;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment