Compare commits
No commits in common. "main" and "9acb68d457a159ceeaa0e2d07006d7532bb86fa8" have entirely different histories.
main
...
9acb68d457
2 changed files with 19 additions and 4 deletions
|
@ -17,15 +17,31 @@ margin: 0 auto;
|
|||
}
|
||||
|
||||
a {
|
||||
color: #3291FF;
|
||||
color: #aac;
|
||||
}
|
||||
|
||||
h2 {
|
||||
h1 a {
|
||||
text-decoration: none;
|
||||
color: #cdcdcd;
|
||||
}
|
||||
|
||||
h1 a::before {
|
||||
content: "#";
|
||||
color: #aac;
|
||||
margin-right: 10px;
|
||||
}
|
||||
h1 a:hover::before {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
|
||||
.preview h1, h2 {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
|
||||
.search-container input[type=text] {
|
||||
padding: 6px;
|
||||
margin-top: 3px;
|
||||
|
@ -74,4 +90,3 @@ margin-bottom: 5px;
|
|||
.icon-search:before {
|
||||
content: "\e986";
|
||||
}
|
||||
|
||||
|
|
|
@ -55,5 +55,5 @@ foreach ($arg as $url) {
|
|||
echo "title: ".$title."\n";
|
||||
|
||||
$stmt = $db->prepare('INSERT INTO indexed (title, url, content) VALUES (?, ?, ?)');
|
||||
$stmt->execute([htmlspecialchars(str_replace('—','—',htmlspecialchars_decode($title))), htmlspecialchars(str_replace('—','—',htmlspecialchars_decode($url))), htmlspecialchars(str_replace('—','—',htmlspecialchars_decode($document)))]);
|
||||
$stmt->execute([htmlspecialchars(htmlspecialchars_decode($title)), htmlspecialchars(htmlspecialchars_decode($url)), htmlspecialchars(htmlspecialchars_decode($document))]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue