Added gulp for build automation

Next up: skills as "more" under "about me"
This commit is contained in:
Chuck Dries 2017-03-20 00:59:23 -07:00
parent a7e9ed42b0
commit 6e2c0428bb
9 changed files with 66 additions and 14981 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
.sass-cache
node_modules

2
covers.css Normal file
View File

@ -0,0 +1,2 @@
#sierra {
background-image: url("ChuckNew.jpg"); }

9
gulpfile.js Normal file
View File

@ -0,0 +1,9 @@
var gulp = require('gulp');
var sass = require('gulp-sass');
gulp.task('default', function() {
// place code for your default task here
gulp.src('*.scss')
.pipe(sass().on('error', sass.logError))
.pipe(gulp.dest('./'));
});

View File

@ -56,7 +56,7 @@
<p>I'm a Computer Science student and Hackathon winner at Arizona State University and I'm interested in the intersection of technology and art. I pride myself in taking a diverse set of interest and my pixel perfect lovingly handcrafted 💯% good
stuff 👍👌 HTML. These days, you can find me at The State Press working on ways to innovate the news during the week and winning hackathons on the weekends.</p>
<p>This website is still an active development project, pls don't judge too harshly.</p>
<h1>Skills <a id="skilltablebutton" style="text-decoration: underline; font-style: italic; font-weight: normal; font-size: 14px;" onclick="toggleSkillTable()">hide</a></h1>
<h1 id="skills">Skills <a id="skilltablebutton" style="text-decoration: underline; font-style: italic; font-weight: normal; font-size: 14px;" onclick="toggleSkillTable()">hide</a></h1>
<div id="skilltable">
<table>
<tr>
@ -118,7 +118,7 @@
<div class="slide">
<h1>Projects &amp; Experience</h1>
<div>
<div>
<div class="project">
<div class="cover" id="sierra">
<!-- centering container -->
<div style="display:table;width:100%;height:100%;margin:0px;">
@ -129,7 +129,7 @@
</div>
<p>Project description</p>
</div>
<div>
<div class="project">
<div class="cover" id="sierra">
<!-- centering container -->
<div style="display:table;width:100%;height:100%;margin:0px;">
@ -140,7 +140,7 @@
</div>
<p>Project description</p>
</div>
<div>
<div class="project">
<div class="cover" id="sierra">
<!-- centering container -->
<div style="display:table;width:100%;height:100%;margin:0px;">
@ -151,7 +151,7 @@
</div>
<p>Project description</p>
</div>
<div>
<div class="project">
<div class="cover" id="sierra">
<!-- centering container -->
<div style="display:table;width:100%;height:100%;margin:0px;">

File diff suppressed because it is too large Load Diff

View File

@ -1,14 +1,16 @@
{
"name": "v3",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"devDependencies": {
"lite-server": "^2.2.2"
}
}
{
"name": "v3",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"devDependencies": {
"gulp": "^3.9.1",
"gulp-sass": "^3.1.0",
"lite-server": "^2.2.2"
}
}

View File

