Enhance Torn Vault Tracker: Add documentation, improve exception handling, and update styles
Deploy website via FTP / Deploy (push) Skipped
Deploy website via FTP / Deploy (push) Skipped
- Updated .gitignore to exclude new directories and files. - Enhanced config.php with detailed PHPDoc comments for better clarity. - Refactored functions.php to include PHPDoc comments and improve code readability. - Added custom exceptions in exceptions.php with detailed documentation. - Improved utilities.php with better documentation and error handling. - Updated index.php with structured comments and improved readability. - Refined style.css for better visual consistency. - Introduced phpcs.xml for coding style checks and standards enforcement.
This commit is contained in:
@@ -1,60 +1,60 @@
|
||||
:root {
|
||||
--red: #f77e82;
|
||||
--green: #08817d;
|
||||
}
|
||||
|
||||
body {
|
||||
background: #000;
|
||||
color: #fff;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
padding: 0 1em;
|
||||
}
|
||||
|
||||
table {
|
||||
color: #000;
|
||||
visibility: hidden;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table, tr, td, th {
|
||||
border: 1px solid #333;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
thead th {
|
||||
background: #ccc;
|
||||
color: #000;
|
||||
font-weight: bold;
|
||||
padding: .15em 1em;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
tr.debit { background-color: var(--red); }
|
||||
|
||||
tr.credit { background-color: var(--green); color: #fff; }
|
||||
|
||||
td { padding: .15em 1em; }
|
||||
|
||||
#pagination-controls {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 1em;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
h2, h3, h4 { margin: 0; }
|
||||
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
grid-template-rows: 1fr;
|
||||
grid-column-gap: 4em;
|
||||
grid-row-gap: 0px;
|
||||
margin-top: .5em;
|
||||
}
|
||||
|
||||
.vault { margin: 0 0 3em; }
|
||||
|
||||
.vault h3, h4 { font-style: italic; }
|
||||
:root {
|
||||
--red: #f77e82;
|
||||
--green: #08817d;
|
||||
}
|
||||
|
||||
body {
|
||||
background: #000;
|
||||
color: #fff;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
padding: 0 1em;
|
||||
}
|
||||
|
||||
table {
|
||||
color: #000;
|
||||
visibility: hidden;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table, tr, td, th {
|
||||
border: 1px solid #333;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
thead th {
|
||||
background: #ccc;
|
||||
color: #000;
|
||||
font-weight: bold;
|
||||
padding: .15em 1em;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
tr.debit { background-color: var(--red); }
|
||||
|
||||
tr.credit { background-color: var(--green); color: #fff; }
|
||||
|
||||
td { padding: .15em 1em; }
|
||||
|
||||
#pagination-controls {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 1em;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
h2, h3, h4 { margin: 0; }
|
||||
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
grid-template-rows: 1fr;
|
||||
grid-column-gap: 4em;
|
||||
grid-row-gap: 0px;
|
||||
margin-top: .5em;
|
||||
}
|
||||
|
||||
.vault { margin: 0 0 3em; }
|
||||
|
||||
.vault h3, h4 { font-style: italic; }
|
||||
|
||||
Reference in New Issue
Block a user