refactor: fix styling in agreement template

This commit is contained in:
2025-11-16 16:24:56 +01:00
parent 6632bc6aab
commit 203cb75982

View File

@@ -7,24 +7,23 @@
<title>Dohoda o odbornej praxi študenta</title> <title>Dohoda o odbornej praxi študenta</title>
<style> <style>
@page { @page {
size: A4;
margin: 2cm; margin: 2cm;
} }
body { body {
font-family: "Times New Roman", Times, serif; font-family: "Calibri", Times, serif;
font-size: 12pt; font-size: 11pt;
line-height: 1.5; line-height: 1.1;
color: #000; color: #000;
max-width: 210mm; max-width: 210mm;
margin: 0 auto; margin: 0 auto;
padding: 20mm; padding: 20mm;
background: #fff; background: #fff;
text-align: justify;
} }
.header-right { .header-right {
text-align: right; text-align: right;
font-size: 11pt;
font-style: italic; font-style: italic;
margin-bottom: 20px; margin-bottom: 20px;
} }
@@ -32,14 +31,12 @@
.title { .title {
text-align: center; text-align: center;
font-weight: bold; font-weight: bold;
font-size: 14pt;
margin: 30px 0 10px;
} }
.subtitle { .subtitle {
text-align: center; text-align: center;
font-size: 11pt; font-size: 11pt;
margin-bottom: 30px; margin-bottom: 20px;
} }
.section-header { .section-header {
@@ -52,10 +49,7 @@
.provider-info, .provider-info,
.student-info { .student-info {
margin-bottom: 20px; margin-bottom: 20px;
} font-size: 11pt;
.university-info {
font-weight: bold;
} }
.indented { .indented {
@@ -75,14 +69,14 @@
} }
.list-item { .list-item {
margin-bottom: 10px; margin-bottom: 4px;
} }
.sub-list { .sub-list {
margin-left: 30px; margin-left: 30px;
} }
.signature-section { #signature-section {
margin-top: 50px; margin-top: 50px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
@@ -109,11 +103,6 @@
list-style: none; list-style: none;
padding-left: 0; padding-left: 0;
} }
.email-link {
color: #0000FF;
text-decoration: underline;
}
</style> </style>
</head> </head>
@@ -130,7 +119,7 @@
</div> </div>
<div class="university-info"> <div class="university-info">
Univerzita Konštantína Filozofa v Nitre<br> <strong>Univerzita Konštantína Filozofa v Nitre</strong><br>
<div class="indented"> <div class="indented">
Fakulta prírodných vied a informatiky<br> Fakulta prírodných vied a informatiky<br>
Trieda A. Hlinku 1, 949 01 Nitra<br> Trieda A. Hlinku 1, 949 01 Nitra<br>
@@ -149,9 +138,9 @@
<div class="student-info"> <div class="student-info">
<strong>Študent:</strong><br> <strong>Študent:</strong><br>
<div class="indented"> <div class="indented">
<table style="border: none; width: 100%;"> <table style="border: none; width: 100%; line-height: 1;">
<tr> <tr>
<td style="width: 250px;">Meno a priezvisko:</td> <td style="width: 260px;">Meno a priezvisko:</td>
<td><em>{{ $student->name }}</em></td> <td><em>{{ $student->name }}</em></td>
</tr> </tr>
<tr> <tr>
@@ -264,13 +253,8 @@
3. Dohoda sa uzatvára v 3 vyhotoveniach, každá zmluvná strana obdrží jedno vyhotovenie dohody. 3. Dohoda sa uzatvára v 3 vyhotoveniach, každá zmluvná strana obdrží jedno vyhotovenie dohody.
</div> </div>
<div class="signature-section" style="margin-top: 40px;"> <div id="signature-section" style="margin-top: 40px;">
<div> <div>V Nitre, dňa <em>{{ \Carbon\Carbon::parse(now())->format('d.m.Y') }}</em>.</div>
V Nitre, dňa<em style="margin-left: 5px;">{{ \Carbon\Carbon::parse(now())->format('d.m.Y') }}</em>.
</div>
<div>
V Nitre, dňa <em>{{ \Carbon\Carbon::parse(now())->format('d.m.Y') }}</em>
</div>
</div> </div>
<div style="display: flex; justify-content: space-between; margin-top: 60px;"> <div style="display: flex; justify-content: space-between; margin-top: 60px;">
@@ -280,19 +264,22 @@
dekan FPVaI UKF v Nitre dekan FPVaI UKF v Nitre
</div> </div>
</div> </div>
<br>
<br>
<br>
<div class="signature-block"> <div class="signature-block">
<div class="signature-line"> <div class="signature-line">
{{ $companyContact->name }}<br> {{ $companyContact->name }}<br>
štatutárny zástupca pracoviska odb. praxe štatutárny zástupca pracoviska odb. praxe
</div> </div>
</div>
</div>
<br /> <div style="text-align: center; margin-top: 60px;">
<br /> <div class="signature-line" style="display: inline-block;">
<br /> {{ $student->name }}
<div class="signature-line" style="margin-top: 60px;">
{{ $student->name }}
</div>
</div> </div>
</div> </div>
</body> </body>