This commit is contained in:
Flummi 2019-05-20 04:14:48 +00:00
parent 2a5651c00a
commit 5ff96cdf5e
11 changed files with 152 additions and 9 deletions

BIN
public/css/Cyberfall.woff2 Normal file

Binary file not shown.

View File

@ -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*/ /*Theming*/
:root { :root {
--primary-color: #302AE6; --primary-color: #302AE6;
@ -36,6 +42,12 @@ div#header, div#footer {
background-color: #292922; background-color: #292922;
} }
#header {
display: grid;
grid-template-columns: 1fr 6fr 1fr;
grid-gap: 0;
}
#logoHead { #logoHead {
margin: 6px 0 0 4px; margin: 6px 0 0 4px;
padding: 0; padding: 0;
@ -67,12 +79,12 @@ div#header, div#footer {
#pagePosition span, #itemPosition span { #pagePosition span, #itemPosition span {
color: #9d9b8a; color: #9d9b8a;
} }
#pagePosition { /*#pagePosition {
display: block; display: block;
} }
#itemPosition { #itemPosition {
display: none; display: none;
} }*/
div#content { div#content {
position: relative; position: relative;
@ -92,3 +104,84 @@ div#howtowrapper {
background-color: rgba(0, 0, 0, 0.9); background-color: rgba(0, 0, 0, 0.9);
z-index: 999; 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;
}

Binary file not shown.

Binary file not shown.

View File

@ -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.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 594 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 KiB

View File

@ -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; const next = rt.items.act === null || rt.items.act === itemid ? 1 : rt.items.act > itemid ? 2 : 0;
lib.showLayer("item", next === 1); lib.showLayer("item", next === 1);
rt.ct.header.itempos.innerHTML = `item ${itemid}`; rt.ct.header.itempos.innerHTML = `${itemid}`;
const item = await lib.getItem(itemid); const item = await lib.getItem(itemid);
item.dest = item.dest.replace(/^\./, ""); item.dest = item.dest.replace(/^\./, "");

View File

@ -14,9 +14,7 @@
<body> <body>
<div class="pageWrapper"> <div class="pageWrapper">
<div class="page" id="header"> <div class="page" id="header">
<h1 id="logoHead"><a href="/"><img id="logo" src="/img/f0ck_logo.png"></a></h1> <h1 id="logoHead"><a href="/"><img id="logo" src="/img/f0ckv2_logo_test_v1.5.png"></a></h1>
<div id="pagePosition"></div>
<div id="itemPosition"></div>
<div id="itemInfo"> <div id="itemInfo">
<div class="infoText"> <div class="infoText">
<span id="itemTitle">blah</span> // <span id="itemTitle">blah</span> //
@ -26,6 +24,14 @@
<span id="itemTime" time=""></span> by <span id="itemTime" time=""></span> by
<span id="itemNick">blah</span> on <span id="itemNick">blah</span> on
<span id="itemChannel">#f0ck</span> <span id="itemChannel">#f0ck</span>
</div>
<span id="debug">
<a>random</a>
</span>
</div>
<div class="itemNumber">
<div id="pagePosition"></div>
<div id="itemPosition">
</div> </div>
</div> </div>
</div> </div>
@ -72,9 +78,6 @@
</div> </div>
</div> </div>
<div class="page" id="footer">Made with 666 souls in mind and 2 liters of fresh virgin blood <div class="page" id="footer">Made with 666 souls in mind and 2 liters of fresh virgin blood
<span id="debug">
<a>random</a>
</span>
</div> </div>
</div> </div>
<script src="/js/f0ck.js" type="module" defer></script> <script src="/js/f0ck.js" type="module" defer></script>