added privacy policy page and about section, improved dir check, fixed crash when idexer is disabled
This commit is contained in:
parent
61266c461a
commit
5ae97da6d0
18 changed files with 698 additions and 107 deletions
95
static/css/style-privacy.css
Normal file
95
static/css/style-privacy.css
Normal file
|
@ -0,0 +1,95 @@
|
|||
/* Main content wrapper */
|
||||
.privacy-content-wrapper {
|
||||
max-width: 800px;
|
||||
margin: 80px auto 40px auto;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
/* Header section */
|
||||
.privacy-header {
|
||||
text-align: center;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.privacy-header h1 {
|
||||
font-size: 2rem;
|
||||
margin: 0;
|
||||
color: var(--font-fg);
|
||||
}
|
||||
|
||||
.privacy-header p {
|
||||
color: var(--fg);
|
||||
margin-top: 10px;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
/* Section headings */
|
||||
.privacy-section h2 {
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 8px;
|
||||
color: var(--font-fg);
|
||||
border-bottom: 1px solid var(--border);
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
/* Section text */
|
||||
.privacy-section p {
|
||||
font-size: 1rem;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 20px;
|
||||
color: var(--fg);
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.privacy-footer {
|
||||
text-align: center;
|
||||
padding: 10px 0;
|
||||
border-top: 1px solid var(--border);
|
||||
color: var(--fg);
|
||||
background-color: var(--html-bg);
|
||||
}
|
||||
|
||||
/* Links */
|
||||
.privacy-section a {
|
||||
color: var(--link);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.privacy-section a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Table styling */
|
||||
.cookie-table {
|
||||
width: 100%;
|
||||
margin: 20px auto;
|
||||
border-collapse: collapse;
|
||||
text-align: left;
|
||||
font-size: 1rem;
|
||||
color: var(--fg);
|
||||
background-color: var(--html-bg);
|
||||
border: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.cookie-table th,
|
||||
.cookie-table td {
|
||||
padding: 12px 15px;
|
||||
border: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.cookie-table th {
|
||||
background-color: var(--search-bg);
|
||||
color: var(--font-fg);
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.cookie-table tr:nth-child(even) {
|
||||
background-color: var(--snip-background);
|
||||
}
|
||||
|
||||
/* Center the table within its section */
|
||||
.privacy-section .cookie-table {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue