Fixed layout issues

More responsive UI using proper bootstrap container and cols.

Updating some colors and resume screen.
This commit is contained in:
Cameron Cordes
2019-09-28 00:09:04 -04:00
parent 1aa109ae52
commit 12cc5b072f
13 changed files with 765 additions and 230 deletions

26
package-lock.json generated
View File

@@ -1002,7 +1002,7 @@
}, },
"minimist": { "minimist": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
"integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ="
}, },
"nan": { "nan": {
@@ -3876,7 +3876,7 @@
"argparse": { "argparse": {
"version": "1.0.10", "version": "1.0.10",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
"integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "integrity": "sha1-vNZ5HqWuCXJeF+WtmIE0zUCz2RE=",
"dev": true, "dev": true,
"requires": { "requires": {
"sprintf-js": "~1.0.2" "sprintf-js": "~1.0.2"
@@ -4254,7 +4254,7 @@
"base": { "base": {
"version": "0.11.2", "version": "0.11.2",
"resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz",
"integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", "integrity": "sha1-e95c7RRbbVUakNuH+DxVi060io8=",
"requires": { "requires": {
"cache-base": "^1.0.1", "cache-base": "^1.0.1",
"class-utils": "^0.3.5", "class-utils": "^0.3.5",
@@ -4276,7 +4276,7 @@
"is-accessor-descriptor": { "is-accessor-descriptor": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",
"integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "integrity": "sha1-FpwvbT3x+ZJhgHI2XJsOofaHhlY=",
"requires": { "requires": {
"kind-of": "^6.0.0" "kind-of": "^6.0.0"
} }
@@ -4284,7 +4284,7 @@
"is-data-descriptor": { "is-data-descriptor": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",
"integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "integrity": "sha1-2Eh2Mh0Oet0DmQQGq7u9NrqSaMc=",
"requires": { "requires": {
"kind-of": "^6.0.0" "kind-of": "^6.0.0"
} }
@@ -4292,7 +4292,7 @@
"is-descriptor": { "is-descriptor": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",
"integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "integrity": "sha1-OxWXRqZmBLBPjIFSS6NlxfFNhuw=",
"requires": { "requires": {
"is-accessor-descriptor": "^1.0.0", "is-accessor-descriptor": "^1.0.0",
"is-data-descriptor": "^1.0.0", "is-data-descriptor": "^1.0.0",
@@ -4563,7 +4563,7 @@
}, },
"buffer": { "buffer": {
"version": "4.9.1", "version": "4.9.1",
"resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", "resolved": "http://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz",
"integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=", "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=",
"dev": true, "dev": true,
"requires": { "requires": {
@@ -4696,7 +4696,7 @@
"cache-base": { "cache-base": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz",
"integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", "integrity": "sha1-Cn9GQWgxyLZi7jb+TnxZ129marI=",
"requires": { "requires": {
"collection-visit": "^1.0.0", "collection-visit": "^1.0.0",
"component-emitter": "^1.2.1", "component-emitter": "^1.2.1",
@@ -4837,7 +4837,7 @@
"class-utils": { "class-utils": {
"version": "0.3.6", "version": "0.3.6",
"resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz",
"integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", "integrity": "sha1-+TNprouafOAv1B+q0MqDAzGQxGM=",
"requires": { "requires": {
"arr-union": "^3.1.0", "arr-union": "^3.1.0",
"define-property": "^0.2.5", "define-property": "^0.2.5",
@@ -8096,7 +8096,7 @@
"is-descriptor": { "is-descriptor": {
"version": "0.1.6", "version": "0.1.6",
"resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz",
"integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", "integrity": "sha1-Nm2CQN3kh8pRgjsaufB6EKeCUco=",
"requires": { "requires": {
"is-accessor-descriptor": "^0.1.6", "is-accessor-descriptor": "^0.1.6",
"is-data-descriptor": "^0.1.4", "is-data-descriptor": "^0.1.4",
@@ -8202,7 +8202,7 @@
"is-plain-object": { "is-plain-object": {
"version": "2.0.4", "version": "2.0.4",
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",
"integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", "integrity": "sha1-LBY7P6+xtgbZ0Xko8FwqHDjgdnc=",
"requires": { "requires": {
"isobject": "^3.0.1" "isobject": "^3.0.1"
} }
@@ -8241,7 +8241,7 @@
"is-windows": { "is-windows": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz",
"integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==" "integrity": "sha1-0YUOuXkezRjmGCzhKjDzlmNLsZ0="
}, },
"is-wsl": { "is-wsl": {
"version": "1.1.0", "version": "1.1.0",
@@ -11774,7 +11774,7 @@
"split-string": { "split-string": {
"version": "3.1.0", "version": "3.1.0",
"resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz",
"integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", "integrity": "sha1-fLCd2jqGWFcFxks5pkZgOGguj+I=",
"requires": { "requires": {
"extend-shallow": "^3.0.0" "extend-shallow": "^3.0.0"
} }

View File

@@ -1,6 +1,8 @@
<div style="text-align:center"> <div class="d-flex flex-column h-100">
<app-toolbar></app-toolbar> <app-toolbar></app-toolbar>
</div> <div class="container-fluid flex-grow-1">
<main [@routerTransition]="o.isActivated ? o.activatedRoute : ''"> <main class="h-100" [@routerTransition]="o.isActivated ? o.activatedRoute : ''">
<router-outlet #o="outlet"></router-outlet> <router-outlet #o="outlet"></router-outlet>
</main> </main>
</div>
</div>

View File

@@ -24,28 +24,3 @@
color: #0FA0CE; color: #0FA0CE;
cursor: pointer; cursor: pointer;
} }
@media (max-width: 768px) {
.icon-layout {
padding: .1em;
margin: .5em .25em .5em .25em
}
.subtitle {
margin: 1em .5em;
}
}
@media (max-width: 425px) {
.icon-layout {
font-size: 14px;
}
h2 {
font-size: 24px;
}
.subtitle {
margin: 1em .5em;
}
}

View File

@@ -1,6 +1,5 @@
<div <div class="row text-center">
style="background: url(../../assets/terminal-background.jpg) repeat-y;width: 100%; height: 100%; background-size: contain"> <div class="col mt-3">
<div class="center-column" style="position: absolute; z-index: 1; margin-top: 2em">
<h2>Social Media</h2> <h2>Social Media</h2>
<div style="display: flex; justify-content: center; width: 100%"> <div style="display: flex; justify-content: center; width: 100%">
@@ -19,7 +18,6 @@
<span class="icon-text">Email</span> <span class="icon-text">Email</span>
</div> </div>
</div> </div>
<p class="subtitle">Contact me to connect, collaborate or just to chat.</p> <p class="subtitle mt-2">Contact me to connect, collaborate or just to chat.</p>
</div> </div>
<div style="background: white; height: 100%; opacity: 0.78"></div>
</div> </div>

View File

@@ -1,42 +1,14 @@
.overlay { .overlay {
background: black; background: black;
position: relative; position: fixed;
height: 100%;
} }
.image { .image {
opacity: 0.1; opacity: 0.1;
width: 100%; width: 100%;
height: auto;
} }
.home-container { .home-container {
background: #2f2f31; background: #2f2f31;
height: 100%;
width: 100%;
position: fixed;
}
.overlay-text {
color: white;
}
.headshot {
width: 27%;
margin: 2em 0 1em 0
}
@media (max-width: 768px) {
.headshot {
width: 40%;
}
.overlay-text {
font-size: 32px;
}
}
@media (max-width: 425px) {
.overlay-text {
font-size: 24px;
}
} }

View File

@@ -1,23 +1,29 @@
<div class="home-container"> <div class="row h-100 dark-bg">
<div class="overlay" style="position: absolute;"> <!-- <div class="d-relative"> -->
<img src="../../assets/CubeSpace.jpg" class="image" alt="background"> <!-- <img src="../../assets/CubeSpace.jpg" class="image" alt="background"> -->
</div> <!-- </div> -->
<div class="center-column" style="height: 100%"> <div class="col col-xl-9 col-lg-12 col-md-12 mx-auto text-center">
<div style="width: 100%; margin: 0 auto; position: absolute"> <img src="../../assets/cameron-headshot.jpg" class="w-50 my-3" alt="headshot photo">
<img src="../../assets/cameron-headshot.jpg" class="headshot" alt="headshot photo">
<h1 class="overlay-text">Cameron Cordes</h1> <h1 class="overlay-text">Cameron Cordes</h1>
<p <div class="row text-center">
class="thin-subtitle" style="color: white;"> <div class="col-12 col-md-8 col-sm-12 mx-auto">
Android and iOS Developer</p> <p class="thin-subtitle" style="color: white;">
<p class="body-text">Hello! I'm Cameron, I am a software developer focusing on mobile Android and iOS Android and iOS Developer
</p>
<p>
Hello! I'm Cameron, I am a software developer focusing on mobile Android and iOS
applications. I love software development, I enjoy creating things, solving problems and making simple, smart applications. I love software development, I enjoy creating things, solving problems and making simple, smart
solutions to business problems.</p> solutions to business problems.
<p class="body-text">I first discovered programming by making bots for the classic Massively Multiplayer Online </p>
<p>
I first discovered programming by making bots for the classic Massively Multiplayer Online
Role Playing Game Runescape. I learned that you could automate leveling up your skills by writing scripts to do Role Playing Game Runescape. I learned that you could automate leveling up your skills by writing scripts to do
the process for you. So I started reading other peoples scripts, learning the scripting language Pascal. I the process for you. So I started reading other peoples scripts, learning the scripting language Pascal. I
quickly realized that I could build something that could help myself and others level up their characters in the quickly realized that I could build something that could help myself and others level up their characters in the
game and have fun learning and solving problems and thus sparked my love of programming and eventually software game and have fun learning and solving problems and thus sparked my love of programming and eventually software
development.</p> development.
</p>
</div>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -1,103 +0,0 @@
* {
margin: 0;
padding: 0;
}
body {
font: 16px Helvetica, Sans-Serif;
line-height: 24px;
background: url(../../assets/noise.jpg);
}
.clear {
clear: both;
}
#page-wrap {
width: 800px;
margin: 40px auto 60px;
}
#pic {
float: right;
margin: -30px 0 0 0;
}
h1 {
margin: 0 0 16px 0;
padding: 0 0 16px 0;
font-size: 42px;
font-weight: bold;
letter-spacing: -2px;
border-bottom: 1px solid #888;
}
h2 {
font-size: 20px;
margin: 0 0 6px 0;
position: relative;
}
h2 span {
position: absolute;
bottom: 0;
right: 0;
font-style: italic;
font-family: Georgia, Serif;
font-size: 16px;
color: #888;
font-weight: normal;
}
p {
margin: 0 0 16px 0;
}
a {
color: #888;
text-decoration: none;
border-bottom: 1px dotted #888;
}
a:hover {
border-bottom-style: solid;
color: black;
}
ul {
margin: 0 0 32px 17px;
}
#objective {
width: 500px;
float: left;
}
#objective p {
font-family: Georgia, serif;
font-style: italic;
color: #666;
}
dt {
font-style: italic;
font-weight: bold;
font-size: 18px;
text-align: right;
padding: 0 26px 0 0;
width: 150px;
float: left;
height: 100px;
border-right: 2px solid #888;
}
dd {
width: 600px;
float: right;
}
dd.clear {
float: none;
margin: 0;
height: 15px;
}

View File

@@ -1,4 +1,16 @@
<div id="page-wrap"> <div class="row h-100">
<div class="col-3 dark-bg text-center p-0">
<h2 class="mt-3 px-2">Cameron Cordes</h2>
<p class="tc-1">Android | iOS | Web</p>
<img src="../../assets/cameron-headshot.jpg" class="w-75 shadow rounded" alt="headshot photo">
<p class="my-3">Building things since 2015.</p>
</div>
<div class="col">
<span>Mobile Developer</span>
</div>
</div>
<div style="display: none" id="page-wrap">
<img src="../../assets/cthulu.png" alt="Photo of Cthulu" id="pic"/> <img src="../../assets/cthulu.png" alt="Photo of Cthulu" id="pic"/>

View File

@@ -9,7 +9,7 @@ span {
} }
span:hover { span:hover {
color: #1DAEDD; color: var(--nord7);
cursor: pointer; cursor: pointer;
} }

224
src/assets/nord.css Normal file
View File

@@ -0,0 +1,224 @@
/*
++++++++++++++++++++++++++++++++++++++++++++++++++++
title Nord +
project nord +
version 0.2.0 +
repository https://github.com/arcticicestudio/nord +
author Arctic Ice Studio +
email development@arcticicestudio.com +
copyright Copyright (C) 2016 +
++++++++++++++++++++++++++++++++++++++++++++++++++++
[References]
W3C
(https://www.w3.org/TR/css-variables)
(https://www.w3.org/TR/selectors/#root-pseudo)
CSS Working Group
(https://drafts.csswg.org/css-variables)
MDN
(https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_variables)
KSS
(http://warpspire.com/kss)
kss-node
(https://github.com/kss-node/kss-node)
*/
/*
A arctic, north-bluish color palette.
Created for the clean- and minimal flat design pattern to achieve a optimal focus and readability for code syntax
highlighting and UI.
It consists of a total of sixteen, carefully selected, dimmed pastel colors for a eye-comfortable, but yet colorful
ambiance.
Styleguide Nord
*/
:root {
/*
Base component color of "Polar Night".
Used for texts, backgrounds, carets and structuring characters like curly- and square brackets.
Markup:
<div style="background-color:#2E3440; width=60; height=60"></div>
Styleguide Nord - Polar Night
*/
--nord0: #2E3440;
/*
Lighter shade color of the base component color.
Used as a lighter background color for UI elements like status bars.
Markup:
<div style="background-color:#3B4252; width=60; height=60"></div>
Styleguide Nord - Polar Night
*/
--nord1: #3B4252;
/*
Lighter shade color of the base component color.
Used as line highlighting in the editor.
In the UI scope it may be used as selection- and hightlight color.
Markup:
<div style="background-color:#434C5E; width=60; height=60"></div>
Styleguide Nord - Polar Night
*/
--nord2: #434C5E;
/*
Lighter shade color of the base component color.
Used for comments, invisibles, indent- and wrap guide marker.
In the UI scope used as pseudoclass color for disabled elements.
Markup:
<div style="background-color:#4C566A; width=60; height=60"></div>
Styleguide Nord - Polar Night
*/
--nord3: #4C566A;
/*
Base component color of "Snow Storm".
Main color for text, variables, constants and attributes.
In the UI scope used as semi-light background depending on the theme shading design.
Markup:
<div style="background-color:#D8DEE9; width=60; height=60"></div>
Styleguide Nord - Snow Storm
*/
--nord4: #D8DEE9;
/*
Lighter shade color of the base component color.
Used as a lighter background color for UI elements like status bars.
Used as semi-light background depending on the theme shading design.
Markup:
<div style="background-color:#E5E9F0; width=60; height=60"></div>
Styleguide Nord - Snow Storm
*/
--nord5: #E5E9F0;
/*
Lighter shade color of the base component color.
Used for punctuations, carets and structuring characters like curly- and square brackets.
In the UI scope used as background, selection- and hightlight color depending on the theme shading design.
Markup:
<div style="background-color:#ECEFF4; width=60; height=60"></div>
Styleguide Nord - Snow Storm
*/
--nord6: #ECEFF4;
/*
Bluish core color.
Used for classes, types and documentation tags.
Markup:
<div style="background-color:#8FBCBB; width=60; height=60"></div>
Styleguide Nord - Frost
*/
--nord7: #8FBCBB;
/*
Bluish core accent color.
Represents the accent color of the color palette.
Main color for primary UI elements and methods/functions.
Can be used for
- Markup quotes
- Markup link URLs
Markup:
<div style="background-color:#88C0D0; width=60; height=60"></div>
Styleguide Nord - Frost
*/
--nord8: #88C0D0;
/*
Bluish core color.
Used for language-specific syntactic/reserved support characters and keywords, operators, tags, units and
punctuations like (semi)colons,commas and braces.
Markup:
<div style="background-color:#81A1C1; width=60; height=60"></div>
Styleguide Nord - Frost
*/
--nord9: #81A1C1;
/*
Bluish core color.
Used for markup doctypes, import/include/require statements, pre-processor statements and at-rules (`@`).
Markup:
<div style="background-color:#5E81AC; width=60; height=60"></div>
Styleguide Nord - Frost
*/
--nord10: #5E81AC;
/*
Colorful component color.
Used for errors, git/diff deletion and linter marker.
Markup:
<div style="background-color:#BF616A; width=60; height=60"></div>
Styleguide Nord - Aurora
*/
--nord11: #BF616A;
/*
Colorful component color.
Used for annotations.
Markup:
<div style="background-color:#D08770; width=60; height=60"></div>
Styleguide Nord - Aurora
*/
--nord12: #D08770;
/*
Colorful component color.
Used for escape characters, regular expressions and markup entities.
In the UI scope used for warnings and git/diff renamings.
Markup:
<div style="background-color:#EBCB8B; width=60; height=60"></div>
Styleguide Nord - Aurora
*/
--nord13: #EBCB8B;
/*
Colorful component color.
Main color for strings and attribute values.
In the UI scope used for git/diff additions and success visualizations.
Markup:
<div style="background-color:#A3BE8C; width=60; height=60"></div>
Styleguide Nord - Aurora
*/
--nord14: #A3BE8C;
/*
Colorful component color.
Used for numbers.
Markup:
<div style="background-color:#B48EAD; width=60; height=60"></div>
Styleguide Nord - Aurora
*/
--nord15: #B48EAD;
}

427
src/assets/normalize.css vendored Normal file
View File

@@ -0,0 +1,427 @@
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/**
* Remove default margin.
*/
body {
margin: 0;
}
/* HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11
* and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
display: block;
}
/**
* 1. Correct `inline-block` display not defined in IE 8/9.
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/
audio,
canvas,
progress,
video {
display: inline-block; /* 1 */
vertical-align: baseline; /* 2 */
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Address `[hidden]` styling not present in IE 8/9/10.
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
*/
[hidden],
template {
display: none;
}
/* Links
========================================================================== */
/**
* Remove the gray background color from active links in IE 10.
*/
a {
background-color: transparent;
}
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
outline: 0;
}
/* Text-level semantics
========================================================================== */
/**
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/
b,
strong {
font-weight: bold;
}
/**
* Address styling not present in Safari and Chrome.
*/
dfn {
font-style: italic;
}
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari, and Chrome.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/**
* Address styling not present in IE 8/9.
*/
mark {
background: #ff0;
color: #000;
}
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9/10.
*/
img {
border: 0;
}
/**
* Correct overflow not hidden in IE 9/10/11.
*/
svg:not(:root) {
overflow: hidden;
}
/* Grouping content
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari.
*/
figure {
margin: 1em 40px;
}
/**
* Address differences between Firefox and other browsers.
*/
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
/**
* Contain overflow in all browsers.
*/
pre {
overflow: auto;
}
/**
* Address odd `em`-unit font size rendering in all browsers.
*/
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
/* Forms
========================================================================== */
/**
* Known limitation: by default, Chrome and Safari on OS X allow very limited
* styling of `select`, unless a `border` property is set.
*/
/**
* 1. Correct color not being inherited.
* Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
*/
button,
input,
optgroup,
select,
textarea {
color: inherit; /* 1 */
font: inherit; /* 2 */
margin: 0; /* 3 */
}
/**
* Address `overflow` set to `hidden` in IE 8/9/10/11.
*/
button {
overflow: visible;
}
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
* Correct `select` style inheritance in Firefox.
*/
button,
select {
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
*/
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button; /* 2 */
cursor: pointer; /* 3 */
}
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default;
}
/**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
input {
line-height: normal;
}
/**
* It's recommended that you don't attempt to style these elements.
* Firefox's implementation doesn't respect box-sizing, padding, or width.
*
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.
*/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
* (include `-moz` to future-proof).
*/
input[type="search"] {
-webkit-appearance: textfield; /* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; /* 2 */
box-sizing: content-box;
}
/**
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
* Safari (but not Chrome) clips the cancel button when the search input has
* padding (and `textfield` appearance).
*/
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/**
* 1. Correct `color` not being inherited in IE 8/9/10/11.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend {
border: 0; /* 1 */
padding: 0; /* 2 */
}
/**
* Remove default vertical scrollbar in IE 8/9/10/11.
*/
textarea {
overflow: auto;
}
/**
* Don't inherit the `font-weight` (applied by a rule above).
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
*/
optgroup {
font-weight: bold;
}
/* Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0;
}
td,
th {
padding: 0;
}

View File

@@ -3,6 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous"> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" href="/assets/nord.css">
<link href="https://fonts.googleapis.com/css?family=Montserrat:200,300,400|Roboto:100,300,400" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Montserrat:200,300,400|Roboto:100,300,400" rel="stylesheet">
<title>Cameron's Website</title> <title>Cameron's Website</title>

View File

@@ -1,25 +1,46 @@
/* You can add global styles to this file, and also import other style files */ /* You can add global styles to this file, and also import other style files */
@import "~@angular/material/prebuilt-themes/pink-bluegrey.css"; @import "~@angular/material/prebuilt-themes/pink-bluegrey.css";
body {
margin: 0;
}
html, body {
height: 100%;
}
h1, h2, h3, p, span { h1, h2, h3, p, span {
font-family: Roboto, "Helvetica Neue", sans-serif; font-family: Roboto, "Helvetica Neue", sans-serif;
font-weight: 300; font-weight: 300;
} }
html, body {
height: 100%;
margin: 0;
}
.body-text { .body-text {
color: white; color: white;
width: 50%; width: 50%;
margin: 1em auto; margin: 1em auto;
} }
.dark-bg {
background-color: var(--nord0);
}
.dark-bg span, .dark-bg h1, .dark-bg h2, .dark-bg h3, .dark-bg p {
color: var(--nord4);
}
.tc-1 {
color: var(--nord7)!important;
}
.tc-2 {
color: var(--nord8)!important;
}
.tc-3 {
color: var(--nord9)!important;
}
.tc-4 {
color: var(--nord10)!important;
}
@media (max-width: 768px) { @media (max-width: 768px) {
.body-text { .body-text {
font-size: 14px; font-size: 14px;
@@ -89,5 +110,5 @@ h1, h2, h3, p, span {
} }
.active { .active {
color: #1DAEDD; color: var(--nord7);
} }