Register - Login
Views: 99830337
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
05-03-22 09:10:29 PM
Jul - General Chat - New FFFFEATURE (BETA) New poll - New thread - New reply
Pages: 1 2Next newer thread | Next older thread
Tiden
Disgusting human being, just awful
Level: NaN


Posts: 5503/-6493
EXP: NaN
For next: 0

Since: 07-03-07

Pronouns: they/them

Since last post: 4.1 years
Last activity: 3.6 years

Posted on 03-14-10 07:41:48 AM (last edited by hydrapheetz at 03-14-10 05:10 AM) Link | Quote
For a while now, I've been wanting to implement a feature on the board that would make it easier for users to make their own schemes without needing either Xkeeper or I to add them.

I'm just getting around to implmenting it. Introducing the NullScheme™ a special scheme that removes the default stylesheet from each page load, allowing you (the user) to specify a custom stylesheet through something like a user stylesheet (in Opera) or the Stylish extension (in Chrome and Firefox.)

Who knows, maybe if your scheme is good enough, we might consider adding it to the board... maybe.

THE INSTRUCTIONS

Opera



      First off, you'll need to edit Jul's site preferences. Do this by right clicking anywhere on the page and selecting "Edit Site Preferences":
      Next, you'll need to find the stylesheet you want to use on the site. Go to the "Display" tab in the site preferences dialog and select "Choose":
      Once that's done, you'll need to go to the "Manage Modes..." dialog to get the user stylesheet working correctly. Select ViewStyleManage Modes... from the menu. Be sure to select "User Mode" from here as well.
      In the "Style Options" dialog, make sure that both "Page style sheet" and "Page fonts and colors" ARE selected:


Chrome


Open Chrome, and go to the extensions window. Select "Get more extensions»", and do a search for "Stylish" and install the first extension on the list.

After that, you'll need to go back to the extensions list and configure Stylish. Click "Add new style" and paste in the stylesheet you want to use.



Lastly (but not leastly) is the mostly-documented stylesheet that will act as a template for your own schemes. Go nuts!


/* Jul NullCSS template! 

* most of the colors have been lifted from the Night scheme (the default)
* the style classes (and what they do) will be documented here. */

/* the following style declaration will apply a no-text-decoration and
* bolding to all links.
*
* the visited psuedo-element (a:visited) is pretty obvious, it's a link
* that has already been visited
*
* the hover psuedo-element (a:hover) is for when you're hovering over a link
*
* the active psuedo-element (a:active) is for when a link has been selected */

/* TODO: fix these later, maybe through userjs? */
#f_ikachan, #f_doomcounter, #f_mustbeblind { display: none; }

a:link, a:visited, a:active, a:hover { text-decoration: none; font-weight: bold; }

/* The link colors also need to be defined, as well. */

