Fixed layout issues
More responsive UI using proper bootstrap container and cols. Updating some colors and resume screen.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
<div style="text-align:center">
|
||||
<app-toolbar></app-toolbar>
|
||||
<div class="d-flex flex-column h-100">
|
||||
<app-toolbar></app-toolbar>
|
||||
<div class="container-fluid flex-grow-1">
|
||||
<main class="h-100" [@routerTransition]="o.isActivated ? o.activatedRoute : ''">
|
||||
<router-outlet #o="outlet"></router-outlet>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
<main [@routerTransition]="o.isActivated ? o.activatedRoute : ''">
|
||||
<router-outlet #o="outlet"></router-outlet>
|
||||
</main>
|
||||
|
||||
@@ -24,28 +24,3 @@
|
||||
color: #0FA0CE;
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<div
|
||||
style="background: url(../../assets/terminal-background.jpg) repeat-y;width: 100%; height: 100%; background-size: contain">
|
||||
<div class="center-column" style="position: absolute; z-index: 1; margin-top: 2em">
|
||||
<div class="row text-center">
|
||||
<div class="col mt-3">
|
||||
<h2>Social Media</h2>
|
||||
|
||||
<div style="display: flex; justify-content: center; width: 100%">
|
||||
@@ -19,7 +18,6 @@
|
||||
<span class="icon-text">Email</span>
|
||||
</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 style="background: white; height: 100%; opacity: 0.78"></div>
|
||||
</div>
|
||||
|
||||
@@ -1,42 +1,14 @@
|
||||
.overlay {
|
||||
background: black;
|
||||
position: relative;
|
||||
position: fixed;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.image {
|
||||
opacity: 0.1;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.home-container {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,23 +1,29 @@
|
||||
<div class="home-container">
|
||||
<div class="overlay" style="position: absolute;">
|
||||
<img src="../../assets/CubeSpace.jpg" class="image" alt="background">
|
||||
</div>
|
||||
<div class="center-column" style="height: 100%">
|
||||
<div style="width: 100%; margin: 0 auto; position: absolute">
|
||||
<img src="../../assets/cameron-headshot.jpg" class="headshot" alt="headshot photo">
|
||||
<h1 class="overlay-text">Cameron Cordes</h1>
|
||||
<p
|
||||
class="thin-subtitle" style="color: white;">
|
||||
Android and iOS Developer</p>
|
||||
<p class="body-text">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
|
||||
solutions to business problems.</p>
|
||||
<p class="body-text">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
|
||||
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
|
||||
game and have fun learning and solving problems and thus sparked my love of programming and eventually software
|
||||
development.</p>
|
||||
<div class="row h-100 dark-bg">
|
||||
<!-- <div class="d-relative"> -->
|
||||
<!-- <img src="../../assets/CubeSpace.jpg" class="image" alt="background"> -->
|
||||
<!-- </div> -->
|
||||
<div class="col col-xl-9 col-lg-12 col-md-12 mx-auto text-center">
|
||||
<img src="../../assets/cameron-headshot.jpg" class="w-50 my-3" alt="headshot photo">
|
||||
<h1 class="overlay-text">Cameron Cordes</h1>
|
||||
<div class="row text-center">
|
||||
<div class="col-12 col-md-8 col-sm-12 mx-auto">
|
||||
<p class="thin-subtitle" style="color: white;">
|
||||
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
|
||||
solutions to business problems.
|
||||
</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
|
||||
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
|
||||
game and have fun learning and solving problems and thus sparked my love of programming and eventually software
|
||||
development.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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"/>
|
||||
|
||||
@@ -23,36 +35,36 @@
|
||||
|
||||
<dt>Education</dt>
|
||||
<dd>
|
||||
<h2>Baldwin Wallace University</h2>
|
||||
<p><strong>Major:</strong> Computer Science<br/>
|
||||
<strong>Minor:</strong> Math</p>
|
||||
<h2>Baldwin Wallace University</h2>
|
||||
<p><strong>Major:</strong> Computer Science<br/>
|
||||
<strong>Minor:</strong> Math</p>
|
||||
</dd>
|
||||
|
||||
<dd class="clear"></dd>
|
||||
|
||||
<dt>Skills</dt>
|
||||
<dd>
|
||||
<h2>Computer skills</h2>
|
||||
<p>Windows, Linux, OSX, Android Studio, Visual Studio, XCode, Git, TFS, Microsoft productivity software (Word, Excel, etc).</p>
|
||||
<h2>Computer skills</h2>
|
||||
<p>Windows, Linux, OSX, Android Studio, Visual Studio, XCode, Git, TFS, Microsoft productivity software (Word, Excel, etc).</p>
|
||||
</dd>
|
||||
|
||||
<dd class="clear"></dd>
|
||||
|
||||
<dt>Experience</dt>
|
||||
<dd>
|
||||
<h2>Progressive Insurance <span>Mobile Developer Jan 2018 - Present</span></h2>
|
||||
<ul>
|
||||
<li>Used the Model-View-ViewModel pattern to create easily testable screens</li>
|
||||
<li>Collaborated with a large team to rapidly introduce new features</li>
|
||||
<li>Presented presentations demonstrating best practices using Git and Reactive Extensions</li>
|
||||
</ul>
|
||||
<h2>Progressive Insurance <span>Mobile Developer Jan 2018 - Present</span></h2>
|
||||
<ul>
|
||||
<li>Used the Model-View-ViewModel pattern to create easily testable screens</li>
|
||||
<li>Collaborated with a large team to rapidly introduce new features</li>
|
||||
<li>Presented presentations demonstrating best practices using Git and Reactive Extensions</li>
|
||||
</ul>
|
||||
|
||||
<h2>Hyland Software <span>Developer II - Westlake, OH - 2016 - 2018</span></h2>
|
||||
<ul>
|
||||
<li>Developed a camera interface and photo viewer using Android Camera API for a consistent method of capturing photos and reviewing them</li>
|
||||
<li>Wrote an image downloading module with in memory caching</li>
|
||||
<li>Started an initiative to use the Model View Presenter pattern to enable more testable code</li>
|
||||
</ul>
|
||||
<h2>Hyland Software <span>Developer II - Westlake, OH - 2016 - 2018</span></h2>
|
||||
<ul>
|
||||
<li>Developed a camera interface and photo viewer using Android Camera API for a consistent method of capturing photos and reviewing them</li>
|
||||
<li>Wrote an image downloading module with in memory caching</li>
|
||||
<li>Started an initiative to use the Model View Presenter pattern to enable more testable code</li>
|
||||
</ul>
|
||||
</dd>
|
||||
|
||||
<dd class="clear"></dd>
|
||||
|
||||
@@ -9,7 +9,7 @@ span {
|
||||
}
|
||||
|
||||
span:hover {
|
||||
color: #1DAEDD;
|
||||
color: var(--nord7);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
224
src/assets/nord.css
Normal file
224
src/assets/nord.css
Normal 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
427
src/assets/normalize.css
vendored
Normal 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;
|
||||
}
|
||||
@@ -3,6 +3,7 @@
|
||||
<head>
|
||||
<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="/assets/nord.css">
|
||||
<link href="https://fonts.googleapis.com/css?family=Montserrat:200,300,400|Roboto:100,300,400" rel="stylesheet">
|
||||
|
||||
<title>Cameron's Website</title>
|
||||
@@ -27,6 +28,6 @@
|
||||
<!-- End Piwik Code -->
|
||||
</head>
|
||||
<body>
|
||||
<app-root></app-root>
|
||||
<app-root></app-root>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,25 +1,46 @@
|
||||
/* You can add global styles to this file, and also import other style files */
|
||||
@import "~@angular/material/prebuilt-themes/pink-bluegrey.css";
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
h1, h2, h3, p, span {
|
||||
font-family: Roboto, "Helvetica Neue", sans-serif;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.body-text {
|
||||
color: white;
|
||||
width: 50%;
|
||||
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) {
|
||||
.body-text {
|
||||
font-size: 14px;
|
||||
@@ -89,5 +110,5 @@ h1, h2, h3, p, span {
|
||||
}
|
||||
|
||||
.active {
|
||||
color: #1DAEDD;
|
||||
color: var(--nord7);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user