CSS Fixes #8

Merged
rodude123 merged 2 commits from css-fixes into master 2021-09-02 22:40:41 +01:00
6 changed files with 34 additions and 7 deletions

2
dist/css/main.css vendored

File diff suppressed because one or more lines are too long

View File

@ -5,6 +5,7 @@ const cssMin = require("gulp-clean-css")
const terser = require("gulp-terser"); const terser = require("gulp-terser");
const ftp = require("vinyl-ftp"); const ftp = require("vinyl-ftp");
const env = require("gulp-env"); const env = require("gulp-env");
env({ env({
file: ".env", file: ".env",
type: ".ini" type: ".ini"

View File

@ -0,0 +1,7 @@
section#about {
margin-bottom: 5rem;
}
section#about div {
padding: 0.1em 5em;
}

View File

@ -30,10 +30,17 @@ section#curriculumvitae .timeline {
gap: 1em; gap: 1em;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin: 0 auto;
height: 100%; height: 100%;
} }
/*section#curriculumvitae .timeline#edu {
margin: 0 auto;
}
section#curriculumvitae .timeline#work {
margin-left: auto;
}*/
section#curriculumvitae #work { section#curriculumvitae #work {
margin: 0 auto 0 8rem; margin: 0 auto 0 8rem;
} }

View File

@ -4,7 +4,8 @@
/*local imports*/ /*local imports*/
@import "nav.css"; @import "nav.css";
@import "about.css"; @import "about.css";
@import "cv.css";
@import "mediaQueries.css";
/****** Root Style ******/ /****** Root Style ******/
:root { :root {

View File

@ -17,6 +17,7 @@
<a href="/"> <a href="/">
<h1>rohit pai</h1> <h1>rohit pai</h1>
</a> </a>
<div class="nav-btn"> <div class="nav-btn">
<label for="nav-check"> <label for="nav-check">
<span></span> <span></span>
@ -24,6 +25,7 @@
<span></span> <span></span>
</label> </label>
</div> </div>
<ul> <ul>
<li><a href="#about" class="textShadow active"><span>&lt;</span>about<span>&gt;</span></a></li> <li><a href="#about" class="textShadow active"><span>&lt;</span>about<span>&gt;</span></a></li>
<li><a href="#curriculumvitae" class="textShadow"><span>&lt;</span>cv<span>&gt;</span></a></li> <li><a href="#curriculumvitae" class="textShadow"><span>&lt;</span>cv<span>&gt;</span></a></li>
@ -32,12 +34,14 @@
<li><a href="#" class="textShadow"><span>&lt;</span>blog<span>&gt;</span></a></li> <li><a href="#" class="textShadow"><span>&lt;</span>blog<span>&gt;</span></a></li>
</ul> </ul>
</nav> </nav>
<div> <div>
<h1>full stack developer</h1> <h1>full stack developer</h1>
<a href="" class="btn btnPrimary boxShadowIn boxShadowOut">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>
<main> <main>
<section id="about"> <section id="about">
<h1>about</h1> <h1>about</h1>
@ -52,6 +56,7 @@
<a href="other/rohitpaicv.pdf" class="btn btnOutline boxShadowIn boxShadowOut" download>Download CV</a> <a href="other/rohitpaicv.pdf" class="btn btnOutline boxShadowIn boxShadowOut" download>Download CV</a>
</div> </div>
</section> </section>
<section id="curriculumvitae"> <section id="curriculumvitae">
<h1>curriculum vitae</h1> <h1>curriculum vitae</h1>
<div class="cvGrid"> <div class="cvGrid">
@ -68,6 +73,7 @@
</div> </div>
</div> </div>
</section> </section>
<section id="projects"> <section id="projects">
<div class="mainProj"> <div class="mainProj">
<h1>project title to be generated</h1> <h1>project title to be generated</h1>
@ -83,9 +89,11 @@
</div> </div>
</div> </div>
</div> </div>
<div class="otherProj"> <div class="otherProj">
<h1>other projects</h1> <h1>other projects</h1>
<div class="oProjGrid"><img src="" alt=""> <div class="oProjGrid">
<img src="" alt="">
<div class="flexCol"> <div class="flexCol">
<div> <div>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Velit, voluptates.</p> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Velit, voluptates.</p>
@ -96,7 +104,8 @@
</div> </div>
</div> </div>
</div> </div>
<div class="oProjGrid"><img src="" alt=""> <div class="oProjGrid">
<img src="" alt="">
<div class="flexCol"> <div class="flexCol">
<div> <div>
<p>Adipisci aspernatur consectetur debitis fugiat minus mollitia rem ullam, voluptate.</p> <p>Adipisci aspernatur consectetur debitis fugiat minus mollitia rem ullam, voluptate.</p>
@ -107,7 +116,8 @@
</div> </div>
</div> </div>
</div> </div>
<div class="oProjGrid"><img src="" alt=""> <div class="oProjGrid">
<img src="" alt="">
<div class="flexCol"> <div class="flexCol">
<div> <div>
<p>Beatae culpa distinctio dolorum eius et fugit optio reiciendis soluta!</p> <p>Beatae culpa distinctio dolorum eius et fugit optio reiciendis soluta!</p>
@ -118,7 +128,8 @@
</div> </div>
</div> </div>
</div> </div>
<a href="" class="btn btnPrimary boxShadowIn boxShadowOut"></a></div> <a href="" class="btn btnPrimary boxShadowIn boxShadowOut"></a>
</div>
</section> </section>
<section id="contact"> <section id="contact">
<div id="findme"> <div id="findme">