mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-48276 qformat_xhtml: avoid uncessary html in .css file
In order to help automated tools move the html out of the css file.
This commit is contained in:
parent
c106341098
commit
7417189dcc
@ -172,7 +172,9 @@ class qformat_xhtml extends qformat_default {
|
||||
$xp .= "<head>\n";
|
||||
$xp .= "<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\" />\n";
|
||||
$xp .= "<title>Moodle Quiz XHTML Export</title>\n";
|
||||
$xp .= "<style type=\"text/css\">\n";
|
||||
$xp .= $css;
|
||||
$xp .= "</style>\n";
|
||||
$xp .= "</head>\n";
|
||||
$xp .= "<body>\n";
|
||||
$xp .= "<form action=\"...REPLACE ME...\" method=\"post\">\n\n";
|
||||
|
@ -1,23 +1,20 @@
|
||||
<style>
|
||||
body {
|
||||
body {
|
||||
font-family: Verdana, Helvetica, Sans-Serif;
|
||||
background-color: #fff;
|
||||
color: #000;
|
||||
}
|
||||
}
|
||||
|
||||
.question {
|
||||
.question {
|
||||
border: 1px solid #ddd;
|
||||
margin: 5px;
|
||||
padding: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
.question h3 {
|
||||
.question h3 {
|
||||
font-weight: normal;
|
||||
font-size: 125%;
|
||||
}
|
||||
}
|
||||
|
||||
.question ul {
|
||||
.question ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
</style>
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user