diff --git a/assets/fonts/4Mini.ttf.eot b/assets/fonts/4Mini.ttf.eot new file mode 100644 index 0000000..9eb58a9 Binary files /dev/null and b/assets/fonts/4Mini.ttf.eot differ diff --git a/assets/fonts/4Mini.ttf.svg b/assets/fonts/4Mini.ttf.svg new file mode 100644 index 0000000..6fcb350 --- /dev/null +++ b/assets/fonts/4Mini.ttf.svg @@ -0,0 +1,111 @@ + diff --git a/assets/fonts/4Mini.ttf.woff b/assets/fonts/4Mini.ttf.woff new file mode 100644 index 0000000..1f83022 Binary files /dev/null and b/assets/fonts/4Mini.ttf.woff differ diff --git a/dist/css/main.css b/dist/css/main.css index fde6ae4..45089d4 100644 --- a/dist/css/main.css +++ b/dist/css/main.css @@ -1,97 +1 @@ -* { - box-sizing: border-box; } - -body { - background-color: #2a0349; - color: #f0f0fc; - font-family: monospace; - font-size: 1.1em; - line-height: 1.4; } - -a { - font-weight: bold; - color: #2a0349; - text-decoration: none; - transition: background-color 0.3s ease; } - -small { - color: #60199a; } - -h1, h2 { - color: #fcfcfc; } - -h3, h4 { - color: #caa7e6; } - -h2 { - border-bottom: 3px solid #60199a; - text-shadow: 3px 3px 0 #60199a; - text-transform: uppercase; } - -ul { - color: #60199a; - list-style-type: square; - padding-left: 1.5em; } - -li { - margin: 0.7em 0; - color: #f0f0fc; } - -header { - text-align: center; - padding: 1em; - background-color: #60199a; } - header strong { - color: #fcfcfc; } - header a { - color: #fcfcfc; } - -nav { - background-color: #b5ace7; - margin-bottom: 3em; } - nav h2 { - display: none; } - nav ul { - list-style-type: none; - display: flex; - flex-direction: row; - padding: 0; } - nav ul li { - flex: 1 1 100%; - margin: 0; } - nav ul li a { - display: block; - text-align: center; - text-transform: uppercase; - background-color: transparent; - padding: 0.3em; } - nav ul li a:hover { - background-color: #f0f0fc; } - -section { - padding-bottom: 1em; } - section a[href] { - background-color: #eb67c3; - padding: 1px 3px; } - section a[href]:hover { - background-color: #eba6d6; } - section a[name] { - display: none; } - -footer { - text-align: center; - color: #60199a; } - -.overview, nav ul, #main { - max-width: 800px; - min-width: 320px; - padding: 0 1em; - margin: 0 auto; } - -#to-top { - position: fixed; - bottom: 1em; - right: 1em; } - #to-top a { - background-color: #60199a; - padding: 1px 3px; } +*{box-sizing:border-box}body{background-color:#2a0349;color:#f0f0fc;font-family:monospace;font-size:1.1em;line-height:1.4}a{font-weight:bold;color:#2a0349;text-decoration:none;transition:background-color 0.3s ease}small{color:#60199a}h1,h2{font-family:'4Mini', monospace;color:#fcfcfc}h1 .sitename{text-shadow:5px 5px 0 #2a0349}h3{font-family:'4Mini', monospace;text-transform:uppercase;color:#caa7e6}h2{font-family:'4Mini', monospace;text-transform:uppercase;border-bottom:3px solid #60199a;text-shadow:3px 3px 0 #60199a}ul{color:#60199a;list-style-type:square;padding-left:1.5em}li{margin:0.7em 0;color:#f0f0fc}header{text-align:center;padding:1em;background-color:#60199a}header strong{color:#fcfcfc}header a{color:#fcfcfc}nav{background-color:#b5ace7;margin-bottom:3em}nav h2{display:none}nav ul{list-style-type:none;display:flex;flex-direction:row;padding:0}nav ul li{flex:1 1 100%;margin:0}nav ul li a{font-family:'4Mini', monospace;text-transform:uppercase;display:block;text-align:center;background-color:transparent;text-shadow:2px 2px 0 #f0f0fc;padding:0.3em}nav ul li a:hover{background-color:#f0f0fc}section{padding-bottom:1em}section a[href]{background-color:#eb67c3;padding:1px 3px}section a[href]:hover{background-color:#eba6d6}section a[name]{display:none}footer{text-align:center;color:#60199a}.overview,nav ul,#main{max-width:800px;min-width:320px;padding:0 1em;margin:0 auto}#to-top{position:fixed;bottom:1em;right:1em}#to-top a{background-color:#60199a;padding:1px 3px} diff --git a/dist/css/noncrit.css b/dist/css/noncrit.css new file mode 100644 index 0000000..16182d8 --- /dev/null +++ b/dist/css/noncrit.css @@ -0,0 +1 @@ +@font-face{font-family:'4Mini';src:url("../../assets/fonts/4Mini.ttf.woff") format("woff"),url("../../assets/fonts/4Mini.ttf.svg#4Mini") format("svg"),url("../../assets/fonts/4Mini.ttf.eot"),url("../../assets/fonts/4Mini.ttf.eot?#iefix") format("embedded-opentype");font-weight:normal;font-style:normal} diff --git a/index.html b/index.html index f91ee41..d9730a4 100644 --- a/index.html +++ b/index.html @@ -16,7 +16,7 @@
Neil McCallion - web developer, technical lead and platform evangelist.
Currently Head of Frontend Development at the mighty +rehabstudio.
@@ -39,7 +39,7 @@©2016 njmcode.