JuliaKurs23/css/styles.css

213 lines
7.0 KiB
CSS

/* https://google-webfonts-helper.herokuapp.com/fonts/ubuntu?subsets=cyrillic,greek,latin,latin-ext */
/* ubuntu-regular - latin-ext_latin_greek_cyrillic */
@font-face {
font-family: 'Ubuntu';
font-style: normal;
font-weight: 400;
src: url('../fonts/ubuntu-v20-latin-ext_latin_greek_cyrillic-regular.eot'); /* IE9 Compat Modes */
src: local(''),
url('../fonts/ubuntu-v20-latin-ext_latin_greek_cyrillic-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/ubuntu-v20-latin-ext_latin_greek_cyrillic-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/ubuntu-v20-latin-ext_latin_greek_cyrillic-regular.woff') format('woff'), /* Modern Browsers */
url('../fonts/ubuntu-v20-latin-ext_latin_greek_cyrillic-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/ubuntu-v20-latin-ext_latin_greek_cyrillic-regular.svg#Ubuntu') format('svg'); /* Legacy iOS */
}
/* roboto-condensed-regular - latin-ext_latin_greek_cyrillic */
@font-face {
font-family: 'Roboto Condensed';
font-style: normal;
font-weight: 400;
src: url('../fonts/roboto-condensed-v25-latin-ext_latin_greek_cyrillic-regular.eot'); /* IE9 Compat Modes */
src: local(''),
url('../fonts/roboto-condensed-v25-latin-ext_latin_greek_cyrillic-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/roboto-condensed-v25-latin-ext_latin_greek_cyrillic-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/roboto-condensed-v25-latin-ext_latin_greek_cyrillic-regular.woff') format('woff'), /* Modern Browsers */
url('../fonts/roboto-condensed-v25-latin-ext_latin_greek_cyrillic-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/roboto-condensed-v25-latin-ext_latin_greek_cyrillic-regular.svg#RobotoCondensed') format('svg'); /* Legacy iOS */
}
/* roboto-regular - latin-ext_latin_greek_cyrillic */
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: url('../fonts/roboto-v30-latin-ext_latin_greek_cyrillic-regular.eot'); /* IE9 Compat Modes */
src: local(''),
url('../fonts/roboto-v30-latin-ext_latin_greek_cyrillic-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/roboto-v30-latin-ext_latin_greek_cyrillic-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/roboto-v30-latin-ext_latin_greek_cyrillic-regular.woff') format('woff'), /* Modern Browsers */
url('../fonts/roboto-v30-latin-ext_latin_greek_cyrillic-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/roboto-v30-latin-ext_latin_greek_cyrillic-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* quicksand-regular - latin-ext_latin */
@font-face {
font-family: 'Quicksand';
font-style: normal;
font-weight: 400;
src: url('../fonts/quicksand-v30-latin-ext_latin-regular.eot'); /* IE9 Compat Modes */
src: local(''),
url('../fonts/quicksand-v30-latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/quicksand-v30-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/quicksand-v30-latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */
url('../fonts/quicksand-v30-latin-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/quicksand-v30-latin-ext_latin-regular.svg#Quicksand') format('svg'); /* Legacy iOS */
}
/* atkinson-hyperlegible-regular - latin-ext_latin */
@font-face {
font-family: 'Atkinson Hyperlegible';
font-style: normal;
font-weight: 400;
src: url('../fonts/atkinson-hyperlegible-v10-latin-ext_latin-regular.eot'); /* IE9 Compat Modes */
src: local(''),
url('../fonts/atkinson-hyperlegible-v10-latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/atkinson-hyperlegible-v10-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/atkinson-hyperlegible-v10-latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */
url('../fonts/atkinson-hyperlegible-v10-latin-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/atkinson-hyperlegible-v10-latin-ext_latin-regular.svg#AtkinsonHyperlegible') format('svg'); /* Legacy iOS */
}
/* https://stackoverflow.com/questions/65480036/bootstrap-5-underline-default-changed */
/* Bootstrap 5 tweak: do not underline links unless hovered over */
a:not([class*="btn"]) {
text-decoration: none;
}
a:not([class*="btn"]):hover {
text-decoration: underline;
}
/* Code cells -------------------------------------------------- */
pre, .cell-output {
color: #202020;
}
pre.sourceCode {
font-size: 0.90em !important;
}
div:has(pre.sourceCode.default) { /* not-julia cells */
margin-bottom: 1.0em;
}
div.cell {
/* border: 2px solid #f0f0f0!important; */
margin-bottom: 1em;
border: 1px #ccc solid;
border-left-color: green;
border-left-width: medium;
}
div.sourceCode{
border-radius: 0;
margin: 0;
}
div.cell-output {
margin-bottom: 0.4em;
/* font-family: JuliaMono; */
padding-left:0.5em;
}
.cell-output code {
padding-left: .5em;
}
.cell-output pre {
margin: 0;
padding-top: 0.3em;
font-size: 0.9em !important;
}
code {
/* color: #202020; nur in light theme*/
font-size: 0.9em !important;
font-variant-ligatures: no-contextual;
}
p code:not(.sourceCode), li code:not(sourceCode) {
/* background-color: #f3f3f3 !important; */
padding: 0.05em 0.2em 0.05em 0.2em !important;
}
/* markdown: > text ---------------------------------- */
.blockquote {
line-height: 120%;
margin-left: 0;
font-size: 0.925rem;
}
/* my own environment ------------------------------- */
.indentb {
margin-left:3.5em;
font-size:.9rem;
border-left: 3px solid #f0f0f0;
padding-left:1em;
}
/* class for callout header with non-bold title --------------*/
.titlenormal div.callout-header {
font-weight: 400 !important;
}
/* nehmen wir nicht wg Farbe in dark theme
kbd {
padding: 0.05rem !important;
}
*/
/* Julia ?name output 'Example' ------------------*/
div.cell-output h6 {
font-weight: bold !important;
margin-left: 1em !important;
font-size: 0.9em !important;
}
/* code cell in callout: no border -------*/
div.callout .cell {
border-left-width: 0 !important;
border-right-width: 0 !important;
border-top-width: 0 !important;
border-bottom-width: 0 !important;
}
/* code cells ```julia (ohne exec) */
:not(.cell) div.sourceCode:not(.cell-code){
margin-bottom: 1em;
}
/* my own div, esp. for tables*/
div.narrow {
width: 70%;
margin-left: auto;
margin-right: auto;
}
/* my own div for phaistos */
div.cellmerge div.cell:first-of-type {
margin-bottom: 0;
border-bottom: 0;
}
div.cellmerge div.cell:nth-of-type(2) {
border-top: 0;
}
.math.inline .MathJax {
font-size: 100% !important;
}
.math.display .MathJax {
font-size: 104% !important;
}
.code-fold summary {
padding-left: 0.5em;
}