[UH Tweak] Codeblocks and Quotes - The WWW

Users browsing this thread: 1 Guest(s)
Evolution
Long time nixers
Edit: Added to the sites css, no longer need to add it yourself.

Adds style to the codeblocks and quotes as well as removes scrollbars (But can still scroll):

Code:
.codeblock, blockquote {
    background: #353535!important;
    border-color: #2c2c2c!important;
    outline:1px solid #494949;
    overflow-x:hidden!important;
}

.codeblock .title, blockquote cite {
    border-bottom: 1px dashed #494949!important;
    text-shadow: 1px 1px 0px #000;
}
.codeblock .body {
    margin-right:-1000px;
}
[Image: mg3nm7.gif]
We live as we dream, alone.
Jayro
Long time nixers
These look great, I am glad they have been added. Where do we stand with syntax highlighting?
Evolution
Long time nixers
(01-08-2012, 01:13 PM)Jayro Wrote: These look great, I am glad they have been added. Where do we stand with syntax highlighting?

I think beastie was looking into recoloring the php tags the night before last, not sure about the status of other languages.
[Image: mg3nm7.gif]
We live as we dream, alone.
yrmt
Grey Hair Nixers
(02-08-2012, 09:56 AM)Evolution Wrote:
(01-08-2012, 01:13 PM)Jayro Wrote: These look great, I am glad they have been added. Where do we stand with syntax highlighting?

I think beastie was looking into recoloring the php tags the night before last, not sure about the status of other languages.

We decided php tags were enough. The other syntax highlighters were too buggy. If anyone want to install a good one let me know.
Jayro
Long time nixers
PHP Code:
#! /bin/bash
echo "This is a test of the emergency broadcast system" 

Edit: They work well enough. Maybe you could copy the PHP plugin and change the title? So its the same highlighing but says "sh code" and uses [SH][/SH] tags instead?
yrmt
Grey Hair Nixers
I'll do that. Seems fun