Posted by Anonymous (not verified) on June 17, 2003 at 8:40am
2 followers
Jump to:
| Project: | Drupal core |
| Version: | 4.6.0 |
| Component: | theme system |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
The problem is that in code tags are rendered very small.It doesn't seem defined in the
stylesheets.
Mozilla 1.0
Mozilla/5.0 (X11; U; Linux i686)
From:
http://drupal.org/node/view/1922
the /themes/ and /themes/slashdot are very small, almost unreadable.
This is part of the code:
"Create a new directory under the /themes/ directory, in our example /themes/slashdot"
I saved a drupal page locally and debugged. There is no code tag in the stylesheet
and then for some reason it is small.
This is the minimal stylesheet when it is still small.Rest of the stylesheets
are empty.
body {
font-size: 76%;
}
So for some reason code tags are rendered very small when not defined.
Comments
#1
This fixes it:
body {
font-size: 76%;
code: 76%;
}
#2
There's no "code" property in CSS1 or CSS2. Did you mean...?
body, code {
font-size: 76%;
}
Due to inheritance, though, code elements would end up having a net font size of 58% (.76*.76=.5776) in compliant browsers.
#3
Latest thinking is to put less into default stylesheets and more in the themes.