|
Post by tsundere shark on Dec 14, 2013 19:59:22 GMT -8
on jcink, how do you get the code boxes smaller and have the "highlight all" option? I looked for a code and didn't find anything. And editing the css for the code boxes doesn't seem to do jack shit. But I've seen other jcink sites with it, so I was just wondering how it was done.
|
|
|
Post by Pool Boy on Dec 14, 2013 21:41:20 GMT -8
try this in cssand do play around with the colors
idk what does the highlight all option. its probably some sort of hack you can find through google or on jcink support
code { margin:0px 100px; height:150px; overflow:auto; background-color:#000000; color:#FFFFFF; padding:15px; border:#AAAAAA 15px solid; }
there might be another element name called code in the default css, so you'll want to replace it with this or it won't work.
|
|
the greatest general under the heavens
|
Post by Egao, Egao Everywhere on Dec 14, 2013 21:55:46 GMT -8
There's ether Black's or Jawn's. For either of them, you just look for the certain class they're using in their code and add a width to it. I forgot what particular classes you'd need to edit for it but fiddling around should eventually get you to the right one.
|
|
|
Post by tsundere shark on Dec 15, 2013 14:11:16 GMT -8
I used black's, and I think I put everything where it's supposed to go, but it isn't working. :/
|
|
the greatest general under the heavens
|
Post by Egao, Egao Everywhere on Dec 15, 2013 18:23:32 GMT -8
I use Black's too. Try using this:
.code-contents { max-width: 300px; max-height: 150px; overflow-y: auto; overflow-x: hidden; padding: 10px; }
and get rid of the # in the id #CODE because I recall it clashing with that one.
|
|
|
Post by tsundere shark on Dec 15, 2013 19:43:38 GMT -8
Still didn't work x__x'
|
|
|
Post by tsundere shark on Dec 23, 2013 22:11:19 GMT -8
Welp I've tried everything here and nothing will change the code boxes at all, size-wise. I got rid of everything so if someone wants to just do it for me, at least make it so the css does things, I'd be happs. Couldn't figure out what I was doing wrong. xox
|
|
the greatest general under the heavens
|
Post by Egao, Egao Everywhere on Dec 23, 2013 23:25:52 GMT -8
Oh sorry didn't see you post back. I'll go fix it right now. I think that's my job actually. /flies away
|
|
the greatest general under the heavens
|
Post by Egao, Egao Everywhere on Dec 23, 2013 23:50:01 GMT -8
All fixed. I think there was a conflict of codes because I just remembered I had a problem like that back then. You can find the class in the style sheets as code-contents. I also sized and centered it for you.
|
|
|
Post by tsundere shark on Dec 24, 2013 9:12:46 GMT -8
Thanks so much!! ^o^
|
|
|
Post by tsundere shark on Aug 18, 2014 18:28:27 GMT -8
lol... i need help with this again. making a new site, used the same code there, and code boxes still won't change at all. is there something in the wrapper i need to get rid of or what? message me for the site link, i don't want anyone seeing it yet >o<
|
|