a { color: #BEBAFE; }
a:visited { color: #9990c0; }
a:active { color: #CFBEFF; }
a:hover { color: #CECAFE; }

body {
color: #DDD;
font: 13px sans-serif;
background: #000F1F url('http://xkeeper.rustedlogic.net/img/starsbg.png')
}

/* the following classes also need to be defined:
.font - font size and family
.fonth - same as above but for table headers
.fonts - smaller fonts
.fontt - smallest fonts

.center - center-aligned text
.right - right-aligned text
.table - general table styling
.tbl - bottom-right corners of tables

.tdbg1 - default table cell background;
.tdbg2 - alternate background color for table cells
.tdbgc - forum category table cells
.tdbgh - table headers
*/

font { font: sans-serif; }
.font { font:13px; }
.fonth { font:13px; }
.fonts { font:10px; }
.fontt { font:10px; }

.tdbg1 { background: #111133; }
.tdbg2 { background: #11112B; }
.tdbgc { background: #2F2F5F; }
.tdbgh { background: #302048; }

.center { text-align: center; }
.right { text-align: right; }

.table { empty-cells: show;
border: 1px solid #000;
border-width: 1px 0 0 1px;
width: 100%;
}

td.tbl { border: 1px solid #000; border-width: 0 1px 1px 0; }
code {
overflow: auto;
width: 100%;
white-space: pre;
display: block;
}
code br { display: none; }

/* next, the forms will need to be styled.
Each input type (radio, checkbox, submit) will need to be styled, as
well as the select and textarea elements */

input { background: #000; color: #FFF; border: 1px solid black; }
textarea { background: #000; color: #FFF; font-family: monospace; }



____________________
JOIN #PROG YOU JERKS.

Tiden
Disgusting human being, just awful
Level: NaN


Posts: 5504/-6493
EXP: NaN
For next: 0

Since: 07-03-07

Pronouns: they/them

Since last post: 4.1 years
Last activity: 3.6 years

Posted on 03-14-10 07:44:36 AM Link | Quote
If you're wondering why there aren't instructions for Firefox w/ Stylish yet, I haven't gotten around to that

____________________
JOIN #PROG YOU JERKS.

Rambly

Level: 106


Posts: 1238/3083
EXP: 12578019
For next: 93924

Since: 07-22-07

Pronouns: she/her

Since last post: 279 days
Last activity: 263 days

Posted on 03-14-10 08:10:04 AM (last edited by Kyargu at 03-14-10 05:12 AM) Link | Quote

.table { empty-cells; show;


Might wanna change that semicolon in your template

Anyway, I'm about to give this a shot. Wish me luck!
Shadic
Alakadoof?
Level: 151


Posts: 4662/6929
EXP: 42379992
For next: 916484

Since: 07-22-07

Pronouns: he/him
From: Olympia, WA

Since last post: 6 days
Last activity: 1 day

Posted on 03-14-10 08:24:12 AM Link | Quote
Tiden
Disgusting human being, just awful
Level: NaN


Posts: 5505/-6493
EXP: NaN
For next: 0

Since: 07-03-07

Pronouns: they/them

Since last post: 4.1 years
Last activity: 3.6 years

Posted on 03-14-10 08:36:50 AM Link | Quote
incoming awesome, just put this in a userjs file (if possible):


var shineify = document.images[1];

var canvas = document.createElement("canvas")
canvas.width = shineify.width;
canvas.height = shineify.height;
var context = canvas.getContext('2d')

var grad = context.createLinearGradient(0,0,0,shineify.height)
grad.addColorStop(0,'rgba(255,255,255,0.5)')
grad.addColorStop(1,'rgba(0,0,0,0.0)')


context.drawImage(shineify, 0, 0, shineify.width, shineify.height, 0, 0, shineify.width, shineify.height)
context.beginPath()
context.moveTo(0,Math.round(shineify.height*0.75))
context.quadraticCurveTo(shineify.width/2,0,shineify.width,shineify.height/4)
context.lineTo(shineify.width,0)
context.lineTo(0,0)
context.fillStyle = grad;
context.fill()

shineify.parentNode.replaceChild(canvas, shineify)





____________________
JOIN #PROG YOU JERKS.

Rambly

Level: 106


Posts: 1239/3083
EXP: 12578019
For next: 93924

Since: 07-22-07

Pronouns: she/her

Since last post: 279 days
Last activity: 263 days

Posted on 03-14-10 08:59:04 AM Link | Quote
I was trying to write a theme for Firefox's Stylish extension then I gave up after realizing how horrible it was compared to Opera's UserCSS and Chrome's version of Stylish

However at least the shiny logo Javascript works perfectly in Greasemonkey!
Tiden
Disgusting human being, just awful
Level: NaN


Posts: 5506/-6493
EXP: NaN
For next: 0

Since: 07-03-07

Pronouns: they/them

Since last post: 4.1 years
Last activity: 3.6 years

Posted on 03-14-10 09:09:42 AM Link | Quote
Originally posted by Kyargu
However at least the shiny logo Javascript works perfectly in Greasemonkey!

The only problem with that is if the image loads after the javascript executes, it'll be much smaller than it really should be. I've already figured out how to fix this (thank god for event handlers!) \o/

____________________
JOIN #PROG YOU JERKS.

Sanqui
2060
💛🤍💜🖤🦉
Level: 87


Posts: 71/2066
EXP: 6311673
For next: 81101

Since: 12-20-09

Pronouns: any ✨
From: Czechia | Estonia

Since last post: 15 days
Last activity: 1 day

Posted on 03-14-10 11:59:01 AM (last edited by Sanky at 03-14-10 08:59 AM) Link | Quote
Originally posted by hydrapheetz
incoming awesome, just put this in a userjs file (if possible):



You can just paste it in the javascript console, if you've got Chrome. It isn't permanent, though..
(I don't know how to change the userjs file :/)

____________________
My small activity graph: wait nevermind, okay I figured out that after many many years of posting my old posts would gain really wide and it would break things and you'd get all angry on me and stuff
Sukasa

Level: 123


Posts: 2211/4326
EXP: 20936844
For next: 294422

Since: 07-07-07


Since last post: 1.1 years
Last activity: 1.1 years

Posted on 03-14-10 04:28:41 PM Link | Quote

You know it's pretty easy to write an extension for Chrome >>

____________________
<@Bitmap> Be completely humble and gentle;
<@Bitmap> And tell them to shut the fuck up
Rena
I had one (1) message in Discord deleted and proceeded to make a huge, huge mess about how it was a violation of free speech and how moderators are supposed to be spam janitors and nobody should have the right to tell me not to talk about school shootings
Level: 135


Posts: 2904/5390
EXP: 29077138
For next: 257867

Since: 07-22-07

Pronouns: he/him/whatever
From: RSP Segment 6

Since last post: 342 days
Last activity: 342 days

Posted on 03-14-10 06:24:21 PM Link | Quote
03-14-10 01:24:21 PM
Post #2904
See I've always wished a lot of boards had this feature, but here I happen to like the existing theme.

____________________


witty comment
why not?
Ninji

Birdo
Why did my user title say I'm a toaster anyway
Level: 88


Posts: 1545/2014
EXP: 6638936
For next: 11728

Since: 07-26-07

Pronouns: he/him or they/them
From: Glasgow, Scotland

Since last post: 114 days
Last activity: 6 days

Posted on 03-14-10 11:21:01 PM Link | Quote
Originally posted by Kyargu
I was trying to write a theme for Firefox's Stylish extension then I gave up after realizing how horrible it was compared to Opera's UserCSS and Chrome's version of Stylish
It is quite terrible

I made my own theme, but Firefox Stylish screws up the form fields and links. Isn't that great?

Here's a screenshot (thanks to ZScreen for jpg'ing it): http://treeki.shacknet.nu/lolnewtheme3.jpg

____________________
[20:07:36] @Treeki: ikachan say something funny I can put in my signature
[20:07:41] @Ikachan: And it was funny in the can with a syringe.
Hacking Tools: NSMB Editor 5 · Nitro / NARC Explorer
Current Project: Reggie! - NSMBWii Level Editor
Tiden
Disgusting human being, just awful
Level: NaN


Posts: 5509/-6493
EXP: NaN
For next: 0

Since: 07-03-07

Pronouns: they/them

Since last post: 4.1 years
Last activity: 3.6 years

Posted on 03-15-10 01:39:12 AM Link | Quote
Originally posted by Treeki
http://treeki.shacknet.nu/lolnewtheme3.jpg

... Wow, this actually looks pretty nice

____________________
JOIN #PROG YOU JERKS.

Rambly

Level: 106


Posts: 1240/3083
EXP: 12578019
For next: 93924

Since: 07-22-07

Pronouns: she/her

Since last post: 279 days
Last activity: 263 days

Posted on 03-15-10 09:37:29 AM Link | Quote
I'm using it right now. It's awesome, and way better than what I was trying to make.
Tyty

Level: 165


Posts: 7132/8599
EXP: 58676666
For next: 259015

Since: 07-07-07


Since last post: 9.8 years
Last activity: 9.8 years

Posted on 03-16-10 12:13:39 AM (last edited by Tyty at 03-15-10 09:29 PM) Link | Quote
I'd just like to say, that the board is hilarious to use with null and no custom skin :V

EDIT: You also get to see how many people don't set their damn font colours because tehy assume everyone uses a dark scheme. (Sukasa, HyperHacker)

____________________


devin

Yoshi
i'm mima irl
Level: 112


Posts: 1034/3519
EXP: 14932810
For next: 405395

Since: 04-29-08

Pronouns: any
From: FL

Since last post: 307 days
Last activity: 3 days

Posted on 03-16-10 12:43:26 AM Link | Quote
Originally posted by Tyty
EDIT: You also get to see how many people don't set their damn font colours because tehy assume everyone uses a dark scheme. (Sukasa, HyperHacker)



____________________
new layout coming soon
plushifoxed

King Yoshi
la chica dijo...

Mood: The current mood of roxiemika at www.imood.com
Level: 119


Posts: 2568/3990
EXP: 18466836
For next: 462455

Since: 08-22-07

Pronouns: it/its or she/her
From: kamihama city

Since last post: 2 days
Last activity: 1 day

Posted on 03-16-10 12:46:18 AM Link | Quote
Supakitsune
Originally posted by Treeki
Here's a screenshot (thanks to ZScreen for jpg'ing it): http://treeki.shacknet.nu/lolnewtheme3.jpg
Do freaking want. I would gladly switch from GarBG for this.

...No offense, Fifo.

____________________

Hey! YOU! Yeah, you, with the face! Come fold some proteins with us! For SCIENCE!
Supakitsune's Tumbln' Thoughts - Catch me on Twitter!
Transforming cats into robots since 1989!
Posted on 03-16-10 12:47:24 AM Link | Quote

Lain's post №782

FFFFUCK YEAH!

I am really going to have to attempt a theme soon. Fo' sho'.

____________________
krutomisi
2480
Level: 94


Posts: 197/2481
EXP: 8266019
For next: 90638

Since: 02-01-10


Since last post: 241 days
Last activity: 181 days

Posted on 03-16-10 12:52:16 AM Link | Quote

I'd try my hand at this,
but every time I try to choose a
background and font color, for anything,
I end up with black and white

Yeah, go variation!

____________________
Taryn

Passed away.

Thanks for being a part of us, even if it wasn't always on the best of terms.

1987-2014


Level: 204


Posts: 6189/14742
EXP: 121753602
For next: 1596216

Since: 09-01-09

From: Seattle

Since last post: 10.1 years
Last activity: 9.8 years

Posted on 03-16-10 12:54:53 AM Link | Quote
I might try my hand at a theme once school and work stop being bitches. I'm not sure though.

____________________
TKB Super Mario Bros.
Tyty

Level: 165


Posts: 7134/8599
EXP: 58676666
For next: 259015

Since: 07-07-07


Since last post: 9.8 years
Last activity: 9.8 years

Posted on 03-16-10 01:24:56 AM (last edited by Tyty at 03-15-10 10:39 PM) Link | Quote
Okay. For some reason, the main font REFUSES to be smaller. It keeps displaying at a huge size, and it's annoying. :|

EDIT: NEVERMIND. Fixed it. It needs to be "font-family" and "font-size" :V

____________________


Pages: 1 2Next newer thread | Next older thread
Jul - General Chat - New FFFFEATURE (BETA) New poll - New thread - New reply


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

33 database queries, 6 query cache hits.
Query execution time: 0.093337 seconds
Script execution time: 0.039792 seconds
Total render time: 0.133129 seconds