diff --git a/css/index.css b/css/index.css index 7dd97920d..31b2d8760 100644 --- a/css/index.css +++ b/css/index.css @@ -1 +1,307 @@ -/* Compile your LESS file! */ \ No newline at end of file +/* http://meyerweb.com/eric/tools/css/reset/ + v2.0 | 20110126 + License: none (public domain) +*/ +html, +body, +div, +span, +applet, +object, +iframe, +h1, +h2, +h3, +h4, +h5, +h6, +p, +blockquote, +pre, +a, +abbr, +acronym, +address, +big, +cite, +code, +del, +dfn, +em, +img, +ins, +kbd, +q, +s, +samp, +small, +strike, +strong, +sub, +sup, +tt, +var, +b, +u, +i, +center, +dl, +dt, +dd, +ol, +ul, +li, +fieldset, +form, +label, +legend, +table, +caption, +tbody, +tfoot, +thead, +tr, +th, +td, +article, +aside, +canvas, +details, +embed, +figure, +figcaption, +footer, +header, +hgroup, +menu, +nav, +output, +ruby, +section, +summary, +time, +mark, +audio, +video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} +/* HTML5 display-role reset for older browsers */ +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +menu, +nav, +section { + display: block; +} +.addDepth { + box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); + background-image: linear-gradient(grey, darkgrey); +} +.addFlex { + display: flex; + flex-wrap: wrap; + justify-content: space-evenly; + flex-direction: row; +} +html, +body { + height: 100%; +} +@font-face { + font-family: 'Muli'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(https://fonts.gstatic.com/s/muli/v20/7Aulp_0qiz-aVz7u3PJLcUMYOFnOkEk30e0.ttf) format('truetype'); +} +@font-face { + font-family: 'Quicksand'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(https://fonts.gstatic.com/s/quicksand/v20/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkP8o58a-xw.ttf) format('truetype'); +} +body { + font-family: 'Muli', sans-serif; + background: linear-gradient(rgba(255, 255, 255, 0), lightgrey, darkgrey, grey); +} +header { + width: 100%; + background: linear-gradient(rgba(255, 255, 255, 0), lightgrey, darkgrey, grey); + display: flex; + flex-wrap: wrap; + justify-content: space-evenly; + flex-direction: row; +} +@media (max-width:750px) { + header { + display: inline-block; + text-align: center; + } +} +header h1 { + width: 20%; + text-align: center; + font-size: 2rem; +} +@media (max-width:750px) { + header h1 { + font-size: 2.3rem; + display: block; + width: 100%; + text-align: center; + } +} +header ul { + display: flex; + flex-wrap: wrap; + justify-content: space-evenly; + flex-direction: row; + justify-content: right; + align-items: flex-end; + list-style: none; +} +@media (max-width:750px) { + header ul { + justify-content: center; + } +} +header ul .nav { + width: 300px; + color: black; + text-decoration: none; + text-align: center; + background-color: transparent !important; + padding: 10px; + margin: 10px; + box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); + background-image: linear-gradient(grey, darkgrey); +} +@media (min-width:600px) { + header ul .nav:hover { + color: white; + } +} +@media (max-width:750px) { + header ul .nav:hover { + color: none; + } +} +.container1 { + display: flex; + flex-wrap: wrap; + justify-content: space-evenly; + flex-direction: row; + width: auto; +} +@media (max-width:750px) { + .container1 .myPicture { + text-align: center; + margin-top: 20px; + } +} +.container1 .intro { + background: linear-gradient(rgba(255, 255, 255, 0), lightgrey, darkgrey, grey); +} +@media (max-width:750px) { + .container1 .intro p { + margin: auto 20px; + } +} +.container1 .intro button { + font-size: 1.5rem; + margin-left: 50%; + box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); + background-image: linear-gradient(grey, darkgrey); +} +@media (max-width:750px) { + .container1 .intro button { + margin: 10px; + margin-left: 100px; + text-align: center; + font-size: 1.8rem; + } +} +@media (max-width:750px) and (min-width:600px) { + .container1 .intro button:hover { + color: white; + } +} +.container1 .why { + display: flex; + flex-wrap: wrap; + justify-content: space-evenly; + flex-direction: row; + align-items: top; + background: linear-gradient(rgba(255, 255, 255, 0), lightgrey, darkgrey, grey); +} +@media (max-width:750px) { + .container1 .why p { + margin: auto 20px; + } +} +.container1 .skills { + background: linear-gradient(rgba(255, 255, 255, 0), lightgrey, darkgrey, grey); +} +.container1 .skills li { + box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); + background-image: linear-gradient(grey, darkgrey); + padding: 10px; + margin: 10px; + list-style: none; +} +div { + width: 40%; +} +@media (max-width:750px) { + div { + width: 100%; + padding-bottom: 20px; + margin-bottom: 5px; + } +} +.workHistory { + background: linear-gradient(rgba(255, 255, 255, 0), lightgrey, darkgrey, grey); + width: 100%; +} +.workHistory table { + overflow-y: auto; + height: 100px; +} +.workHistory .workhistory.table thead th { + position: sticky; + top: 0; +} +.workHistory table { + border-collapse: collapse; + width: 100%; +} +.workHistory th, +.workHistory td { + padding: 8px 16px; +} +.workHistory th { + background: #eee; +} +h2 { + box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); + background-image: linear-gradient(grey, darkgrey); + padding: 10px; + margin: 10px; +} +@media (max-width:750px) { + h2 { + font-size: 1.6rem; + } +} diff --git a/index.html b/index.html index a7f9e3ad1..aa03243e0 100644 --- a/index.html +++ b/index.html @@ -4,9 +4,8 @@ - My Resume - - + Daniel Terry , Web Developer +