diff --git a/assets/css/icons.css b/assets/css/icons.css new file mode 100644 index 0000000..a5da83e --- /dev/null +++ b/assets/css/icons.css @@ -0,0 +1,30 @@ +@font-face { + font-family: 'icomoon'; + src: url('/assets/fonts/icomoon.eot?ybqupz'); + src: url('/assets/fonts/icomoon.eot?ybqupz#iefix') format('embedded-opentype'), + url('/assets/fonts/icomoon.ttf?ybqupz') format('truetype'), + url('/assets/fonts/icomoon.woff?ybqupz') format('woff'), + url('/assets/fonts/icomoon.svg?ybqupz#icomoon') format('svg'); + font-weight: normal; + font-style: normal; +} + +[class^="pretendo-icon-"], [class*=" pretendo-icon-"] { + /* use !important to prevent issues with browser extensions that change fonts */ + font-family: 'icomoon' !important; + speak: none; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + line-height: 1; + font-size: 1em; + + /* Better Font Rendering =========== */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.pretendo-icon-pretendo-logo:before { + content: "\e900"; +} diff --git a/assets/css/pretendo.css b/assets/css/pretendo.css index aea7140..fdc7dec 100644 --- a/assets/css/pretendo.css +++ b/assets/css/pretendo.css @@ -1,3 +1,4 @@ + /* pretendo.css - @@ -13,8 +14,8 @@ sets the background */ .hp-background { - -webkit-filter: grayscale(100%); - filter: grayscale(100%); + -webkit-filter: brightness(30%) grayscale(100%); + filter: brightness(30%) grayscale(100%); min-height: 100%; min-width: 100%; width: 100%; @@ -52,6 +53,7 @@ title text font-family: "Overpass Mono", monospace; font-size: 500%; line-height: 0; + color: white; } @@ -64,19 +66,40 @@ main text font-family: "Space Mono", monospace; font-size: 150%; + color: white; } /* -icon +font awesome icon container stylings */ +.icons { + + margin-top: 10px; + font-size: 1.75em; + +} + +.icons > a:not(:first-child) > .icon, .icons > .icon:not(:first-child) { + + margin-left: 20px; + +} + .icon { + + -webkit-transition: color 1s; + transition: color 1s; + color: white; + border: 0; + +} - position: relative; - height: 10%; - width: 10%; - +.icon:hover { + + color: black; + } \ No newline at end of file diff --git a/assets/fonts/icomoon.eot b/assets/fonts/icomoon.eot new file mode 100644 index 0000000..01476ee Binary files /dev/null and b/assets/fonts/icomoon.eot differ diff --git a/assets/fonts/icomoon.svg b/assets/fonts/icomoon.svg new file mode 100644 index 0000000..1e28f37 --- /dev/null +++ b/assets/fonts/icomoon.svg @@ -0,0 +1,11 @@ + + + +Generated by IcoMoon + + + + + + + \ No newline at end of file diff --git a/assets/fonts/icomoon.ttf b/assets/fonts/icomoon.ttf new file mode 100644 index 0000000..89ee3a7 Binary files /dev/null and b/assets/fonts/icomoon.ttf differ diff --git a/assets/fonts/icomoon.woff b/assets/fonts/icomoon.woff new file mode 100644 index 0000000..e022c7a Binary files /dev/null and b/assets/fonts/icomoon.woff differ diff --git a/assets/images/bg.gif b/assets/images/bg1.gif similarity index 100% rename from assets/images/bg.gif rename to assets/images/bg1.gif diff --git a/assets/images/bg2.gif b/assets/images/bg2.gif new file mode 100644 index 0000000..17aa4e8 Binary files /dev/null and b/assets/images/bg2.gif differ diff --git a/assets/js/index.js b/assets/js/index.js new file mode 100644 index 0000000..35b2976 --- /dev/null +++ b/assets/js/index.js @@ -0,0 +1,29 @@ +/* + +index.js - +the main javascript file + +*/ + +// set some variables +var bg = document.getElementById("hp-bg"), + index = 0, + imageList = [ "/assets/images/bg1.gif", "/assets/images/bg2.gif" ] + +// set the first image +bg.src = imageList[index] +index++ + +setInterval(() => { + + if (index === imageList.length) { + + index = 0 + + } + + bg.src = imageList[index] + + index++ + +}, 5000) \ No newline at end of file diff --git a/views/home.hbs b/views/home.hbs index d81b285..612d121 100644 --- a/views/home.hbs +++ b/views/home.hbs @@ -1,25 +1,46 @@ + + + + {{> head }} - {{> head }} + pretendo - +
-

pretendo

+

pretendo

+
an accurate-as-possible server emulation project for
nintendo consoles that use nintendo network
+ +
+ + + + + + +
+ + - + \ No newline at end of file diff --git a/views/partials/head.hbs b/views/partials/head.hbs index a898056..10f9d38 100644 --- a/views/partials/head.hbs +++ b/views/partials/head.hbs @@ -1,14 +1,14 @@ - + - + - + + - -pretendo + \ No newline at end of file