Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 57 additions & 3 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
body{
margin: 0;
background: linear-gradient(to right, #333333, #cccccc);
}

#container{
Expand All @@ -15,25 +16,32 @@ body{
}
table{
margin: auto;

box-shadow: 1px 4px 8px rgb(196, 195, 195);
}
table, tr, td{
border: 1px solid black;
border: 3px solid black;
border-collapse: collapse;
}

td{
padding: 10px;
padding: 3px;
width: 20%;
}

.shift {
background: none;
border: none;
}
#save {
margin: auto;
display: none;
}

h2{
text-align: center;
font-family: Poppins;
font-size: 43px;
}
#box{
padding: 0;
Expand All @@ -43,18 +51,60 @@ label{
display: inline-block;
margin-bottom: 2%;
margin-top: 2%;
font-family: Poppins;
color: wheat;
}
#dptval, #auth{
border: 2px solid white;
background: none;

}
#columns, #rows {
border: 2px solid white;
width: 100px;
text-align: center;
outline-color: black;
background-color: #565656;
color: transparent;
font-family: Poppins;
font-size: 50px;
text-shadow: 0px 2px 3px rgba(255,255,255,0.5);
-webkit-background-clip: text;
-moz-background-clip: text;
background-clip: text;
/* box-shadow: inset 0px 0px 10px 10px black; */

}
#department_field{

margin: auto;
width: 50%;
text-align: center;
margin-top: 2%;
}

#tableFields, #save,#makepdf {
padding: 12px;
border: 4px solid oldlace;
background: none;
font-family: Poppins;
}
#tableFields:hover, #save:hover, #makepdf:hover {
transition: 1.2s;
background-color: white;
color: transparent;
text-shadow: 0px 0px 22px red;
cursor: pointer;
-webkit-background-clip: text;
-moz-background-clip: text;
background-clip: text;
}
#department_field input{
left: 50%;
margin: 1%;

}
#department_field input:active {

}

#department_field #auth{
Expand All @@ -68,3 +118,7 @@ label{
margin-top: 2%;
}

@font-face {
font-family: Poppins;
src: url(../fonta/Poppins-Light.ttf);
}
Binary file added fonta/Poppins-Light.ttf
Binary file not shown.
3 changes: 2 additions & 1 deletion js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ create.addEventListener('click', (e) => {
for (let j=0; j<col; j++){
let cl = document.createElement('td');
let inp = document.createElement('input');
inp.classList.add('shift')
inp.type = 'text';
cl.appendChild(inp);
inp.id = j;
Expand Down Expand Up @@ -87,4 +88,4 @@ button.addEventListener('click', () => {
save.addEventListener('click', () => {
save.style.display = 'none';
window.print();
})
})