Bahnhofstraße 55 info@beispiel.com

System-Info

PHP 8.3.19
MySql 8.0.36
------------
Joomla 5.3.0
Template TP-Schule 2.0
Astroid 3.2.0
UIKit Plugin 4.0.9

Pre Element: UIKit.css vs. Custom.css

Formatbeispiel pre-Element in custom.css (Astroid)

Format eigentlich definiert in custom.css, hier jedoch zusätzlich inline, da sonst nicht darstellbar.
Joomla 5.3.0, gleiches Verhalten unter Joomla 4.4.13 

  pre {
  background: #123456;
  color: #fff; 
  font-size: 1rem; 
  font-family: monospace;
  border: none;}

 


 

Format wird überschrieben von UIKit.css

 pre { 
font: 0.875rem / 1.5 Consolas, monaco, monospace;
color: #666;
-moz-tab-size: 4;
tab-size: 4;
overflow: auto;
padding: 10px;
border: 1px solid #e5e5e5;
border-radius: 3px;
background: #fff;
}

Dasselbe gilt für die Pseudoelemente :focus und ::selection.
Besonders die Farbzuweisung bei ::selection (#39f) passt ja nicht zu jedermanns Farbschema.

Login Form