112 lines
1.7 KiB
CSS
112 lines
1.7 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=Ubuntu&display=swap");
|
|
|
|
:root {
|
|
--font-family: "Ubuntu", sans-serif;
|
|
--main-color: #333;
|
|
--secondary-color: #888;
|
|
--border-color: #ddd;
|
|
--background-color: #fff;
|
|
}
|
|
|
|
header {
|
|
text-align: left;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.parties ul {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.parties li {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.parties h2 {
|
|
border-bottom: 1px solid var(--border-color);
|
|
padding-bottom: 8px;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.invoice-id {
|
|
color: var(--secondary-color);
|
|
}
|
|
|
|
#invoice {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
}
|
|
|
|
#invoice th,
|
|
#invoice td {
|
|
padding: 12px;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.invoice-total {
|
|
margin-top: 20px;
|
|
text-align: right;
|
|
}
|
|
|
|
.parties-section {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.parties {
|
|
width: 48%;
|
|
}
|
|
|
|
#invoice tbody tr {
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.small-col {
|
|
width: 5%;
|
|
}
|
|
|
|
.medium-col {
|
|
width: 15%;
|
|
}
|
|
|
|
.big-col {
|
|
width: 25%;
|
|
}
|
|
|
|
.right-align {
|
|
text-align: right;
|
|
}
|
|
|
|
footer {
|
|
position: fixed;
|
|
bottom: 0;
|
|
width: 100%;
|
|
text-align: center;
|
|
left: 0;
|
|
right: 0;
|
|
padding: 0;
|
|
margin-top: 20px;
|
|
color: var(--main-color);
|
|
background-color: var(--background-color);
|
|
}
|
|
|
|
@media print {
|
|
@page {
|
|
size: auto;
|
|
margin: 0;
|
|
}
|
|
|
|
.navbar {
|
|
display: none !important;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-family), sans-serif;
|
|
color: var(--main-color);
|
|
background-color: var(--background-color);
|
|
margin: 10mm 10mm;
|
|
}
|
|
}
|