mirror of
https://gitlab.rlp.net/pgp/pgp1-python-einfuehrung
synced 2024-11-16 13:48:11 +00:00
Customs settings used in the notebooks. The settings are required to render the students tasks cells nicely.
This commit is contained in:
parent
0862626138
commit
f81b29e039
1 changed files with 47 additions and 0 deletions
47
custom.css
Normal file
47
custom.css
Normal file
|
@ -0,0 +1,47 @@
|
|||
<style>
|
||||
div.cell { /* Tunes the space between cells */
|
||||
margin-top:1em;
|
||||
margin-bottom:1em;
|
||||
}
|
||||
|
||||
div.text_cell_render h1 { /* Main titles bigger */
|
||||
font-size: 24pt;
|
||||
line-height:1.4em;
|
||||
#text-align:center;
|
||||
}
|
||||
|
||||
div.text_cell_render h2 { /* Parts names nearer from text */
|
||||
font-size: 20pt;
|
||||
margin-bottom: -0.4em;
|
||||
}
|
||||
|
||||
div.text_cell_render h3 { /* Parts names nearer from text */
|
||||
font-size: 16pt;
|
||||
margin-bottom: -0.4em;
|
||||
}
|
||||
|
||||
|
||||
div.text_cell_render h4 { /* Parts names nearer from text */
|
||||
font-size: 20pt;
|
||||
margin-bottom: -0.4em;
|
||||
}
|
||||
|
||||
div.task {
|
||||
background-color: #faebd7;
|
||||
border-style: solid;
|
||||
border-color: orange;
|
||||
border-radius : 5pt;
|
||||
padding-left: 5pt
|
||||
}
|
||||
|
||||
div.text_cell_render { /* Customize text cells */
|
||||
font-family: '';
|
||||
font-size:14pt;
|
||||
line-height:1.4em;
|
||||
padding-left:3em;
|
||||
padding-right:3em;
|
||||
}
|
||||
|
||||
div.text_cell_render figcaption {
|
||||
font-size:12pt;
|
||||
}
|
Loading…
Reference in a new issue