File: docstyles.php

package info (click to toggle)
moodle 1.6.3-2%2Betch3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 37,172 kB
  • ctags: 51,688
  • sloc: php: 231,916; sql: 5,631; xml: 2,688; sh: 1,185; perl: 638; makefile: 48; pascal: 36
file content (100 lines) | stat: -rw-r--r-- 1,605 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<?PHP /*  $Id: docstyles.php,v 1.4.2.1 2006/05/23 09:10:23 skodak Exp $ */

/// We use PHP so we can do value substitutions into the styles
    $nomoodlecookie = true;

    require_once("../../config.php");
    $themename = optional_param('themename', NULL, PARAM_SAFEDIR);

    $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;
}