pytutorial/_layouts/default.html

257 lines
15 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{ page.title | default: site.title }}</title>
<script type="text/javascript" id="MathJax-script" async
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js">
</script>
<script>
MathJax = {
tex: {
inlineMath: [['$', '$']]
}
};
</script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.9/dist/umd/popper.min.js" integrity="sha384-eMNCOe7tC1doJtT0LvF6zL9ezPcRjzENw4Da3HDApIgd8z7C2zKuF6j0wRb1q8Hx" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/js/bootstrap.min.js" integrity="sha384-oesi62hXKJ3eZaI6S+lF9FY/6TVy/WPzJUd2Rj4byXkPt2I9yVn2T1sOpzvS4uXk" crossorigin="anonymous"></script>
<style>
.language-shell.highlighter-rouge {
/* New styles for Shell code */
background-color: #d5e3f3; /* Example background color */
color: #333; /* Example text color */
padding: 10px; /* Example padding */
border: 1px solid #ccc; /* Example border */
font-family: 'Courier New', monospace; /* Monospaced font for code */
/* Add other styling properties as needed */
}
.language-python {
/* New styles for Python code */
background-color: #d5e3f3; /* Light grey background */
color: #202020; /* Dark grey text color */
padding: 10px; /* Padding around the code block */
border: 1px solid #ccc; /* Example border */
font-family: 'Courier New', monospace; /* Monospaced font for code */
/* Add other styling properties as needed */
}
.language-matlab {
/* New styles for MATLAB code */
background-color: #d5e3f3; /* Light yellow background */
color: #0052cc; /* MATLAB blue text color */
padding: 10px; /* Padding around the code block */
border: 1px solid #ccc; /* Example border */
font-family: 'Courier New', monospace; /* Monospaced font for code */
/* Add other styling properties as needed */
}
.highlight .hll { background-color: #d5e3f3 }
.highlight { background: #d5e3f3; }
.highlight .c { color: #408080; font-style: italic } /* Comment */
.highlight .err { border: 1px solid #FF0000 } /* Error */
.highlight .k { color: #008000; font-weight: bold } /* Keyword */
.highlight .o { color: #666666 } /* Operator */
.highlight .ch { color: #408080; font-style: italic } /* Comment.Hashbang */
.highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #BC7A00 } /* Comment.Preproc */
.highlight .cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */
.highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
.highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
.highlight .gd { color: #A00000 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #FF0000 } /* Generic.Error */
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.highlight .gi { color: #00A000 } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.highlight .gt { color: #0044DD } /* Generic.Traceback */
.highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008000 } /* Keyword.Pseudo */
.highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #B00040 } /* Keyword.Type */
.highlight .m { color: #666666 } /* Literal.Number */
.highlight .s { color: #BA2121 } /* Literal.String */
.highlight .na { color: #7D9029 } /* Name.Attribute */
.highlight .nb { color: #008000 } /* Name.Builtin */
.highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
.highlight .no { color: #880000 } /* Name.Constant */
.highlight .nd { color: #AA22FF } /* Name.Decorator */
.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0000FF } /* Name.Function */
.highlight .nl { color: #A0A000 } /* Name.Label */
.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #19177C } /* Name.Variable */
.highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #666666 } /* Literal.Number.Bin */
.highlight .mf { color: #666666 } /* Literal.Number.Float */
.highlight .mh { color: #666666 } /* Literal.Number.Hex */
.highlight .mi { color: #666666 } /* Literal.Number.Integer */
.highlight .mo { color: #666666 } /* Literal.Number.Oct */
.highlight .sa { color: #BA2121 } /* Literal.String.Affix */
.highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
.highlight .sc { color: #BA2121 } /* Literal.String.Char */
.highlight .dl { color: #BA2121 } /* Literal.String.Delimiter */
.highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
.highlight .s2 { color: #BA2121 } /* Literal.String.Double */
.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
.highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
.highlight .sx { color: #008000 } /* Literal.String.Other */
.highlight .sr { color: #BB6688 } /* Literal.String.Regex */
.highlight .s1 { color: #BA2121 } /* Literal.String.Single */
.highlight .ss { color: #19177C } /* Literal.String.Symbol */
.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #0000FF } /* Name.Function.Magic */
.highlight .vc { color: #19177C } /* Name.Variable.Class */
.highlight .vg { color: #19177C } /* Name.Variable.Global */
.highlight .vi { color: #19177C } /* Name.Variable.Instance */
.highlight .vm { color: #19177C } /* Name.Variable.Magic */
.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
h1 {
font-size: 32px;
font-size: 2rem;
line-height: 40px;
letter-spacing: .05rem
}
h2 {
font-size: 24px;
font-size: 1.5rem;
line-height: 30px;
letter-spacing: .05rem
}
h3 {
font-size: 20px;
font-size: 1.25rem;
line-height: 27px;
margin-bottom: 12px;
letter-spacing: .05rem
}
h4 {
font-size: 17.6px;
font-size: 1.1rem;
line-height: 25px;
margin-bottom: 12px;
letter-spacing: .05rem
}
h5 {
line-height: 23px;
font-size: 16px;
font-size: 1rem;
letter-spacing: .05rem
}
h1,h2,h3,h4,h5 {
color: #00326d;
margin-bottom: 15px;
font-family: "SharpSansWeb-Bold","Arial",Arial,sans-serif
}
p {
font-family: "SharpSansWeb-Medium","Arial",Arial,sans-serif;
font-size: 15.2px;
font-size: .95rem;
line-height: 23px;
font-weight: 400
}
p a {
color: #00326d
}
p a:hover {
color: #c60c2b
}
.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap .navbar-inner-wrap,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap2 .navbar-inner-wrap,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap .navbar-inner-wrap2,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap2 .navbar-inner-wrap2 {
display: inline-flex;
max-height: 56px;
white-space: nowrap;
transition: 0.3s ease-in-out;
padding: 0;
margin: 0;
list-style-type: none
}
.navbar .navbar-collapse ul.navbar-main>li .overview a,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap>li .overview a,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap2>li .overview a,.navbar .navbar-collapse ul.navbar-main .navbar-inner-wrap>li .overview a,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap .navbar-inner-wrap>li .overview a,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap2 .navbar-inner-wrap>li .overview a,.navbar .navbar-collapse ul.navbar-main .navbar-inner-wrap2>li .overview a,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap .navbar-inner-wrap2>li .overview a,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap2 .navbar-inner-wrap2>li .overview a {
font-size: 20px;
font-size: 1.25rem;
color: #fff;
padding: 10px;
padding-left: 20px;
position: relative;
margin-right: 32px!important;
margin-left: 2px;
margin-top: 2px
}
.navbar .navbar-collapse ul.navbar-main>li .overview a:hover,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap>li .overview a:hover,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap2>li .overview a:hover,.navbar .navbar-collapse ul.navbar-main .navbar-inner-wrap>li .overview a:hover,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap .navbar-inner-wrap>li .overview a:hover,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap2 .navbar-inner-wrap>li .overview a:hover,.navbar .navbar-collapse ul.navbar-main .navbar-inner-wrap2>li .overview a:hover,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap .navbar-inner-wrap2>li .overview a:hover,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap2 .navbar-inner-wrap2>li .overview a:hover {
color: #fff;
background-color: transparent;
text-decoration: underline
}
.navbar .navbar-collapse ul.navbar-main>li .overview a:before,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap>li .overview a:before,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap2>li .overview a:before,.navbar .navbar-collapse ul.navbar-main .navbar-inner-wrap>li .overview a:before,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap .navbar-inner-wrap>li .overview a:before,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap2 .navbar-inner-wrap>li .overview a:before,.navbar .navbar-collapse ul.navbar-main .navbar-inner-wrap2>li .overview a:before,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap .navbar-inner-wrap2>li .overview a:before,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap2 .navbar-inner-wrap2>li .overview a:before {
content: "\e258";
font-family: "Glyphicons Halflings";
position: absolute;
left: 0;
top: 11px;
height: 31px;
font-size: 15px
}
.navbar .navbar-collapse ul.navbar-main>li>.dropdown-wrap,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap>li>.dropdown-wrap,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap2>li>.dropdown-wrap,.navbar .navbar-collapse ul.navbar-main .navbar-inner-wrap>li>.dropdown-wrap,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap .navbar-inner-wrap>li>.dropdown-wrap,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap2 .navbar-inner-wrap>li>.dropdown-wrap,.navbar .navbar-collapse ul.navbar-main .navbar-inner-wrap2>li>.dropdown-wrap,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap .navbar-inner-wrap2>li>.dropdown-wrap,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap2 .navbar-inner-wrap2>li>.dropdown-wrap {
padding: 0 0 50px 30px;
box-shadow: 0 5px 10px 0 rgba(0,0,0,.2)
}
.navbar .navbar-collapse ul.navbar-main>li>.dropdown-wrap>.overflow-wrap>ul.dropdown-menu,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap>li>.dropdown-wrap>.overflow-wrap>ul.dropdown-menu,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap2>li>.dropdown-wrap>.overflow-wrap>ul.dropdown-menu,.navbar .navbar-collapse ul.navbar-main .navbar-inner-wrap>li>.dropdown-wrap>.overflow-wrap>ul.dropdown-menu,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap .navbar-inner-wrap>li>.dropdown-wrap>.overflow-wrap>ul.dropdown-menu,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap2 .navbar-inner-wrap>li>.dropdown-wrap>.overflow-wrap>ul.dropdown-menu,.navbar .navbar-collapse ul.navbar-main .navbar-inner-wrap2>li>.dropdown-wrap>.overflow-wrap>ul.dropdown-menu,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap .navbar-inner-wrap2>li>.dropdown-wrap>.overflow-wrap>ul.dropdown-menu,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap2 .navbar-inner-wrap2>li>.dropdown-wrap>.overflow-wrap>ul.dropdown-menu {
width: 100vw
}
.navbar .navbar-collapse ul.navbar-main>li .dropdown-wrap,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap>li .dropdown-wrap,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap2>li .dropdown-wrap,.navbar .navbar-collapse ul.navbar-main .navbar-inner-wrap>li .dropdown-wrap,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap .navbar-inner-wrap>li .dropdown-wrap,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap2 .navbar-inner-wrap>li .dropdown-wrap,.navbar .navbar-collapse ul.navbar-main .navbar-inner-wrap2>li .dropdown-wrap,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap .navbar-inner-wrap2>li .dropdown-wrap,.navbar .navbar-collapse ul.navbar-main .navbar-main-wrap2 .navbar-inner-wrap2>li .dropdown-wrap {
display: none;
background-color: transparent;
width: 100%;
z-index: 1;
user-select: none;
position: absolute;
left: -50%;
transform: translateX(50%)
}
.navbar-brand.navbar-brand-image {
height: 75px;
margin-bottom: 25px
margin-top: 25px
margin-left: 25px
}
</style>
</head>
<body>
<header>
<img class="navbar-brand navbar-brand-image" src="/pytutorial/logo_ub_2021.png">
<p>
<ul class="navbar-inner-wrap2">
<li class=" ">
<h1>{{ site.title }}
</li>
</ul>
</header>
<!-- Main content -->
<main>
{{ content }}
</main>
</body>
</html>