Skip to content
Snippets Groups Projects
Commit 1ad2b80b authored by Thomas Hofmann's avatar Thomas Hofmann :speech_balloon:
Browse files

Added exam_probe to navigation. Text changes.

parent 56ce4cc7
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,10 @@
font-size: 30px;
text-align: center;
max-width: 50%;
gap: 5px;
margin-bottom: 5px;
}
.flex-item {
......@@ -14,23 +18,24 @@
flex: 50%;
border: 2px solid #fff;
border: 2px solid #555555;
text-decoration: none;
transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}
.flex-item--warning {
background-color: #000;
border-color: #000;
}
.flex-item.flex-item--warning:hover {
background-color: #fff;
border-color: #000;
color: #000;
}
.flex-item:hover {
background-color: #fff;
border-color: #555555;
color: #555555;
}
......
......@@ -12,7 +12,7 @@ $Exam="";
$ExamInfo="";
if (is_dir("Exam")) {
$ExamInfo="<li><strong>Use the folder Exam (located in src/Exam) for your solution of the examination. Do not use any other folder!</strong></li>";
$Exam = "<a class=\"flex-item flex-item--warning\" href=\"./Exam\">Exam</a>";
$Exam = "<a class=\"flex-item flex-item--warning\" href=\"./Exam\">Klausur</a>";
}
echo <<<HTML
......@@ -40,13 +40,14 @@ echo <<<HTML
<h2>Navigation</h2>
<div class="flex-container">
<a href="./Demos" class="flex-item">Demos</a>
<a href="./Klausuren" class="flex-item">Klausuren</a>
<a href="./Klausuren" class="flex-item">Altklausuren</a>
</div>
<div class="flex-container">
$Prak
<a href="./Playground" class="flex-item">Playground</a>
<a href="./Playground" class="flex-item">Spielwiese</a>
</div>
<div class="flex-container">
<a href="./Exam_Probe" class="flex-item">Probeklausur</a>
$Exam
</div>
</main>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment