Created
November 8, 2023 14:47
-
-
Save pravynandas/6ffda4d03bea941a7e2d025751c20b75 to your computer and use it in GitHub Desktop.
pub template to include styles in head section
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
doctype html | |
html(lang="en") | |
head | |
title= pageTitle | |
//- link(rel="stylesheet" href="statement.css") | |
style table td { | |
| border: 1px solid black; | |
| } | |
| table { | |
| border: 2px solid #200e91; | |
| } | |
| .summary thead { | |
| background: #d0d0e1 | |
| } | |
body | |
table(class="summary") | |
thead | |
tr | |
td | |
pre Summary of Your Account Activity | |
td | |
tbody | |
tr | |
td= `Previous Balance: ${stmt.previousBal}` | |
td= `Account Name: ${info.card_number}` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To have a cleaner template, move styles to a css and link reference it (commented line able).