Skip to content

Commit

Permalink
Added images and CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Jul 29, 2015
1 parent b19a463 commit c6a3635
Show file tree
Hide file tree
Showing 6 changed files with 161 additions and 0 deletions.
83 changes: 83 additions & 0 deletions css/invoice.css
@@ -0,0 +1,83 @@
body {
font-family: arial, helvetica, san-serif;
width: 210mm;
height: 297mm;
position: absolute;
}

#logo {
position: absolute;
top: 0px;
right: 50px;
}

#from {
position: absolute;
top: 150px;
right: 50px;
text-align: right;
}

#to {
position: absolute;
top: 150px;
left: 50px;
text-align: left;
}

#date {
position: absolute;
top: 250px;
right: 50px;
text-align: left;
}

#refs {
position: absolute;
top: 300px;
left: 50px;
font-weight: bold;
}

table#lines {
position: absolute;
width: 80%;
margin-top: 450px;
margin-left: 10%;
margin-right: 10%;
}

.linedate {
font-weight: bold;
font-style: italic;
}

td.total {
text-align: right;
}

td.amt {
text-align: right;
}

td.line {
border-top: solid 1px black;
}

td.grand {
border-top: double 3px black;
}

#footer {
position: absolute;
text-align: center;
width: 60%;
margin-left: 20%;
margin-right: 20%;
bottom: 0;
}

td {
vertical-align: bottom;
padding: 5px;
}
78 changes: 78 additions & 0 deletions css/timesheet.css
@@ -0,0 +1,78 @@
body {
font-family: arial, helvetica, sans-serif;
background-image: url(magnum.png);
background-repeat: no-repeat;
background-size: 33%;
background-position: 95% 3%;
}

h1 {
font-size: 12pt;
text-transform: uppercase;
font-weight: bold;
text-decoration: underline;
text-align: left;
width: 100%;
margin-top: 60pt;
}

table.head, table.weeks {
margin: 48pt auto 24pt auto;
border: solid 1px black;
border-collapse: collapse;
}

table.head th, table.head td, table.weeks th, table.weeks td {
border: solid 1px black;
padding: 3px;
height: 24pt;
vertical-align: top;
}

table.head td {
width: 72pt;
}

table.head th {
text-align: left;
background-color: #eee;
width: 144pt;
}

table.weeks td {
text-align: center;
}

table.weeks {
width: 100%;
}

table.weeks th, table.weeks td {
width: 11%;
}

table.weeks td.not_month {
background-color: #666;
}

table.weeks td.weekend {
background-color: #ccc;
}

th.grand {
text-align: right;
}

table.sigs {
width: 100%;
padding-top: 40px;
}

table.sigs td {
padding: 0 40px;
}

table.sigs img {
width: 144pt;
height: auto;
}
Binary file added img/davesig.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/magnum.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/magnum_header.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/nap.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c6a3635

Please sign in to comment.