diff --git a/css/index.css b/css/index.css index 6150826..3a0eb60 100644 --- a/css/index.css +++ b/css/index.css @@ -11,7 +11,7 @@ /* COLORS - default body text #000 - - primary color #372c4b + - primary color #9068dd - accent color TBD */ @@ -21,28 +21,27 @@ */ :root { - --primary-color: #4e406a; + --primary-color: #9068dd; --default-text-color: #000; --background-color: #fff; --role-logo-border-color: #fff; --role-logo-size: 100px; --standard-border-radius: 50px; --role-logo-background-color: #fff; - --emphasis-text-color: #b3b3b3; - --subtle-text-color: #767676; - --link-underline-color: #acacac; - --link-hover-color: #816cab; - --avatar-size: 100px; + --emphasis-text-color: #000; + --subtle-text-color: #4d4d4d; } -@media screen and (max-width: 992px) { +@media only screen and (max-width: 869px) { :root { + --section-margin: 64px; --font-size: 17px; } } -@media screen and (min-width: 993px) { +@media only screen and (min-width: 870px) { :root { + --section-margin: 150px; --font-size: 20px; } } @@ -54,6 +53,14 @@ html { line-height: 1.15; } +input { + font-family: inherit; + font-size: 100%; + line-height: 1.15; + margin: 0; + overflow: visible; +} + body { font-family: 'Roboto', sans-serif; font-weight: 400; @@ -68,28 +75,42 @@ body { /* 3. COMPONENTS ============================================================== */ +header, +section { + margin-bottom: var(--section-margin); +} + header { display: flex; align-items: center; } -footer .skills i { - display: block; +h1 { + font-weight: 500; + margin: 0; } -.education ul, -.experience ul { - padding: 0; - margin: 0; +h1 { + font-size: 2em; + margin: .67em 0 +} + +h2 { + font-size: 1.5em; + font-weight: 500; + text-transform: uppercase; +} + +nav { + flex: 1; + display: flex; + align-items: center; } -.role ul li:not(.role-tenure)::before { - content: "\2022"; - color: var(--primary-color); - font-weight: bold; - display: inline-block; - width: 1em; - margin-left: -1em; +ul { + list-style-type: none; + padding: 0; + margin: 0; } .role-logo { @@ -127,10 +148,6 @@ footer .skills i { color: var(--emphasis-text-color); } -ul.role-key-points { - padding: 0 1em; -} - .role-key-points li { margin-bottom: 10px; } @@ -140,22 +157,38 @@ ul.role-key-points { text-transform: uppercase; color: var(--subtle-text-color); padding-top: 4px; - list-style-type: none; -} - -.welcome { - text-align: center; - position: relative; - display: flex; - flex-direction: column; - justify-content: center; - padding: 0 10rem; } /* 4. MEDIA QUERIES ============================================================== */ @media only screen and (min-width: 993px) { + .container { + padding: 2%; + } + + nav { + flex-direction: row-reverse; + } + + nav { + flex-wrap: wrap; + justify-content: space-between; + margin-bottom: 32px; + width: 100%; + } + + nav a { + display: block; + padding: 6px 0; + } + + nav ul { + width: 100%; + max-height: 250px; + overflow: hidden; + } + .role:not(:last-child) { padding-bottom: 64px; } @@ -176,14 +209,44 @@ ul.role-key-points { } @media only screen and (max-width: 992px) { + .container { + margin: 0 auto; + max-width: 1140px; + padding: 1%; + } + .experience { margin-bottom: calc(var(--section-spacing) - 40px); } + h1 { + font-size: 20px; + } + + h2 { + margin-bottom: 15px; + } + + header { + flex-direction: column-reverse; + } + header .subtitle { display: none; } + nav a { + padding: 8px 16px; + } + + nav a:focus-visible { + outline-offset: -8px; + } + + nav ul { + display: flex; + } + .role:not(:last-child) { padding-bottom: 32px; } @@ -195,29 +258,4 @@ ul.role-key-points { .role-key-points { padding-left: calc(var(--role-logo-size) + var(--role-logo-right-margin)); } -} - -a { - color: inherit; - text-decoration-style: dotted; - text-decoration-line: underline; - text-underline-position: under; - text-underline-offset: 2px; - text-decoration-thickness: 1px; - text-decoration-color: var(--link-underline-color); -} - -.avatar { - width: var(--avatar-size); - height: var(--avatar-size); - border-radius: calc(var(--avatar-size) / 2.0); - margin: 0 auto; -} - -.primary-color { - background-color: var(--primary-color); -} - -.primary-color-text { - color: var(--primary-color); } \ No newline at end of file diff --git a/css/materialize-src/LICENSE b/css/materialize-src/LICENSE deleted file mode 100644 index fcff17e..0000000 --- a/css/materialize-src/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014-2018 Materialize - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/css/materialize-src/README.md b/css/materialize-src/README.md deleted file mode 100644 index d8cca9c..0000000 --- a/css/materialize-src/README.md +++ /dev/null @@ -1,91 +0,0 @@ -
-
-
-
-
- Materialize, a CSS Framework based on material design.
-
- -- Browse the docs --
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-