Files
Hyper-V-Report/Style/StyleCSS-Pro.ps1
Federico Lillacci 5dd5e5e007 Add files via upload
2025-10-27 05:35:22 +01:00

59 lines
943 B
PowerShell

$header = @"
<style>
/* Outlook-Compatible Light Theme */
body {
background-color: #f9fafb;
font-size: 13px;
font-family: "Segoe UI", Arial, sans-serif;
color: #333333;
margin: 20px;
}
h1, h2 {
text-align: center;
color: #1f2937;
margin: 0 0 12px;
}
table {
width: 100%;
border-collapse: collapse;
background-color: #ffffff;
}
th, td {
text-align: left;
padding: 12px;
word-break: break-word;
}
th {
background-color: #2563eb;
color: #ffffff;
font-weight: 400;
}
td {
border-bottom: 1px solid #e5e7eb;
}
/* Zebra striping: apply manually in HTML */
tr.even {
background-color: #f9fafb;
}
tr.odd {
background-color: #ffffff;
}
/* Hover effects not supported in Outlook */
/* Responsive scroll and sticky headers not supported in Outlook */
/* Box-sizing reset (optional for email clients) */
* {
box-sizing: border-box;
}
</style>
"@