Skip to content
Draft
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
39 changes: 39 additions & 0 deletions web/apps/docs/docs.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/*
* Documentation Table Styles
*/

/* General table styling */
table {
width: 100%;
border-collapse: collapse; /* Cleaner borders */
margin: 1.5em 0;
font-size: 1rem;
box-shadow: 0 2px 3px rgba(0,0,0,0.1);
border: 1px solid #ddd;
}

/* Table header styling */
th {
background-color: #5156be; /* A primary color from the site */
color: #ffffff;
padding: 12px 15px;
text-align: left;
font-weight: 600;
border-bottom: 2px solid #404496;
}

/* Table cell styling */
td {
padding: 12px 15px;
border: 1px solid #ddd;
}

/* Zebra-striping for table rows */
tr:nth-child(even) {
background-color: #f9f9f9;
}

/* Hover effect for rows */
tr:hover {
background-color: #f1f1f1;
}
3 changes: 2 additions & 1 deletion web/apps/docs/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ protected function inlineLink($Excerpt)
}
}

$link['element']['attributes']['href'] = "/apps/docs/index.php?doc=".$newDoc;
$link['element']['attributes']['href'] = "/apps/docs/?doc=".$newDoc;
return $link;
}
}
Expand Down Expand Up @@ -139,6 +139,7 @@ protected function inlineLink($Excerpt)

define("PAGE", "Docs");
define("APP_NAME", "Docs");
define("HEAD_CSS", "/apps/docs/docs.css");

?>
<?php
Expand Down