mirrored from git://git.moodle.org/moodle.git
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added docstyle.php for the changed german docs.
Within the docs a JS loads the theme CSS if opend within Moodle. Within docstyles.php the standard doc styles can be overwritten.
- Loading branch information
urs_hunkler
committed
Jan 24, 2005
1 parent
d7f3d22
commit 8aa1bb5
Showing
1 changed file
with
97 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,97 @@ | |||
<?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: <?PHP echo $THEME->body?>; | |||
} | |||
|
|||
h1, h2, h3 { | |||
background-color:transparent; | |||
color:#000000; | |||
} | |||
|
|||
h1 { | |||
font-size: 2em; | |||
margin: .67em 0; | |||
} | |||
|
|||
h2 { | |||
font-size: 1.5em; | |||
margin: .75em 0; | |||
} | |||
|
|||
h3 { | |||
font-size: 1.17em; | |||
margin: .83em 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; | |||
padding: 30px; | |||
height: auto; | |||
width: auto; | |||
} | |||
|
|||
.spaced { | |||
margin-bottom: 30px; | |||
} |