Started work on off canvas navigation and standardized a few properties
This commit is contained in:
parent
447cc814e9
commit
50ab7f40be
2
dist/css/main.css
vendored
2
dist/css/main.css
vendored
@ -1 +1 @@
|
|||||||
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--primaryDefault:hsla(79, 62%, 51%, 1);--primaryHover:hsla(79, 75%, 41%, 1);--errorDefault:hsla(0, 62%, 51%, 1);--grey:hsla(0, 0%, 39%, 1);--mutedGrey:hsla(0, 0%, 67%, 0.58);--titleFS:2.25rem;--generalFS:1.125rem;--headingFS:1.5rem}a:visited{color:inherit}h1,nav{font-family:Share Tech Mono,monospace;font-style:normal;font-weight:400;font-size:2.25rem;line-height:2.5625rem;text-transform:lowercase}h2{font-family:Noto Sans KR,sans-serif;font-style:normal;font-weight:500;font-size:1.5rem;line-height:2.1875rem}a.btn,form input[type=submit]{text-decoration:none;display:inline-block;padding:1rem 2rem;border-radius:10px}a.btnPrimary,form input[type=submit]{background:var(--primaryDefault);color:#fff;border:5px solid var(--primaryDefault);cursor:pointer}a.btnOutline{background:#fff;color:var(--primaryDefault);border:5px solid var(--primaryDefault)}a.btnPrimary:hover,form input[type=submit]:hover{background:var(--primaryHover);box-shadow:0 6px 4px 0 hsla(0,0%,0%,.25);border:5px solid var(--primaryHover)}a.btnOutline:hover{box-shadow:0 6px 4px 0 hsla(0,0%,0%,.25);border:5px solid var(--primaryHover)}a.btn:active,form input[type=submit]:active{box-shadow:inset 0 6px 4px 0 hsla(0,0%,0%,.25);padding:.8rem 1.8rem}body{font-family:Noto Sans KR,sans-serif;font-style:normal;font-weight:500;font-size:18px;line-height:1.625rem}header{background:url(../imgs/hero.jpg) bottom left;background-position-y:700px;background-size:cover;height:40%;color:#fff;backdrop-filter:grayscale(100%)}nav{display:flex;flex-direction:row;justify-content:space-between;padding:.25em}nav h1{margin:0}nav a{text-decoration:none}nav ul{display:flex;flex-direction:row;gap:1em;margin:0;justify-content:right;align-items:flex-end}nav ul li{list-style:none}nav ul li a.active,nav ul li:hover a::before{content:'<'}nav ul li a.active,nav ul li:hover a::after{content:'>'}header div{display:flex;flex-direction:column;justify-content:center;align-items:center;padding-top:10em}header div .btn{margin:2em 0}header div button{background:0 0;border:none;display:inline-block;text-align:center;text-decoration:none;font-size:2rem;cursor:pointer}i.fa-chevron-down{color:var(--mutedGrey);font-size:3.75em;margin:1.5rem 0}
|
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--primaryDefault:hsla(79, 62%, 51%, 1);--primaryHover:hsla(79, 75%, 41%, 1);--errorDefault:hsla(0, 62%, 51%, 1);--grey:hsla(0, 0%, 39%, 1);--mutedGrey:hsla(0, 0%, 67%, 0.58);--titleFS:2.25rem;--generalFS:1.125rem;--headingFS:1.5rem}a:visited{color:inherit}h1,nav{font-family:Share Tech Mono,monospace;font-style:normal;font-weight:400;font-size:2.25rem;line-height:2.5625rem;text-transform:lowercase}h2{font-family:Noto Sans KR,sans-serif;font-style:normal;font-weight:500;font-size:1.5rem;line-height:2.1875rem}a.btn,form input[type=submit]{text-decoration:none;display:inline-block;padding:1rem 2rem;border-radius:.625em;border:.3215em solid var(--primaryDefault);color:#fff}a.btn:hover{border:.3215em solid var(--primaryHover)}a.btnPrimary,form input[type=submit]{background:var(--primaryDefault);cursor:pointer}a.btnOutline{background:#fff;color:var(--primaryDefault)}a.btnPrimary:hover,form input[type=submit]:hover{background:var(--primaryHover)}a.btn:active,form input[type=submit]:active{padding:.8rem 1.8rem}.boxShadowOut:hover{box-shadow:0 6px 4px 0 hsla(0,0%,0%,.25)}.boxShadowIn:active{box-shadow:inset 0 6px 4px 0 hsla(0,0%,0%,.25)}.textShadow:hover{text-shadow:0 6px 4px hsla(0,0%,0%,.25)}body{font-family:Noto Sans KR,sans-serif;font-style:normal;font-weight:500;font-size:1.125rem;line-height:1.625rem}header{background:url(../imgs/hero.jpg) no-repeat bottom;background-size:cover;height:40%;color:#fff;backdrop-filter:grayscale(100%);position:relative}nav{display:flex;flex-direction:row;justify-content:space-between;padding:.25em}nav h1{margin:0}nav a{text-decoration:none;color:#fff}nav ul{display:flex;flex-direction:row;gap:1em;margin:0;justify-content:right;align-items:flex-end}nav ul li{list-style:none}nav ul li span{visibility:hidden}nav ul li a:hover>span{visibility:visible}header div{display:flex;flex-direction:column;justify-content:center;align-items:center;padding-top:10em}header div .btn{margin:2em 0}header div button{background:0 0;border:none;display:inline-block;text-align:center;text-decoration:none;font-size:2rem;cursor:pointer}i.fa-chevron-down{color:var(--mutedGrey);font-size:3.75em;margin:1.5rem 0}@media screen and (max-width:75em){nav{flex-direction:column;justify-content:left;align-items:end;gap:1em}nav ul{flex-direction:column;padding:0}}
|
2
dist/index.html
vendored
2
dist/index.html
vendored
@ -1 +1 @@
|
|||||||
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>Document</title><link rel="stylesheet" href="css/main.css"><script src="https://kit.fontawesome.com/ed3c25598e.js" crossorigin="anonymous"></script></head><body><header><nav><a href="/"><h1>rohit pai</h1></a><ul><li><a href="#about">about</a></li><li><a href="#curiculumvitae">cv</a></li><li><a href="#projects">projects</a></li><li><a href="#contact">contact</a></li><li><a href="#">blog</a></li></ul></nav><div><h1>full stack developer_</h1><a href="" class="btn btnPrimary">Contact Me</a> <a href="#about"><i class="fas fa-chevron-down"></i></a></div></header><main><div id="about"><h1>about</h1><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Beatae debitis dolore, illum minus molestias officiis quidem similique ut. Autem consectetur eum, fugit illum ipsam laudantium magnam magni minima nesciunt numquam officia, soluta unde, voluptates! Aliquid aut, beatae dignissimos, dolorem ex exercitationem fugiat harum itaque laudantium placeat repellat suscipit velit! Aliquam architecto autem beatae consectetur, dicta dolorum eligendi esse harum hic iure labore, libero molestias nemo neque nisi nostrum odio sed sunt tempora totam voluptatem voluptatibus.</p><a href="other/rohitpaicv.pdf" class="btn btnPrimary" download="">Download CV</a></div><div id="curiculumvitae"><h1>curriculum vitae</h1><div class="cvGrid"><div><h2>Education</h2><div>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Autem ipsum nobis officia sequi. Beatae hic molestiae quibusdam repellendus vero voluptatem!</div></div><div><h2>Work</h2><div>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aliquid aperiam atque blanditiis doloribus labore minima odio recusandae tempore. Totam, ut!</div></div></div></div><div id="projects"><div class="mainProj"><h1>project title to be generated</h1><div><img src="" alt=""><div class="flexRow"><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus dolorem dolores esse itaque iure iusto libero molestias nobis nostrum placeat praesentium quia quo reprehenderit, repudiandae.</p><div class="flexCol"><a href="" class="btn btnPrimary">testing</a> <a href="" class="btn btnOutline">testing</a></div></div></div></div><div class="otherProj"><h1>other projects</h1><div class="oProjGrid"><img src="" alt=""><div class="flexCol"><div><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Velit, voluptates.</p></div><div><a href="" class="btn btnPrimary"></a> <a href="" class="btn btnOutline"></a></div></div></div><div class="oProjGrid"><img src="" alt=""><div class="flexCol"><div><p>Adipisci aspernatur consectetur debitis fugiat minus mollitia rem ullam, voluptate.</p></div><div><a href="" class="btn btnPrimary"></a> <a href="" class="btn btnOutline"></a></div></div></div><div class="oProjGrid"><img src="" alt=""><div class="flexCol"><div><p>Beatae culpa distinctio dolorum eius et fugit optio reiciendis soluta!</p></div><div><a href="" class="btn btnPrimary"></a> <a href="" class="btn btnOutline"></a></div></div></div><a href="" class="btn btnPrimary"></a></div></div><div id="contact"><div id="findme"><h1>find me</h1><div class="flexRow socialIcons"><div><a href=""><img src="" alt=""></a><a href=""><img src="" alt=""></a><a href=""><img src="" alt=""></a></div><div><a href=""><img src="" alt=""></a><a href=""><img src="" alt=""></a><a href=""><img src="" alt=""></a></div></div><img src="" alt="" class="profile"></div><div id="sayhello"><h1>say hello</h1><form action="" id="contactForm"><div class="flName"><div class="formControl"><label for="fName">First Name</label> <input type="text" name="fName" id="fName"></div><div class="formControl"><label for="lName">Last Name</label> <input type="text" name="lName" id="lName"></div></div><div class="formControl"><label for="email">Email</label> <input type="email" id="email" name="email"></div><div class="formControl"><label for="message">Message</label> <textarea name="message" id="message" cols="30" rows="10"></textarea></div><input type="submit" class="btn btnPrimary" value="Say Hello"></form></div></div><footer class="flexRow"><p>© 2021 Rohit Pai all rights reserved</p><button class="goBackToTop"></button></footer></main></body></html>
|
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>Document</title><link rel="stylesheet" href="css/main.css"><script src="https://kit.fontawesome.com/ed3c25598e.js" crossorigin="anonymous"></script></head><body><header><nav><a href="/"><h1>rohit pai</h1></a><ul><li><a href="#about" class="textShadow"><span><</span>about<span>></span></a></li><li><a href="#curiculumvitae" class="textShadow"><span><</span>cv<span>></span></a></li><li><a href="#projects" class="textShadow"><span><</span>projects<span>></span></a></li><li><a href="#contact" class="textShadow"><span><</span>contact<span>></span></a></li><li><a href="#" class="textShadow"><span><</span>blog<span>></span></a></li></ul></nav><div><h1>full stack developer_</h1><a href="" class="btn btnPrimary boxShadowIn boxShadowOut">Contact Me</a> <a href="#about"><i class="fas fa-chevron-down"></i></a></div></header><main><div id="about"><h1>about</h1><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Beatae debitis dolore, illum minus molestias officiis quidem similique ut. Autem consectetur eum, fugit illum ipsam laudantium magnam magni minima nesciunt numquam officia, soluta unde, voluptates! Aliquid aut, beatae dignissimos, dolorem ex exercitationem fugiat harum itaque laudantium placeat repellat suscipit velit! Aliquam architecto autem beatae consectetur, dicta dolorum eligendi esse harum hic iure labore, libero molestias nemo neque nisi nostrum odio sed sunt tempora totam voluptatem voluptatibus.</p><a href="other/rohitpaicv.pdf" class="btn btnPrimary boxShadowIn boxShadowOut" download="">Download CV</a></div><div id="curiculumvitae"><h1>curriculum vitae</h1><div class="cvGrid"><div><h2>Education</h2><div>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Autem ipsum nobis officia sequi. Beatae hic molestiae quibusdam repellendus vero voluptatem!</div></div><div><h2>Work</h2><div>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aliquid aperiam atque blanditiis doloribus labore minima odio recusandae tempore. Totam, ut!</div></div></div></div><div id="projects"><div class="mainProj"><h1>project title to be generated</h1><div><img src="" alt=""><div class="flexRow"><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus dolorem dolores esse itaque iure iusto libero molestias nobis nostrum placeat praesentium quia quo reprehenderit, repudiandae.</p><div class="flexCol"><a href="" class="btn btnPrimary boxShadowIn boxShadowOut">testing</a> <a href="" class="btn btnOutline boxShadowIn boxShadowOut">testing</a></div></div></div></div><div class="otherProj"><h1>other projects</h1><div class="oProjGrid"><img src="" alt=""><div class="flexCol"><div><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Velit, voluptates.</p></div><div><a href="" class="btn btnPrimary boxShadowIn boxShadowOut"></a> <a href="" class="btn btnOutline boxShadowIn boxShadowOut"></a></div></div></div><div class="oProjGrid"><img src="" alt=""><div class="flexCol"><div><p>Adipisci aspernatur consectetur debitis fugiat minus mollitia rem ullam, voluptate.</p></div><div><a href="" class="btn btnPrimary boxShadowIn boxShadowOut"></a> <a href="" class="btn btnOutline boxShadowIn boxShadowOut"></a></div></div></div><div class="oProjGrid"><img src="" alt=""><div class="flexCol"><div><p>Beatae culpa distinctio dolorum eius et fugit optio reiciendis soluta!</p></div><div><a href="" class="btn btnPrimary boxShadowIn boxShadowOut"></a> <a href="" class="btn btnOutline boxShadowIn boxShadowOut"></a></div></div></div><a href="" class="btn btnPrimary boxShadowIn boxShadowOut"></a></div></div><div id="contact"><div id="findme"><h1>find me</h1><div class="flexRow socialIcons"><div><a href=""><img src="" alt=""></a><a href=""><img src="" alt=""></a><a href=""><img src="" alt=""></a></div><div><a href=""><img src="" alt=""></a><a href=""><img src="" alt=""></a><a href=""><img src="" alt=""></a></div></div><img src="" alt="" class="profile"></div><div id="sayhello"><h1>say hello</h1><form action="" id="contactForm"><div class="flName"><div class="formControl"><label for="fName">First Name</label> <input type="text" name="fName" id="fName"></div><div class="formControl"><label for="lName">Last Name</label> <input type="text" name="lName" id="lName"></div></div><div class="formControl"><label for="email">Email</label> <input type="email" id="email" name="email"></div><div class="formControl"><label for="message">Message</label> <textarea name="message" id="message" cols="30" rows="10"></textarea></div><input type="submit" class="btn btnPrimary boxShadowIn boxShadowOut" value="Say Hello"></form></div></div><footer class="flexRow"><p>© 2021 Rohit Pai all rights reserved</p><button class="goBackToTop"></button></footer></main></body></html>
|
@ -17,7 +17,7 @@
|
|||||||
--headingFS: 1.5rem;
|
--headingFS: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*** Standard Styles ****/
|
/*** Template Styles ****/
|
||||||
|
|
||||||
a:visited{
|
a:visited{
|
||||||
color: inherit;
|
color: inherit;
|
||||||
@ -44,52 +44,63 @@ a.btn, form input[type="submit"]{
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 1rem 2rem;
|
padding: 1rem 2rem;
|
||||||
border-radius: 10px;
|
border-radius: 0.625em;
|
||||||
|
border: 0.3215em solid var(--primaryDefault);
|
||||||
|
color: #FFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.btn:hover{
|
||||||
|
border: 0.3215em solid var(--primaryHover);
|
||||||
|
}
|
||||||
|
|
||||||
a.btnPrimary, form input[type="submit"]{
|
a.btnPrimary, form input[type="submit"]{
|
||||||
background: var(--primaryDefault);
|
background: var(--primaryDefault);
|
||||||
color: #FFFFFF;
|
|
||||||
border: 5px solid var(--primaryDefault);
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.btnOutline{
|
a.btnOutline{
|
||||||
background: #FFFFFF;
|
background: #FFFFFF;
|
||||||
color: var(--primaryDefault);
|
color: var(--primaryDefault);
|
||||||
border: 5px solid var(--primaryDefault)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a.btnPrimary:hover, form input[type="submit"]:hover{
|
a.btnPrimary:hover, form input[type="submit"]:hover{
|
||||||
background: var(--primaryHover);
|
background: var(--primaryHover);
|
||||||
box-shadow: 0 6px 4px 0 hsla(0, 0%, 0%, 0.25);
|
|
||||||
border: 5px solid var(--primaryHover);
|
|
||||||
}
|
|
||||||
|
|
||||||
a.btnOutline:hover{
|
|
||||||
box-shadow: 0 6px 4px 0 hsla(0, 0%, 0%, 0.25);
|
|
||||||
border: 5px solid var(--primaryHover);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a.btn:active, form input[type="submit"]:active{
|
a.btn:active, form input[type="submit"]:active{
|
||||||
box-shadow: inset 0 6px 4px 0 hsla(0, 0%, 0%, 0.25);
|
|
||||||
padding: 0.8rem 1.8rem;
|
padding: 0.8rem 1.8rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.boxShadowOut:hover{
|
||||||
|
box-shadow: 0 6px 4px 0 hsla(0, 0%, 0%, 0.25);
|
||||||
|
}
|
||||||
|
|
||||||
|
.boxShadowIn:active{
|
||||||
|
box-shadow: inset 0 6px 4px 0 hsla(0, 0%, 0%, 0.25);
|
||||||
|
}
|
||||||
|
|
||||||
|
.textShadow:hover{
|
||||||
|
text-shadow: 0 6px 4px hsla(0, 0%, 0%, 0.25);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*** Standard Styles ****/
|
||||||
|
|
||||||
body{
|
body{
|
||||||
font-family: Noto Sans KR, sans-serif;
|
font-family: Noto Sans KR, sans-serif;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-size: 18px;
|
font-size: 1.125rem;
|
||||||
line-height: 1.625rem;
|
line-height: 1.625rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
header{
|
header{
|
||||||
background: url("../imgs/hero.jpg") bottom left;
|
background: url("../imgs/hero.jpg") no-repeat bottom;
|
||||||
background-position-y: 700px;
|
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
height: 40%;
|
height: 40%;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
backdrop-filter: grayscale(100%);
|
backdrop-filter: grayscale(100%);
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav{
|
nav{
|
||||||
@ -105,6 +116,7 @@ nav h1 {
|
|||||||
|
|
||||||
nav a{
|
nav a{
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
color: #FFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav ul {
|
nav ul {
|
||||||
@ -120,12 +132,12 @@ nav ul li {
|
|||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav ul li:hover a::before, nav ul li a.active{
|
nav ul li span{
|
||||||
content: '<';
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav ul li:hover a::after, nav ul li a.active{
|
nav ul li a:hover > span{
|
||||||
content: '>';
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
header div{
|
header div{
|
||||||
@ -155,3 +167,18 @@ i.fa-chevron-down{
|
|||||||
font-size: 3.75em;
|
font-size: 3.75em;
|
||||||
margin: 1.5rem 0;
|
margin: 1.5rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@media screen and (max-width: 75em) {
|
||||||
|
nav{
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: left;
|
||||||
|
align-items: end;
|
||||||
|
gap: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
nav ul{
|
||||||
|
flex-direction: column;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -16,16 +16,16 @@
|
|||||||
<h1>rohit pai</h1>
|
<h1>rohit pai</h1>
|
||||||
</a>
|
</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#about">about</a></li>
|
<li><a href="#about" class="textShadow"><span><</span>about<span>></span></a></li>
|
||||||
<li><a href="#curiculumvitae">cv</a></li>
|
<li><a href="#curiculumvitae" class="textShadow"><span><</span>cv<span>></span></a></li>
|
||||||
<li><a href="#projects">projects</a></li>
|
<li><a href="#projects" class="textShadow"><span><</span>projects<span>></span></a></li>
|
||||||
<li><a href="#contact">contact</a></li>
|
<li><a href="#contact" class="textShadow"><span><</span>contact<span>></span></a></li>
|
||||||
<li><a href="#">blog</a></li>
|
<li><a href="#" class="textShadow"><span><</span>blog<span>></span></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
<div>
|
<div>
|
||||||
<h1>full stack developer_</h1>
|
<h1>full stack developer_</h1>
|
||||||
<a href="" class="btn btnPrimary">Contact Me</a>
|
<a href="" class="btn btnPrimary boxShadowIn boxShadowOut">Contact Me</a>
|
||||||
<a href="#about"><i class="fas fa-chevron-down"></i></a>
|
<a href="#about"><i class="fas fa-chevron-down"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
@ -38,7 +38,7 @@
|
|||||||
exercitationem fugiat harum itaque laudantium placeat repellat suscipit velit! Aliquam architecto autem
|
exercitationem fugiat harum itaque laudantium placeat repellat suscipit velit! Aliquam architecto autem
|
||||||
beatae consectetur, dicta dolorum eligendi esse harum hic iure labore, libero molestias nemo neque nisi
|
beatae consectetur, dicta dolorum eligendi esse harum hic iure labore, libero molestias nemo neque nisi
|
||||||
nostrum odio sed sunt tempora totam voluptatem voluptatibus.</p>
|
nostrum odio sed sunt tempora totam voluptatem voluptatibus.</p>
|
||||||
<a href="other/rohitpaicv.pdf" class="btn btnPrimary" download="">Download CV</a></div>
|
<a href="other/rohitpaicv.pdf" class="btn btnPrimary boxShadowIn boxShadowOut" download="">Download CV</a></div>
|
||||||
<div id="curiculumvitae">
|
<div id="curiculumvitae">
|
||||||
<h1>curriculum vitae</h1>
|
<h1>curriculum vitae</h1>
|
||||||
<div class="cvGrid">
|
<div class="cvGrid">
|
||||||
@ -61,8 +61,8 @@
|
|||||||
iure iusto libero molestias nobis nostrum placeat praesentium quia quo reprehenderit,
|
iure iusto libero molestias nobis nostrum placeat praesentium quia quo reprehenderit,
|
||||||
repudiandae.</p>
|
repudiandae.</p>
|
||||||
<div class="flexCol">
|
<div class="flexCol">
|
||||||
<a href="" class="btn btnPrimary">testing</a>
|
<a href="" class="btn btnPrimary boxShadowIn boxShadowOut">testing</a>
|
||||||
<a href="" class="btn btnOutline">testing</a>
|
<a href="" class="btn btnOutline boxShadowIn boxShadowOut">testing</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -75,8 +75,8 @@
|
|||||||
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Velit, voluptates.</p>
|
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Velit, voluptates.</p>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<a href="" class="btn btnPrimary"></a>
|
<a href="" class="btn btnPrimary boxShadowIn boxShadowOut"></a>
|
||||||
<a href="" class="btn btnOutline"></a>
|
<a href="" class="btn btnOutline boxShadowIn boxShadowOut"></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -86,8 +86,8 @@
|
|||||||
<p>Adipisci aspernatur consectetur debitis fugiat minus mollitia rem ullam, voluptate.</p>
|
<p>Adipisci aspernatur consectetur debitis fugiat minus mollitia rem ullam, voluptate.</p>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<a href="" class="btn btnPrimary"></a>
|
<a href="" class="btn btnPrimary boxShadowIn boxShadowOut"></a>
|
||||||
<a href="" class="btn btnOutline"></a>
|
<a href="" class="btn btnOutline boxShadowIn boxShadowOut"></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -97,12 +97,12 @@
|
|||||||
<p>Beatae culpa distinctio dolorum eius et fugit optio reiciendis soluta!</p>
|
<p>Beatae culpa distinctio dolorum eius et fugit optio reiciendis soluta!</p>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<a href="" class="btn btnPrimary"></a>
|
<a href="" class="btn btnPrimary boxShadowIn boxShadowOut"></a>
|
||||||
<a href="" class="btn btnOutline"></a>
|
<a href="" class="btn btnOutline boxShadowIn boxShadowOut"></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<a href="" class="btn btnPrimary"></a></div>
|
<a href="" class="btn btnPrimary boxShadowIn boxShadowOut"></a></div>
|
||||||
</div>
|
</div>
|
||||||
<div id="contact">
|
<div id="contact">
|
||||||
<div id="findme">
|
<div id="findme">
|
||||||
@ -141,7 +141,7 @@
|
|||||||
<div class="formControl">
|
<div class="formControl">
|
||||||
<label for="message">Message</label>
|
<label for="message">Message</label>
|
||||||
<textarea name="message" id="message" cols="30" rows="10"></textarea></div>
|
<textarea name="message" id="message" cols="30" rows="10"></textarea></div>
|
||||||
<input type="submit" class="btn btnPrimary" value="Say Hello">
|
<input type="submit" class="btn btnPrimary boxShadowIn boxShadowOut" value="Say Hello">
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user