Playful footer elements

This commit is contained in:
Benjamin Beganović 2020-08-11 17:53:21 +02:00
parent 9c1cfd2e86
commit 00903c717a

View File

@ -1,36 +1,30 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head>
<head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta http-equiv="x-ua-compatible" content="ie=edge" /> <meta http-equiv="x-ua-compatible" content="ie=edge" />
<link rel="stylesheet" href="$css" /> <link rel="stylesheet" href="$css" />
</head> </head>
<style> <style>
#product-table tbody > tr > td:first-child { #product-table tbody>tr>td:first-child {
color: #9b2c2c; color: #9b2c2c;
} }
#product-table tbody > tr > td:last-child { #product-table tbody>tr>td:last-child {
color: #9b2c2c; color: #9b2c2c;
font-weight: bold; font-weight: bold;
} }
</style> </style>
<body class="$global-margin antialiased bg-white break-words"> <body class="$global-margin antialiased bg-white break-words">
<!-- Company logo, entity details --> <!-- Company logo, entity details -->
<div class="grid grid-cols-12 gap-4"> <div class="grid grid-cols-12 gap-4">
<div class="col-span-4"> <div class="col-span-4">
<img <img src="$company.logo" alt="$company.name logo" class="w-24 col-span-4 sm:w-32" />
src="$company.logo"
alt="$company.name logo"
class="w-24 col-span-4 sm:w-32"
/>
</div> </div>
<div class="col-span-6 col-start-7 p-5 bg-teal-600 rounded-lg"> <div class="col-span-6 col-start-7 p-5 bg-teal-600 rounded-lg">
<table id="entity-details" class="text-white"></table> <table id="entity-details" class="text-white"></table>
@ -46,17 +40,13 @@
</div> </div>
<div class="col-span-6"> <div class="col-span-6">
<p class="px-4 font-semibold text-teal-600">$to_label:</p> <p class="px-4 font-semibold text-teal-600">$to_label:</p>
<div <div class="p-4 mt-4 border-t-4 border-b-4 border-teal-600 border-dashed">
class="p-4 mt-4 border-t-4 border-b-4 border-teal-600 border-dashed"
>
<div id="client-details"></div> <div id="client-details"></div>
</div> </div>
</div> </div>
<div class="col-span-6"> <div class="col-span-6">
<p class="px-4 font-semibold text-teal-600">$from_label:</p> <p class="px-4 font-semibold text-teal-600">$from_label:</p>
<div <div class="flex p-4 mt-4 space-x-4 border-t-4 border-b-4 border-teal-600 border-dashed">
class="flex p-4 mt-4 space-x-4 border-t-4 border-b-4 border-teal-600 border-dashed"
>
<div id="company-details"></div> <div id="company-details"></div>
<div id="company-address"></div> <div id="company-address"></div>
</div> </div>
@ -65,5 +55,8 @@
<!-- Product table --> <!-- Product table -->
<table id="product-table" class="w-full mt-10 table-auto"></table> <table id="product-table" class="w-full mt-10 table-auto"></table>
</body> </body>
<footer id="footer"></footer>
</html> </html>