Code tag and style change

gilinko - March 4, 2009 - 21:59
Project:Barron
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

First of all, great theme.

Second, I would suggest a change to the theme. In the html, body, div, span etc. block on line 4, remove the

margin: 0;

This because it makes the FCKeditor much everything together so it's to hard to use, and the theme can do without this as that property is changed in overriding styles later on for non FCKeditor rendering

Last but not least is a added syntax for the pre and code tags that creates a nicer rendering, "stolen" and adapted from the Alina theme:

code, pre {
  background:#FFF9F9;
  border:1px dashed #FF6868;
  display:block;
  overflow:auto;
  padding:10px;
  margin:10px;
  white-space: pre;
}

 
 

Drupal is a registered trademark of Dries Buytaert.