diff --git a/public/css/Cyberfall.woff2 b/public/css/Cyberfall.woff2 new file mode 100644 index 0000000..b218d9a Binary files /dev/null and b/public/css/Cyberfall.woff2 differ diff --git a/public/css/f0ck.css b/public/css/f0ck.css index 2728fc2..b3ea231 100644 --- a/public/css/f0ck.css +++ b/public/css/f0ck.css @@ -1,3 +1,9 @@ +@font-face { + font-family: "Cyberfall"; + src:url(https://f0ck.it/uploads/Cyberfall.otf) format("opentype"); + src: url("/css/Cyberfall.woff2") format("woff") +} + /*Theming*/ :root { --primary-color: #302AE6; @@ -36,6 +42,12 @@ div#header, div#footer { background-color: #292922; } +#header { + display: grid; + grid-template-columns: 1fr 6fr 1fr; + grid-gap: 0; +} + #logoHead { margin: 6px 0 0 4px; padding: 0; @@ -67,12 +79,12 @@ div#header, div#footer { #pagePosition span, #itemPosition span { color: #9d9b8a; } -#pagePosition { +/*#pagePosition { display: block; } #itemPosition { display: none; -} +}*/ div#content { position: relative; @@ -92,3 +104,84 @@ div#howtowrapper { background-color: rgba(0, 0, 0, 0.9); z-index: 999; } + +#itemInfo { + position: absolute; + background: #191b1b; + border-bottom-right-radius: 5px; + color: aliceblue; + padding: 5px; + left: auto; + right: auto; + top: auto; + border-right: 1px solid white; + border-bottom: 1px solid white; +} + +#logoHead { + margin: 10px; +} + +div#header, div#footer { + z-index: 9999; + background-color: #23232199; + box-shadow: 2px 2px 2px black; + border-bottom: 1px solid white; +} + +#itemSource { + + color: #04c33e; + position: relative; + top: -3px; + text-shadow: 1px 1px 1px black; + +} + +#itemInfo { + position: unset; + background: #191b1b; + color: aliceblue; + padding: 5px; + left: auto; + right: auto; + top: auto; + grid-row-start: 0; + border: 0; +} + +#itemPosition { + display: block; + grid-row-start: -1; + position: absolute; + color: lime; + text-shadow: 1px 1px black; + font-family: monospace; +} + + + +#itemInfo { + position: unset; + background: #191b1b; + color: aliceblue; + padding: 5px; + left: auto; + right: auto; + top: auto; + height: auto; + text-align: center; +} + +.infoText { + font-family: monospace; +} + +div#itemPosition { + font-family: Cyberfall; + font-size: 290%; + background: transparent; + text-align: right; + padding-right: 5px; + text-shadow: 0px 0px 8px #04c33e; +} \ No newline at end of file diff --git a/public/fonts/Cyberfall/Cyberfall Italic.otf b/public/fonts/Cyberfall/Cyberfall Italic.otf new file mode 100644 index 0000000..120ab7b Binary files /dev/null and b/public/fonts/Cyberfall/Cyberfall Italic.otf differ diff --git a/public/fonts/Cyberfall/Cyberfall.otf b/public/fonts/Cyberfall/Cyberfall.otf new file mode 100644 index 0000000..1164dea Binary files /dev/null and b/public/fonts/Cyberfall/Cyberfall.otf differ diff --git a/public/fonts/Cyberfall/Font License.txt b/public/fonts/Cyberfall/Font License.txt new file mode 100644 index 0000000..93a2b33 --- /dev/null +++ b/public/fonts/Cyberfall/Font License.txt @@ -0,0 +1,47 @@ +Shareware/ Font License + +Pixel Sagas Freeware Fonts EULA (End User License Agreement) and Software Inclusion Agreement + +"Purchaser" and "User" may be used interchangeably in this agreement. + +"Pixel Sagas" and "Neale Davidson" may be used interchangeably in this agreement. These all refer to the intellectual and legal property of Neale Davidson. + +Usage + +Pixel Saga's Shareware Fonts are free to use for personal, non-commercial purposes. No payment is necessary to use Pixel Saga's Freeware Fonts for personal use, and there is no limit to the amount of prints, pages, or other medium to be produced using them. However, you cannot offer the font for commercial sale, or offer for direct download. The inclusion othe font name and/or site URL in the credits or documentation when it is used is appreciated, but this is not mandatory. + +Payment + +Payment is not required for the use of Pixel Saga's Shareware Fonts. Commercial use requires a modest fee which can be paid through the pixelsagas.com web site through Paypal.com's services. The transaction receipt for any shareware "commercial license" purchase will suffice as proof of license. + +Support + +Font installation help is available at http://www.pixelsagas.com. If you experience problems with any Pixel Saga's Freeware font (such as spacing issues or missing characters), please verify that you have the correct and current version of the fonts. In the case of Freeware fonts, downloading the font directly from the Pixel Sagas site will ensure that the font files have not been altered. + +Software Inclusion Agreement + +Pixel Saga's software products are protected by copyright laws and International copyright treaties, as well as other intellectual property laws and treaties. All Pixel Saga's software products are licensed, not sold. + +1) GRANT OF LICENSE + +This document grants the user the following rights: + +Installation and Use. The user may install and use an unlimited number of copies of the software product. The user may not offer Pixel Sagas freeware fonts for direct download unless the user has received explicit, written permission from Neale Davidson. Otherwise please direct users to the http://www.pixelsagas.com website. Pixel Sagas freeware fonts may, however, be embedded for web, publication, or general software use. + +2) WARRANTIES + +None + +Pixel Sagas expressly disclaims any warranty for the software product. The software product and any related documentation is provided "as is" without warranty of any kind, either express or implied, including, without limitation, the implied warranties or merchantability, fitness for a particular purpose, or non-infringement. The entire risk arising out of use or performance of the software product remains with the user. + +No Liability For Consequential Damages. + +In no event shall Neale Davidson or Pixel Sagas be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or any other pecuniary loss) arising out of the use of or inability to use this product, even if Pixel Sagas has been advised of the possibility of such damages. + +3) MISCELLANEOUS + +Should the user have any questions concerning this document or you desire to contact Neale Davidson for any reason, please email jaynz@pixelsagas.com . + +Governing Law + +This agreement is governed by and subject to the laws of the United States of America. diff --git a/public/img/f0ck_logo.png b/public/img/f0ck_logo.png index 3b66703..936364b 100644 Binary files a/public/img/f0ck_logo.png and b/public/img/f0ck_logo.png differ diff --git a/public/img/f0ck_logo_alt.png b/public/img/f0ck_logo_alt.png new file mode 100644 index 0000000..3b66703 Binary files /dev/null and b/public/img/f0ck_logo_alt.png differ diff --git a/public/img/f0ckv2_logo_test_v1.5.png b/public/img/f0ckv2_logo_test_v1.5.png new file mode 100644 index 0000000..6d50863 Binary files /dev/null and b/public/img/f0ckv2_logo_test_v1.5.png differ diff --git a/public/img/f0ckv2_logo_test_v1.png b/public/img/f0ckv2_logo_test_v1.png new file mode 100644 index 0000000..2bc4283 Binary files /dev/null and b/public/img/f0ckv2_logo_test_v1.png differ diff --git a/public/js/events.js b/public/js/events.js index 6e84c66..fe3f894 100644 --- a/public/js/events.js +++ b/public/js/events.js @@ -74,7 +74,7 @@ events.hashchange = async e => { const next = rt.items.act === null || rt.items.act === itemid ? 1 : rt.items.act > itemid ? 2 : 0; lib.showLayer("item", next === 1); - rt.ct.header.itempos.innerHTML = `item ${itemid}`; + rt.ct.header.itempos.innerHTML = `${itemid}`; const item = await lib.getItem(itemid); item.dest = item.dest.replace(/^\./, ""); diff --git a/views/index.html b/views/index.html index e4ed9f6..474da2d 100644 --- a/views/index.html +++ b/views/index.html @@ -14,9 +14,7 @@
@@ -72,9 +78,6 @@