TinyPortal

Development => Support => Topic started by: bluedevil on November 22, 2007, 04:37:59 PM

Title: Quotes in .css file (resolved)
Post by: bluedevil on November 22, 2007, 04:37:59 PM
I added a .gif for quoting posts (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.midwestavalancheclub.com%2FThemes%2FOverView01_tp%2Fimages%2Fstartquote.gif&hash=f2bdf9dfadcdf93756839bd433739b38c94f10d4)


.css file:


/* A quote, perhaps from another post. */
.quote
{
   color: #FFC300;
   background: #272727 url(images/startquote.gif) 4px 4px no-repeat;
   border: 1px solid #CFCFCF;
   margin: 15px;
   padding: 15px;
   font-size: x-small;
   line-height: 1.4em;

But as you can see,the post is right on top of the image.

http://www.midwestavalancheclub.com/index.php?topic=1728.msg14927#new


How is this fixed?   Also,is it possible to add an end quote like this?

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.midwestavalancheclub.com%2FThemes%2FOverView01_tp%2Fimages%2Fendquote.gif&hash=41974607b82bf738479efa76e548e44e77982446)
Title: Re: Quotes in .css file (assistance)
Post by: Zetan on November 22, 2007, 05:03:46 PM
A few of icrips themes has these, and I think there is a topic about it at *cough* SMF  :)
I've been adding similar to my quotes, but just the top section.
Title: Re: Quotes in .css file (assistance)
Post by: IchBin on November 22, 2007, 05:25:08 PM
This is something you'll have to add to the display.template.php manually. Of course, just grab a theme that has it and look to see how they did it. :)
Title: Re: Quotes in .css file (assistance)
Post by: bluedevil on November 22, 2007, 05:29:22 PM
Quote from: IchBinâ,,¢ on November 22, 2007, 05:25:08 PM
This is something you'll have to add to the display.template.php manually. Of course, just grab a theme that has it and look to see how they did it. :)

Good idea!    But i wonder,which theme has this?
Title: Re: Quotes in .css file (assistance)
Post by: bluedevil on November 22, 2007, 05:44:49 PM
OK. I got it.  Tip found here:
http://www.netmechanic.com/news/vol6/css_no9.htm

I added:

white-space:wrap;

and changed from 5px to 30px:

margin: 30px;
padding: 30px;


it looks like this now

/* A quote, perhaps from another post. */
.quote
{
   color: #FF9900;
   background: #272727 url(images/startquote.gif) 4px 4px no-repeat;
                white-space:wrap;
                border: 1px solid #666666;
   margin: 30px;
   padding: 30px;
   font-size: x-small;
   line-height: 1.4em;
}
Title: Re: Quotes in .css file (assistance)
Post by: bluedevil on November 22, 2007, 09:22:13 PM
I looked on most of the themes over at porkys and didnt find any cool quotes.
Title: Re: Quotes in .css file (assistance)
Post by: bluedevil on November 23, 2007, 09:14:47 PM
Got it.


{
   color: #FF9900;
   background: #272727 url(images/startquote.gif) 4px 4px no-repeat;
   border: 1px solid #666666;
   margin: 20px;
   padding: 10px 10px 10px 40px;
   font-size: x-small;
   line-height: 1.4em;
}
Title: Re: Quotes in .css file (assistance)
Post by: Zetan on November 23, 2007, 09:23:28 PM
sweet  :up:
thats a lot smaller than the code crip uses.

psssst... don't forget the Code box  ;)
Title: Re: Quotes in .css file (resolved)
Post by: bluedevil on November 23, 2007, 09:45:54 PM
Quote from: ZTN on November 23, 2007, 09:23:28 PM
sweet  :up:
thats a lot smaller than the code crip uses.

psssst... don't forget the Code box  ;)

Oops. I used the wrong box. Fixed.
Title: Re: Quotes in .css file (resolved)
Post by: whoesa on November 23, 2007, 10:05:09 PM
Lol you always seem to be asking the same questions everywhere.  :o
Title: Re: Quotes in .css file (resolved)
Post by: Zetan on November 24, 2007, 12:18:32 AM
Quote from: bluedevil on November 23, 2007, 09:45:54 PM
Quote from: ZTN on November 23, 2007, 09:23:28 PM
sweet  :up:
thats a lot smaller than the code crip uses.

psssst... don't forget the Code box  ;)

Oops. I used the wrong box. Fixed.



I did notice, but actually meant the Code graphic that you'll find in Crips Black Rain 2, for the code box on your site


excuse my edit, I hit modify instead of quote.
Title: Re: Quotes in .css file (resolved)
Post by: bluedevil on November 24, 2007, 12:31:30 AM
Quote from: Bikken on November 23, 2007, 10:05:09 PM
Lol you always seem to be asking the same questions everywhere.  :o

The quicker response the better. Thats why i hardly post for support at smf.
Title: Re: Quotes in .css file (resolved)
Post by: bluedevil on November 24, 2007, 12:41:55 AM
Quote from: ZTN link=topic=20239.msg165050#msg165050

I did notice, but actually meant the Code graphic that you'll find in Crips Black Rain 2, for the code box on your site


excuse my edit, I hit modify instead of quote.

Yep. I see it.  I like it too.