1
0
Fork 0
mirror of https://gitlab.rlp.net/pgp/pgp1-python-einfuehrung synced 2024-10-12 13:24:22 +00:00

Customs settings used in the notebooks. The settings are required to render the students tasks cells nicely.

This commit is contained in:
Daniel Wenz 2019-10-06 15:33:49 +02:00
parent 0862626138
commit f81b29e039

47
custom.css Normal file
View 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;
}