Update default.html

Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
David Rotermund 2023-12-02 15:29:03 +01:00 committed by GitHub
parent 0a594ee1ef
commit 761e66bbd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@
<style>
.language-shell.highlighter-rouge {
/* New styles for Shell code */
background-color: #d5e3f3; /* Example background color */
background-color: #00326d; /* Example background color */
color: #333; /* Example text color */
padding: 10px; /* Example padding */
border: 1px solid #ccc; /* Example border */
@ -31,7 +31,7 @@
}
.language-python {
/* New styles for Python code */
background-color: #d5e3f3; /* Light grey background */
background-color: #00326d; /* Light grey background */
color: #202020; /* Dark grey text color */
padding: 10px; /* Padding around the code block */
border: 1px solid #ccc; /* Example border */
@ -40,15 +40,15 @@
}
.language-matlab {
/* New styles for MATLAB code */
background-color: #d5e3f3; /* Light yellow background */
background-color: #00326d; /* 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 .hll { background-color: #00326d }
.highlight { background: #00326d; }
.highlight .c { color: #408080; font-style: italic } /* Comment */
.highlight .err { border: 1px solid #FF0000 } /* Error */
.highlight .k { color: #008000; font-weight: bold } /* Keyword */
@ -116,150 +116,8 @@
.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
}
.brand-image {
height: 75px;
margin-bottom: 25px;
padding-top: 10px;
padding-right: 15px;
padding-bottom: 20px;
padding-left: 25px;
}
.lightblue-container {
position: relative;
padding-right: 0;
padding-left: 0;
width: 100vw;
left: 50%;
transform: translateX(-50%);
background-color: #d5e3f3;
z-index: 1;
overflow: hidden;
transition: 0.3s ease-in-out
}
.lightblue-container .lightblue-bar {
max-width: 1180px;
margin: 0 auto;
height: 100%;
padding: 7px 15px
}
.lightblue-container .lightblue-bar .lightblue-title {
line-height: 37px;
font-size: 22px;
font-size: 1.375rem;
color: #00326d
font-family: "SharpSansWeb-Medium","Arial",Arial,sans-serif;
position: static;
}
.darkblue-container {
position: relative;
padding-right: 0;
padding-left: 0;
width: 100vw;
left: 50%;
transform: translateX(-50%);
background-color: #00326d;
z-index: 1;
overflow: hidden;
transition: 0.3s ease-in-out
}
.darkblue-container .darkblue-bar {
max-width: 1180px;
margin: 0 auto;
height: 100%;
padding: 7px 15px
}
.darkblue-container .darkblue-bar .darkblue-title {
line-height: 37px;
font-size: 22px;
font-size: 1.375rem;
color: #fff
font-family: "SharpSansWeb-Medium","Arial",Arial,sans-serif;
position: static;
}
.darkblue-container .darkblue-bar .darkblue-title .a {
line-height: 37px;
font-size: 22px;
font-size: 1.375rem;
color: #fff
font-family: "SharpSansWeb-Medium","Arial",Arial,sans-serif;
position: static;
text-decoration: none;
}
.darkblue-container .darkblue-bar .darkblue-title .a:visited {
line-height: 37px;
font-size: 22px;
font-size: 1.375rem;
color: #fff
font-family: "SharpSansWeb-Medium","Arial",Arial,sans-serif;
position: static;
text-decoration: none;
}
a, a:visited {
text-decoration: none;
}
.container {
width: 1150px;
margin: 0 auto; /* This will center the container */
}
table {
border-collapse: collapse;
@ -292,8 +150,17 @@
<body>
<header>
<div class="container"><a href="https://www.uni-bremen.de/"> <img class="brand-image" src="/pytutorial/logo_ub_2021.png"> </a></div>
<div class="lightblue-container"><div class="lightblue-bar"><div class="lightblue-title">Python Tutorials</div></div></div>
<div class="navbar-header navbar-header-main">
<a class="navbar-brand navbar-brand-image" href="https://www.uni-bremen.de/"><img class="navbar-brand-logo-normal" src="https://www.uni-bremen.de/typo3conf/ext/package/Resources/Public/Images/logo_ub_2021.png" alt="Logo Universität Bremen, zurück zur Startseite"></a>
</div>
<div class="lightblue-container">
<div class="lightblue-bar">
<div class="lightblue-title">
<a href="/pytutorial/">PyTutorials</a>
</div>
</div>
</div>
<div class="darkblue-container"><div class="darkblue-bar"><div class="darkblue-title"><a href="/pytutorial/">Home</a> <a href="https://github.com/davrot/pytutorial/">GitHub Repo</a></div></div></div>
</header>
@ -332,7 +199,7 @@
Postfach 330 440<br>
28334 Bremen</p><p>
Telefon: +49 421 218-62003<br>
E-Mail:</p>
E-Mail:
<div class="social"><a href="mailto:davrot@uni-bremen.de">
<i class="fa fa-address-card-o" aria-hidden="true"></i> Ansprechperson </a>
</div></div>
@ -343,7 +210,6 @@
<li><a href="https://www.uni-bremen.de/impressum">Impressum</a></li>
<li><a href="https://www.uni-bremen.de/datenschutz">Datenschutz</a></li>
<li><a href="https://www.uni-bremen.de/notfall">Notfall</a></li>
<li class="fdgs"><a href="https://www.uni-bremen.de//dgs/"> DGS </a></li>
</ul>
</div><div class="col-sm-4"><div class="footernav-header">
<h3>Social Media</h3>