mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
a8e1f343c0
This is the new standard theme, based on the excellent work by Urs Hunkler (and I believe David Scotson had an influence) who has started rationalising the old mess. I've made this a very neutral, almost white theme. [ Come to think of it maybe I've been looking at iPods and Mac Minis a bit too much recently. ;-) ] The idea is that the standard styles will be included by all other themes (including custom themes) before local overriding styles are applied. This means that upgrades will cause less problems for custom themes. It's a bit like the language packs, where "en" is always referenced when a local language string isn't found. PROGRAMMERS: All new styles MUST go into this "standard" theme, and the default colours should match the plain white look. Once this theme settles down a bit we need to upgrade all the other packaged themes accordingly.
103 lines
1.5 KiB
PHP
103 lines
1.5 KiB
PHP
<?PHP /* $Id$ */
|
|
|
|
/// We use PHP so we can do value substitutions into the styles
|
|
|
|
if (!isset($themename)) {
|
|
$themename = NULL;
|
|
}
|
|
|
|
$nomoodlecookie = true;
|
|
require_once("../../config.php");
|
|
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
|
|
|
|
///
|
|
/// You can hardcode colours in this file if you
|
|
/// don't care about this.
|
|
|
|
?>
|
|
body {
|
|
background-color:#FFFFFF;
|
|
}
|
|
p, a {
|
|
font-size:small;
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
padding-left:0px;
|
|
background-color:transparent;
|
|
color:#000000;
|
|
}
|
|
|
|
h1 {
|
|
font-size:1.7em;
|
|
margin:0.5em 0 0;
|
|
}
|
|
|
|
h2 {
|
|
font-size:1.4em;
|
|
margin:0.5em 0 0;
|
|
}
|
|
|
|
h3 {
|
|
font-size:1.2em;
|
|
margin:0.5em 0 0;
|
|
}
|
|
|
|
|
|
li {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
ul {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.question {
|
|
font-size: medium;
|
|
font-weight: bold;
|
|
border: 1px dotted;
|
|
padding: 10px;
|
|
background-color: #EEEEEE;
|
|
}
|
|
|
|
.answer {
|
|
font-size: medium;
|
|
border: none;
|
|
padding-left: 40px;
|
|
}
|
|
|
|
.normaltext {
|
|
font-size: medium;
|
|
border: none;
|
|
margin-left: 30px;
|
|
}
|
|
|
|
.answercode {
|
|
font-family: "Courier New", Courier, mono;
|
|
font-size: small;
|
|
border: none;
|
|
padding-left: 60px;
|
|
}
|
|
|
|
.questionlink {
|
|
font-size: medium;
|
|
border: none;
|
|
padding-left: 40px;
|
|
}
|
|
|
|
.examplecode {
|
|
font-family: "Courier New", Courier, mono;
|
|
font-size: small;
|
|
border: thin dashed #999999;
|
|
background-color: #FBFBFB;
|
|
margin: auto;
|
|
margin-top: 0.5em;
|
|
padding: 30px;
|
|
height: auto;
|
|
width: auto;
|
|
}
|
|
|
|
.spaced {
|
|
margin-bottom: 30px;
|
|
}
|