Cleaned up CSS

This commit is contained in:
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;
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%;