Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @page {
- margin: 0;
- }
- * {
- width: auto;
- height: auto;
- margin: 0;
- padding: 0;
- font-family: 'Open Sans', sans-serif;
- font-size: 100%;
- line-height: 100%;
- box-sizing: border-box;
- }
- html,
- body {
- width: 100%;
- font-family: 'Open Sans', sans-serif;
- }
- #document {
- padding: 20px 20px 0px 20px;
- position: relative;
- }
- body,
- p,
- h2 {
- font-family: 'Open Sans', sans-serif !important;
- }
- /* Header */
- header {
- margin-bottom: 30px;
- }
- #distributore,
- #fattura-a,
- #spedisci-a {
- border: 2px solid rgba(0, 0, 0, 1);
- width: 200px;
- float: right;
- }
- #distributore {
- float: left;
- }
- #fattura-a {
- margin-right: 20px;
- }
- #distributore p,
- #fattura-a p,
- #spedisci-a p {
- border-bottom: 1px solid rgba(0, 0, 0, 1);
- padding: 5px 10px 5px 10px;
- font-size: 0.5em;
- font-weight: 300;
- text-transform: uppercase;
- }
- #distributore p:last-child,
- #fattura-a p:last-child,
- #spedisci-a p:last-child {
- border: 0;
- }
- #title {
- font-size: 2.2em;
- font-weight: 700;
- text-align: center;
- text-transform: uppercase;
- }
- /* Products table */
- table {
- width: 100%;
- max-width: 100%;
- margin: 70px 0px 30px 0px;
- border-spacing: 0;
- border-collapse: collapse;
- page-break-inside: always;
- }
- table thead tr {
- border-top: 2px solid rgba(0, 0, 0, 1);
- border-right: 2px solid rgba(0, 0, 0, 1);
- border-left: 2px solid rgba(0, 0, 0, 1);
- }
- table tbody tr {
- border-right: 2px solid rgba(0, 0, 0, 1);
- border-left: 2px solid rgba(0, 0, 0, 1);
- }
- table tr th,
- table tr td {
- border: 1px solid rgba(0, 0, 0, 1);
- padding: 6px 0px 6px 0px;
- font-size: 0.5em;
- font-weight: 300;
- text-align: left;
- text-transform: uppercase;
- }
- table thead tr th {
- background-color: rgba(249, 240, 1, 1);
- font-weight: 700;
- }
- table tfoot tr th {
- border: 0;
- border-top: 2px solid rgba(0, 0, 0, 1);
- background-color: rgba(255, 255, 255, 1);
- }
- table tr th.thumb,
- table tr td.thumb {
- width: 50px;
- padding: 0;
- }
- table tr td.thumb img {
- width: 50px;
- height: 50px;
- }
- table tr th.code,
- table tr td.code {
- width: 80px;
- padding-right: 10px;
- padding-left: 10px;
- }
- table tr th.desc,
- table tr td.desc {
- width: calc(100% - 470px);
- padding-left: 10px;
- }
- table tr th.size,
- table tr td.size {
- width: 30px;
- text-align: center;
- }
- table tr th.qty,
- table tr td.qty,
- table tr th.whs,
- table tr td.whs,
- table tr th.rrp,
- table tr td.rrp {
- width: 45px;
- text-align: center;
- }
- table tr th.qty,
- table tr td.qty {
- width: 40px;
- }
- table tr th.total,
- table tr td.total {
- width: 60px;
- text-align: center;
- }
- table tfoot tr th.qty,
- table tfoot tr th.total {
- border: 2px solid rgba(0, 0, 0, 1);
- border-top: 2px solid rgba(0, 0, 0, 1);
- background-color: rgba(249, 240, 1, 1);
- font-weight: 700;
- }
- /* Order details */
- #details {
- border: 2px solid rgba(0, 0, 0, 1);
- width: 450px;
- padding: 20px;
- float: right;
- }
- #order {
- border: 0;
- border-collapse: collapse;
- width: 100%;
- margin: 20px 0px 0px 0px;
- }
- #order tr {
- border: 0;
- }
- #order tr td {
- border: 0;
- padding: 5px 0px 5px 0px;
- font-size: 0.7em;
- text-transform: initial;
- vertical-align: top;
- }
- #order tr td.right {
- text-align: right;
- }
- /* Terms & Conditions */
- #terms {
- width: 70%;
- margin: 0 auto 50px auto;
- }
- #terms p {
- margin-bottom: 15px;
- font-size: 1.05em;
- line-height: 1.5;
- }
- #terms p:last-child {
- margin-bottom: 0;
- }
- /* Footer */
- footer {
- width: 100%;
- position: fixed;
- right: 0;
- bottom: 64px;
- left: 0;
- }
- footer p {
- margin-bottom: 10px;
- font-size: 0.6em;
- text-align: center;
- }
- footer p:last-child {
- margin-bottom: 0;
- }
- #pagination {
- font-size: 0.6em;
- position: absolute;
- right: 20px;
- bottom: 20px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement