Cleaned up CSS

This commit is contained in:
Chuck Dries 2017-04-13 08:03:31 -07:00
parent 6c8bfa38d2
commit cbf7e05f66
3 changed files with 35 additions and 44 deletions

View File

@ -3,6 +3,14 @@
margin: 0; margin: 0;
text-indent: 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 * Covers for projects section
*/ */
@ -86,8 +94,6 @@ body {
width: 100%; width: 100%;
/* width wrapping */ } /* width wrapping */ }
.slide div { .slide div {
max-width: 800px;
margin: auto;
/* Project bits */ } /* Project bits */ }
.slide div .project { .slide div .project {
width: 390px; width: 390px;
@ -140,7 +146,8 @@ body {
font-style: italic; } font-style: italic; }
.slide div .project .details .award div p { .slide div .project .details .award div p {
font-size: .8em; } font-size: .8em; }
.slide div .project .details .award::before { .slide div .project .details .award::before,
.slide div .project .details .award::after {
vertical-align: middle; vertical-align: middle;
background-image: url(../images/laurelleft.png); background-image: url(../images/laurelleft.png);
background-size: contain; background-size: contain;
@ -150,19 +157,12 @@ body {
content: ""; content: "";
width: 1.6em; width: 1.6em;
height: 3em; height: 3em;
position: relative; position: relative; }
.slide div .project .details .award::before {
background-image: url(../images/laurelleft.png);
left: .09em; } left: .09em; }
.slide div .project .details .award::after { .slide div .project .details .award::after {
vertical-align: middle;
background-image: url(../images/laurelright.png); 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; } right: .11em; }
.slide table { .slide table {
line-height: 1.3; line-height: 1.3;
@ -174,18 +174,11 @@ body {
.slide ul { .slide ul {
margin: 5px; } margin: 5px; }
.slide p { .slide p {
text-indent: 2em; text-indent: 2em; }
max-width: 800px;
margin: auto; }
.slide h1 { .slide h1 {
font-size: 2em; font-size: 2em;
font-style: italic; font-style: italic;
max-width: 800px;
margin: auto;
margin-top: 1.7em; } margin-top: 1.7em; }
.slide h4 {
max-width: 800px;
margin: auto; }
@media (max-width: 800px) { @media (max-width: 800px) {
.slide div .project { .slide div .project {
width: 90%; width: 90%;

View File

@ -53,20 +53,20 @@
</div> </div>
<div class="slide" style="margin-top:0px;"> <div class="slide" style="margin-top:0px;">
<h1>About Me <span style="font-size: .5em; font-weight:normal; color: #666;">(Why I rock)</span></h1> <h1>About Me <span style="font-size: .5em; font-weight:normal; color: #666;">(Why I rock)</span></h1>
<h4>A brief history of Chuck &amp; tech</h4> <h3>A brief history of Chuck &amp; tech</h3>
<p>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 <p>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 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.</p> 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.</p>
<h4>My life today</h4> <h3>My life today</h3>
<p>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 <p>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 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. </p> a lot of time in JavaScript, but I've got a few interesting side projects on the back burner, including a SteamVR experiment. </p>
<h4>Bragging &amp; geeking out</h4> <h3>Bragging &amp; geeking out</h3>
<p>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. <a href="https://medium.com/chuckblog/my-computer-is-super-weird-66f50c04a9ed">My computer runs windows in a virtual machine on top of Slackware linux</a>, <p>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. <a href="https://medium.com/chuckblog/my-computer-is-super-weird-66f50c04a9ed">My computer runs windows in a virtual machine on top of Slackware linux</a>,
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 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. </p> systems that I built a cloud copy paste tool just for myself. </p>
<div id="skilltable" style="display:none; "> <div id="skilltable" style="display:none; ">
<h1 id="skills">Skills</h1> <h2 id="skills">Skills</h2>
<table> <table>
<tr> <tr>
<td class="ld">The <span style="font-style:italic">Internet</span></td> <td class="ld">The <span style="font-style:italic">Internet</span></td>

View File

@ -10,6 +10,11 @@ $greybg: rgba(0, 0, 0, .5);
text-indent: 0; text-indent: 0;
} }
.widthCenter {
max-width: $width;
margin: auto;
}
/* /*
* Covers for projects section * Covers for projects section
@ -113,8 +118,7 @@ body {
width: 100%; width: 100%;
/* width wrapping */ /* width wrapping */
div { div {
max-width: $width; @extend .widthCenter;
margin: auto;
/* Project bits */ /* Project bits */
.project { .project {
width: $width/2 - 10; width: $width/2 - 10;
@ -179,7 +183,8 @@ body {
} }
} }
} }
.award::before { .award::before,
.award::after {
vertical-align: middle; vertical-align: middle;
background-image: url(../images/laurelleft.png); background-image: url(../images/laurelleft.png);
background-size: contain; background-size: contain;
@ -189,20 +194,14 @@ body {
content: ""; content: "";
width: 1.6em; width: 1.6em;
height: 3em; height: 3em;
position: relative; position: relative
}
.award::before {
background-image: url(../images/laurelleft.png);
left: .09em; left: .09em;
} }
.award::after { .award::after {
vertical-align: middle;
background-image: url(../images/laurelright.png); 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; right: .11em;
} }
} }
@ -221,19 +220,18 @@ body {
} }
p { p {
text-indent: 2em; text-indent: 2em;
max-width: $width;
margin: auto;
} }
h1 { h1 {
font-size: 2em; font-size: 2em;
font-style: italic; font-style: italic;
max-width: $width;
margin: auto;
margin-top: 1.7em; margin-top: 1.7em;
} }
p,
h1,
h2,
h3,
h4 { h4 {
max-width: $width; @extend .widthCenter;
margin: auto;
} }
@include respond-to($width) { @include respond-to($width) {
div { div {