@ -43,49 +43,57 @@ body {
.small .hideable {
display: none;
opacity: 0; }
.small img {
max-width: 200px; }
.small h2 {
font-size: 1em; }
.large img {
width: 100%;
max-width: 400px; }
.large .hideable {
opacity: 1; }
.nojs body {
background: white; }
.nojs #mast {
background: black; }
/*
* standalone elements
*/
.slide {
padding: 0px;
width: 100%; }
width: 100%;
/* width wrapping */ }
.slide div {
/* width wrapping */
max-width: 800px;
margin: auto;
text-align: center; }
.slide div div {
/* Project bits */
text-align: center;
/* Project bits */ }
.slide div .project {
transition-duration: .2s;
width: 390px;
border: 1px solid #333;
border-radius: 5px;
padding: 0px;
display: inline-block;
margin: 3px; }
.slide div div .cover {
.slide div .project .cover {
height: 300px;
background-position: center center;
background-size: cover;
margin: 0px; }
.slide div div .cover h2 {
.slide div .project .cover h2 {
text-align: center;
background: rgba(0, 0, 0, 0.5);
color: white; }
.slide div div .cover:hover {
box-shadow: 1px 1px 9px #444; }
.slide div .project:hover {
box-shadow: 1px 1px 3px #333; }
.slide div p,
.slide div table {
text-align: left; }
@ -109,18 +117,9 @@ body {
margin: auto;
margin-top: 1.7em; }
.arrow {
font-variant-position: sub;
font-size: .6em; }
.arrow:before {
content: "\0025BC"; }
h2 {
font-weight: normal;
font-style: italic; }
a {
transition-duration: .2s; }
/*# sourceMappingURL=style.css.map */

View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;MACtB,aAAa,EAAE,GAAG;MAClB,OAAO,EAAE,GAAG;MACZ,OAAO,EAAE,YAAY;MACrB,MAAM,EAAE,GAAG;MACX,0BAAO;QACH,MAAM,EAAE,KAAK;QACb,mBAAmB,EAAE,aAAa;QAClC,eAAe,EAAE,KAAK;QACtB,MAAM,EAAE,GAAG;QACX,6BAAG;UACC,UAAU,EAAE,MAAM;UAClB,UAAU,EA3HrB,kBAAiB;UA4HN,KAAK,EAAE,KAAK;IAIxB,yBAAe;MACX,UAAU,EAAE,gBAAgB;IAEhC;oBACM;MACF,UAAU,EAAE,IAAI;EAGxB,YAAM;IACF,WAAW,EAAE,GAAG;IAChB,MAAM,EAAE,CAAC;IACT,OAAO,EAAE,GAAG;IACZ,cAAc,EAAE,CAAC;IACjB,eAAe,EAAE,QAAQ;IACzB,cAAc,EAAE,QAAQ;EAE5B,SAAG;IACC,MAAM,EAAE,GAAG;EAEf,QAAE;IACE,WAAW,EAAE,GAAG;IAChB,SAAS,EAxJT,KAAK;IAyJL,MAAM,EAAE,IAAI;EAEhB,SAAG;IACC,SAAS,EAAE,GAAG;IACd,UAAU,EAAE,MAAM;IAClB,SAAS,EA9JT,KAAK;IA+JL,MAAM,EAAE,IAAI;IACZ,UAAU,EAAE,KAAK;;AAIzB,EAAG;EACC,WAAW,EAAE,MAAM;EACnB,UAAU,EAAE,MAAM;;AAGtB,CAAE;EACE,mBAAmB,EAAE,GAAG",
"sources": ["style.scss","covers.scss"],
"names": [],
"file": "style.css"

View File

@ -10,7 +10,9 @@ $greybg: rgba(0, 0, 0, .5);
}
@import 'covers';
//
//sections
//
body {
@extend .reset;
font-family: serif;
@ -92,20 +94,26 @@ body {
}
}
//standalone elements
/*
* standalone elements
*/
// the standard section element */
.slide {
@extend .reset;
padding: 0px;
width: 100%;
/* width wrapping */
div {
/* width wrapping */
max-width: $width;
margin: auto;
text-align: center;
div {
/* Project bits */
/* Project bits */
.project {
transition-duration: .2s;
width: $width/2 - 10;
border: 1px solid #333;
border-radius: 5px;
padding: 0px;
display: inline-block;
@ -121,9 +129,9 @@ body {
color: white;
}
}
.cover:hover {
box-shadow: 1px 1px 9px #444;
}
}
.project:hover {
box-shadow: 1px 1px 3px #333;
}
p,
table {
@ -155,15 +163,6 @@ body {
}
}
.arrow {
font-variant-position: sub;
font-size: .6em;
}
.arrow:before {
content: "\0025BC";
}
h2 {
font-weight: normal;
font-style: italic;