168 lines
3.1 KiB
HTML
168 lines
3.1 KiB
HTML
<!DOCTYPE html>
|
|
<html xmlns:th="http://www.thymeleaf.org">
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
|
<title>About Me</title>
|
|
<style>
|
|
/* Grundstil für den gesamten Körper */
|
|
body {
|
|
padding: 0;
|
|
margin: 0;
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
font-family: 'Arial', sans-serif;
|
|
background-color: #f4f4f9;
|
|
}
|
|
|
|
/* Header / Navigation */
|
|
.top {
|
|
background-color: #1f2937;
|
|
color: white;
|
|
padding: 20px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.top a {
|
|
color: white;
|
|
text-decoration: none;
|
|
margin: 0 15px;
|
|
font-size: 18px;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.top a:hover {
|
|
color: #ff5520;
|
|
}
|
|
|
|
/* Inhalt */
|
|
.content {
|
|
padding: 40px 20px;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
/* Titel */
|
|
.title {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.title h1 {
|
|
font-size: 3rem;
|
|
color: #333;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 1.2rem;
|
|
color: #555;
|
|
}
|
|
|
|
/* About Table */
|
|
.table {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5em;
|
|
margin-top: 2em;
|
|
}
|
|
|
|
.card {
|
|
background-color: white;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
padding: 20px;
|
|
width: 80%;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.row {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.row span:first-child {
|
|
font-weight: bold;
|
|
color: #333;
|
|
}
|
|
|
|
.row span {
|
|
color: #555;
|
|
}
|
|
|
|
/* Footer */
|
|
footer {
|
|
background-color: #2d2d2d;
|
|
color: white;
|
|
text-align: center;
|
|
padding: 20px;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
/* Responsive Styling */
|
|
@media screen and (max-width: 768px) {
|
|
.top a {
|
|
display: block;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.table {
|
|
margin-top: 2em;
|
|
}
|
|
|
|
.card {
|
|
width: 90%;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<!-- Navigation -->
|
|
<nav class="top" id="mainNav">
|
|
<a class="navlink" th:href="@{/}">Home</a>
|
|
<a class="navlink" th:href="@{/about}">About</a>
|
|
</nav>
|
|
|
|
<div class="content">
|
|
<header class="title">
|
|
<h1>About Me</h1>
|
|
<span class="subtitle">This is me.</span>
|
|
</header>
|
|
|
|
<!-- About Me Content Card -->
|
|
<div class="card">
|
|
<div class="table">
|
|
<div class="row">
|
|
<span>Name:</span>
|
|
<span th:text="${name}">Name</span>
|
|
</div>
|
|
<div class="row">
|
|
<span>Alter:</span>
|
|
<span th:text="${alter}">Alter</span>
|
|
</div>
|
|
<div class="row">
|
|
<span>Semester:</span>
|
|
<span th:text="${semester}">Semester</span>
|
|
</div>
|
|
<div class="row">
|
|
<span>Studiengang:</span>
|
|
<span th:text="${studiengang}">Studiengang</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Footer -->
|
|
<footer>
|
|
<p>Made with ♥️ in Mannheim.</p>
|
|
</footer>
|
|
</body>
|
|
|
|
</html>
|