[ Home / Overboard / Stats ] [ Suggestions and Feedback / Off-topic ] [ Original Content / MetaOC ] [ very cool website / dead internet theory ] [ Search ]
[ Register / Settings / Log in ]

Suggestions and Feedback

Discuss topics related to the site, whether it be suggested improvements or complaints about a problem.

Thread list Index Catalog
Before posting, make sure to read the Rules (bottom of the screen)

[Return] [Thread list] [Index] [Catalog] [Bottom] | Replies: 43 | Views: 196 | Currently viewing: 1
Having Monocraft as a font for the site? Zoot_O No.57 Reply
File: 1786904224218.png (2.5 KB, 32x32, New Project (1).png) image
https://github.com/IdreesInc/Monocraft
IDK if it would be the hyperborean gem that saved the club or the brimstone that killed it
lazy_clucka No.58
>brimstone that kills the club
Why? It's a silly font, implement it
lazy_clucka No.59
Who on earth would start a shitstorm over it anyway
Zoot_O No.60

>>58
I will test it out on the club. I already downloaded it on my laptop and it looks fine.

>>59
Im mostly joking but with my two years of admin "experience" you can never know whats gonna be a fuel for drama

Zoot_O No.61

>8 days ago
it do be like that

I tried to install it on the server and changed the config and i dont think anything happened.

too2q No.62
>>61
this is a css thing from what i see, you apply it to a stylesheet: https://github.com/IdreesInc/Monocraft#on-your-website
also the server does deserve an update, it's on version 0.3.6 while the newest one is 0.7.0, will do that shortly
too2q No.63
>>62
permission denied again award
Zoot_O No.64

>>62
ahh i see. alright, will change the css, i also saw that but thought it wouldnt work that way

also i did run update and upgrade me thinks.
>>63
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, hold on

Zoot_O No.65
>>62
>stylesheet
changes were made in /opt/, right? I added it and restarted, but i dont see the change on the site.
Zoot_O No.66
>>65
>Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) from being executed because it violates the following directive: “script-src 'self' https://cdn.jsdelivr.net/gh/highlightjs/ https://cdn.jsdelivr.net/npm/katex@0.16.47/”. Consider using a hash ('sha256-6t8YOauL3I/AaCHMqxRPtYPVmjSTMzemQEtkQF70N64=') or a nonce.
Zoot_O No.67

>>66
tried using the hash, didnt work

i aint usin a nonce, nigga

too2q No.68

>>65
no you should literally just append it to the css, should just work

@font-face {
    font-family: 'Monocraft';
    src: url('https://cdn.jsdelivr.net/gh/IdreesInc/Monocraft@main/dist/Monocraft-ttf/Monocraft.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

>>66
yes, there is a whitelist for script and css domains in config so any unknown scripts aren't executed

Zoot_O No.69
>>68
yeah i added it to the ocg.css file in /opt/soruum
Zoot_O No.70
>>69
also, i think i added the monocract link to the whitelist?
too2q No.71
>>69
kek i got pemission denied literally in the middle of an update
Zoot_O No.72
>>71
opa, i think its because i tried restarting. sorry
too2q No.73
>>72
gotta figure out why it deletes ssh keys after restart
too2q No.74
>>70
it could be that it's just some extension trying to add inline javascript, i see only one error in the console but that's caused by uBlock, so not something that needs fixing, also fonts have their own separate whitelist
Zoot_O No.75
>>73
re added. could it be something to do with kyun? there's a specific section on the dashboard that allows only one ssh key. maybe when doing a restart it deletes any additional keys?
too2q No.76
>>75
yeah, it must be overwriting the keys with what is configured in the dashboard
Zoot_O No.77
>>76
though luck, ig we can make a suggestion to the devs to be able to add more than one key then.
too2q No.78
>>77
if there is any support panel, then yes, it shouldn't be difficult for them
Zoot_O No.79
>>74
also i do believe i added the font whitelist to the config.cong and added the monocraft link
Zoot_O No.80
>>78
i've sent mail
too2q No.81
>>79
you have edited the old file, the new one is in static/css/themes
that's because i've extracted the common part to a separate file, so now making new themes is as simple as changing a few colors
Zoot_O No.82

>>81
o_o

alright, hold on

Zoot_O No.83
>>82
done, added to ocg.ccs at the new location.
Zoot_O No.84
>>83
it appears in "inspect" but i dont see any change
too2q No.85

>>83
ok, add also something like this

body {
    font-family: 'Monocraft', arial,helvetica,sans-serif;
}

so its actually used on the website

too2q No.86
Zoot_O No.87
File: 1787942455749.png (9.2 KB, 403x44, image.png)
>>85
>>86
aha, so ig i need to manually add a line for stuff like the tite?
too2q No.88
>>87
only for things that have a specific font declared in common.css, which are currently hgroup h1 (a single selector, meaning h1 inside hgroup), and .link-button
Zoot_O No.89

>>88
btw i think i should add a bit more color to the css.

anyway, what do you think of the font? there are a few other similar "blocky" ones, this one seems a bit bulcky?

Not that i mind too much, but some of the sections are hard to read. it looked way better on my computer and laptop

too2q No.90
>>89
I think it just makes text unnecessarily spread horizontally, and the font is not really adjusted for being looked at for time longer than starting minecraft and joining a server
Zoot_O No.91

>>90

again, on my computer, the spread and thickness arent noticeable and looks fine.

we could goof around with the other fonts. theres a minecraft one which isnt monospaced, for example

Zoot_O No.92
actually, i think either scientifica or miracode would be better picks
Last edited
too2q No.93
>>92
the first one looks quite good
Zoot_O No.94
>>93
i like it too, will test it out
too2q No.95
I made the update finally, you will have to rebuild the posts because the URLs changed
too2q No.96
also the file got overwritten, but i copied it before update
Zoot_O No.97
>>95
rebuilded
Zoot_O No.98
>>68
would this work again if i download the file on github and replace the src link to local/share/fonts?
too2q No.99
>>98
it must be available for download for users, so in our case in static directory, maybe static/vendor/monocraft
Users browsing this thread: 0 invisible, 0 anonymous, and 1 bots.
[Return] [Thread list] [Index] [Catalog] [Top] | Replies: 43 | Views: 196 | Currently viewing: 1