Tags:
create new tag
view all tags

Question

I am using SlideShowPlugin and want to modify the style of preformatted (i.e. verbatim) text.

I have successfully used an add-on CSS stle file to change the color. Now I want to reduce the font size.

I'm having CSS problems.

My template contains

<style type="text/css" media="all">
   @import url('%PUBURL%/%WEB%/SlideShowTemplate/slideshowstyle.css');
</style>

and the css file contains

body, td, tr, table, li, p, h1, h2, h3, h4 {
   font-family: serif;
}
pre, code, tt {
   color:#690478; /*T6*/ /*original: 7A4707*/
   font-family: Courier;
}
pre {
   font-size: 50%;
}

The font is my Browser-preferred serif font and preformatted text is the color I want. However, the pre font is not 50% (it's no smaller than it's been.).

Have I overlooked something?

Environment

TWiki version: unspecified
TWiki plugins: DefaultPlugin, EmptyPlugin, SlideShowPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Plugins

-- VickiBrown - 28 Aug 2008

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

That is strange!

Here are some tests with in-line styles work fine here, but when I add the font-size definition, everything under 100% renders as 100% (but the 150% is bigger).

  • In-line 50%
  • In-line 75%
  • In-line 100%
  • In-line 150%

And it's the same behavior for these:

A 
A 
A 
A 
A 
A 
A 

-- SeanCMorgan - 28 Aug 2008

Closing after more than 30 days. Please reopen with more details if needed...

-- PeterThoeny - 06 Nov 2008

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-11-06 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.