diff --git a/css/style.css b/css/style.css
index dfd4bcd..797a4fe 100644
--- a/css/style.css
+++ b/css/style.css
@@ -3,6 +3,14 @@
margin: 0;
text-indent: 0; }
+.widthCenter, .slide div, .slide p,
+.slide h1,
+.slide h2,
+.slide h3,
+.slide h4 {
+ max-width: 800px;
+ margin: auto; }
+
/*
* Covers for projects section
*/
@@ -86,8 +94,6 @@ body {
width: 100%;
/* width wrapping */ }
.slide div {
- max-width: 800px;
- margin: auto;
/* Project bits */ }
.slide div .project {
width: 390px;
@@ -140,7 +146,8 @@ body {
font-style: italic; }
.slide div .project .details .award div p {
font-size: .8em; }
- .slide div .project .details .award::before {
+ .slide div .project .details .award::before,
+ .slide div .project .details .award::after {
vertical-align: middle;
background-image: url(../images/laurelleft.png);
background-size: contain;
@@ -150,19 +157,12 @@ body {
content: "";
width: 1.6em;
height: 3em;
- position: relative;
+ position: relative; }
+ .slide div .project .details .award::before {
+ background-image: url(../images/laurelleft.png);
left: .09em; }
.slide div .project .details .award::after {
- vertical-align: middle;
background-image: url(../images/laurelright.png);
- background-size: contain;
- background-repeat: no-repeat;
- background-position: center center;
- display: inline-block;
- content: "";
- width: 1.6em;
- height: 3em;
- position: relative;
right: .11em; }
.slide table {
line-height: 1.3;
@@ -174,18 +174,11 @@ body {
.slide ul {
margin: 5px; }
.slide p {
- text-indent: 2em;
- max-width: 800px;
- margin: auto; }
+ text-indent: 2em; }
.slide h1 {
font-size: 2em;
font-style: italic;
- max-width: 800px;
- margin: auto;
margin-top: 1.7em; }
- .slide h4 {
- max-width: 800px;
- margin: auto; }
@media (max-width: 800px) {
.slide div .project {
width: 90%;
diff --git a/index.html b/index.html
index ef19362..53e7f83 100644
--- a/index.html
+++ b/index.html
@@ -53,20 +53,20 @@
About Me (Why I rock)
-
A brief history of Chuck & tech
+
A brief history of Chuck & tech
When I was a child I was obsessed with trains and vacuum cleaners. In elementary school my grandma tried to teach me Photoshop. In seventh grade I started teaching myself HTML. Freshman year I started learning the basics of networking and BASH
so I could run a Minecraft server on my sparkly new iMac. In the first half of high school I volunteered at Phoenix Children's Hospital and in the second half I taught robotics at The Waybright Academy. On top of that, I was active throughout
the school as an officer of Firebird Robotics, the director of Firebird Word, a yearbook editor, and the design editor of Chaparral Ashes. I've been digging around in computers my whole life.
-
My life today
+
My life today
I'm a Computer Science student and Hackathon winner at Arizona State University interested in the intersection of technology and art. I pride myself in taking a diverse set of interest and the resulting broad set of experiences. From editorial
experience at the State Press to random open source contributions in my free time, I do a lot. Less formally, I moonlight as a freelance tech support, web designer, and occasionally pick up work as a photographer. Lately I've been spending
a lot of time in JavaScript, but I've got a few interesting side projects on the back burner, including a SteamVR experiment.
-
Bragging & geeking out
+
Bragging & geeking out
Here comes the stuff that I couldn't fit anywhere else. This summer I worked at a Starbucks to save up money to build a new PC and buy an HTC Vive to go with it. My computer runs windows in a virtual machine on top of Slackware linux,
a setup that causes me unending headaches but is actually a lot of fun to tinker with when I'm not busy with school. I'm a proud Eagle scout. I like to toot my own horn. I once got so frustrated manually retyping text between command line
systems that I built a cloud copy paste tool just for myself.
-
Skills
+
Skills
The Internet |
diff --git a/sass/style.scss b/sass/style.scss
index df2f2fd..1b67f20 100644
--- a/sass/style.scss
+++ b/sass/style.scss
@@ -10,6 +10,11 @@ $greybg: rgba(0, 0, 0, .5);
text-indent: 0;
}
+.widthCenter {
+ max-width: $width;
+ margin: auto;
+}
+
/*
* Covers for projects section
@@ -113,8 +118,7 @@ body {
width: 100%;
/* width wrapping */
div {
- max-width: $width;
- margin: auto;
+ @extend .widthCenter;
/* Project bits */
.project {
width: $width/2 - 10;
@@ -179,7 +183,8 @@ body {
}
}
}
- .award::before {
+ .award::before,
+ .award::after {
vertical-align: middle;
background-image: url(../images/laurelleft.png);
background-size: contain;
@@ -189,20 +194,14 @@ body {
content: "";
width: 1.6em;
height: 3em;
- position: relative;
+ position: relative
+ }
+ .award::before {
+ background-image: url(../images/laurelleft.png);
left: .09em;
}
.award::after {
- vertical-align: middle;
background-image: url(../images/laurelright.png);
- background-size: contain;
- background-repeat: no-repeat;
- background-position: center center;
- display: inline-block;
- content: "";
- width: 1.6em;
- height: 3em;
- position: relative;
right: .11em;
}
}
@@ -221,19 +220,18 @@ body {
}
p {
text-indent: 2em;
- max-width: $width;
- margin: auto;
}
h1 {
font-size: 2em;
font-style: italic;
- max-width: $width;
- margin: auto;
margin-top: 1.7em;
}
+ p,
+ h1,
+ h2,
+ h3,
h4 {
- max-width: $width;
- margin: auto;
+ @extend .widthCenter;
}
@include respond-to($width) {
div {