Logo update WIP
This commit is contained in:
parent
787816d0ab
commit
9b92632cd6
11 changed files with 932 additions and 285 deletions
|
@ -59,7 +59,7 @@ msgid "all_settings"
|
|||
msgstr "All settings"
|
||||
|
||||
msgid "site_name"
|
||||
msgstr "Ocásek"
|
||||
msgstr "QGato"
|
||||
|
||||
msgid "search"
|
||||
msgstr "Search"
|
||||
|
|
|
@ -59,7 +59,7 @@ msgid "all_settings"
|
|||
msgstr "Wszystkie ustawienia"
|
||||
|
||||
msgid "site_name"
|
||||
msgstr "Ocásek"
|
||||
msgstr "QGato"
|
||||
|
||||
msgid "search"
|
||||
msgstr "Szukaj"
|
||||
|
|
|
@ -25,9 +25,9 @@ func generateOpenSearchXML(config Config) {
|
|||
|
||||
opensearch := OpenSearchDescription{
|
||||
Xmlns: "http://a9.com/-/spec/opensearch/1.1/",
|
||||
ShortName: "Warp",
|
||||
Description: "Warp search engine",
|
||||
Tags: "search, engine, warp",
|
||||
ShortName: "QGato",
|
||||
Description: "QGato search engine",
|
||||
Tags: "search, spitfire, qgato",
|
||||
URLs: []URL{
|
||||
{
|
||||
Type: "text/html",
|
||||
|
|
|
@ -1,61 +1,358 @@
|
|||
/* Font Definitions */
|
||||
@font-face {
|
||||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src: local(''),
|
||||
url('/static/fonts/inter-v12-latin-300.woff2') format('woff2'),
|
||||
url('/static/fonts/inter-v12-latin-300.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local(''),
|
||||
url('/static/fonts/inter-v12-latin-regular.woff2') format('woff2'),
|
||||
url('/static/fonts/inter-v12-latin-regular.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Inter';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local(''),
|
||||
url('/static/fonts/inter-v12-latin-700.woff2') format('woff2'),
|
||||
url('/static/fonts/inter-v12-latin-700.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: 'Material Icons Round';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('/static/fonts/material-icons-round-v108-latin-regular.woff2') format('woff2');
|
||||
}
|
||||
|
||||
/* General Styles */
|
||||
body, html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: var(--html-bg);
|
||||
font-family: 'Inter', Arial, Helvetica, sans-serif;
|
||||
font-size: 16px;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
body.menu-open {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.highlight {
|
||||
color: var(--highlight);
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.material-icons-round {
|
||||
font-family: 'Material Icons Round' !important;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-size: 24px;
|
||||
line-height: 1;
|
||||
letter-spacing: normal;
|
||||
text-transform: none;
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
word-wrap: normal;
|
||||
direction: ltr;
|
||||
-webkit-font-feature-settings: 'liga';
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-feature-settings: 'liga';
|
||||
}
|
||||
|
||||
#search-wrapper-ico {
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--fg);
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 10px;
|
||||
transform: translateY(-50%);
|
||||
cursor: pointer;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
#search-wrapper-ico:hover {
|
||||
transition: color 0.3s ease;
|
||||
color: var(--blue);
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
margin: 0 auto;
|
||||
background: var(--search-bg-input);
|
||||
border-radius: 22px;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-width: 600px;
|
||||
overflow: visible;
|
||||
border: 1px solid var(--search-bg-input-border);
|
||||
}
|
||||
|
||||
.wrapper input {
|
||||
width: 100%;
|
||||
padding: 10px 50px 10px 20px;
|
||||
font-size: 16px;
|
||||
color: var(--font-fg);
|
||||
background-color: var(--search-bg-input);
|
||||
background: none;
|
||||
border: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.wrapper input::placeholder {
|
||||
color: var(--fg);
|
||||
}
|
||||
|
||||
/* Autocomplete Styles */
|
||||
.autocomplete {
|
||||
text-align: left;
|
||||
width: 100%; /* Ensure it matches the input width */
|
||||
}
|
||||
|
||||
.wrapper.show .autocomplete {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.autocomplete ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.autocomplete ul li {
|
||||
list-style: none;
|
||||
padding: 8px 12px;
|
||||
cursor: pointer;
|
||||
color: var(--font-fg);
|
||||
}
|
||||
|
||||
.autocomplete ul li.selected,
|
||||
.autocomplete ul li:hover {
|
||||
background: var(--search-select);
|
||||
}
|
||||
|
||||
.autocomplete ul li:last-child {
|
||||
border-bottom-left-radius: 22px;
|
||||
border-bottom-right-radius: 22px;
|
||||
}
|
||||
|
||||
/* Logo Styles */
|
||||
.logo-container {
|
||||
margin: 0 auto 40px auto;
|
||||
color: var(--font-fg);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.logo-container svg {
|
||||
max-width: 300px;
|
||||
height: auto;
|
||||
vertical-align: middle;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* Centering Content */
|
||||
.search-page-content {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.search-page-content h1 {
|
||||
text-align: center;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#search-input {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
font-size: 16px;
|
||||
justify-content: center; /* Center vertically */
|
||||
height: 100vh; /* Make it full viewport height */
|
||||
}
|
||||
|
||||
/* Search Type Icons */
|
||||
.search-type-icons {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 30px;
|
||||
margin-top: 30px;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.icon-button {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.icon-button .material-icons-round {
|
||||
font-size: 48px;
|
||||
color: var(--sub-search-wrapper-ico);
|
||||
.icon-button button {
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--search-button);
|
||||
cursor: pointer;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.icon-button button:hover {
|
||||
color: var(--blue);
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.icon-button p {
|
||||
margin-top: 8px;
|
||||
margin-top: 5px;
|
||||
font-size: 14px;
|
||||
color: var(--sub-search-wrapper-ico);
|
||||
color: var(--font-fg);
|
||||
}
|
||||
|
||||
.icon-button:hover .material-icons-round {
|
||||
transition: all .3s ease;
|
||||
/* Menu Button */
|
||||
.settings-icon-link-search {
|
||||
position: fixed;
|
||||
top: 20px;
|
||||
right: 20px;
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--fg);
|
||||
cursor: pointer;
|
||||
font-size: 36px;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.settings-icon-link-search:hover {
|
||||
color: var(--highlight);
|
||||
}
|
||||
|
||||
/* Style for Close Button in Menu */
|
||||
.closebtn {
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--fg);
|
||||
cursor: pointer;
|
||||
font-size: 36px;
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
right: 20px;
|
||||
}
|
||||
|
||||
.side-nav .closebtn:hover {
|
||||
color: var(--highlight);
|
||||
background: none;
|
||||
}
|
||||
|
||||
/* Side Navigation Menu */
|
||||
.side-nav {
|
||||
height: 100%;
|
||||
width: 0;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
background-color: var(--html-bg);
|
||||
overflow-x: hidden;
|
||||
transition: 0.5s;
|
||||
z-index: 1000;
|
||||
box-shadow: -2px 0 5px rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
/* Menu Content */
|
||||
.side-nav a,
|
||||
.side-nav button,
|
||||
.side-nav select {
|
||||
padding: 8px 32px;
|
||||
text-decoration: none;
|
||||
font-size: 18px;
|
||||
color: var(--font-fg);
|
||||
display: block;
|
||||
transition: background-color 0.3s ease;
|
||||
border: none;
|
||||
background: none;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.side-nav a:hover,
|
||||
.side-nav button:hover,
|
||||
.side-nav select:hover {
|
||||
background-color: var(--search-select);
|
||||
color: var(--blue);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.icon-button:hover p {
|
||||
transition: all .3s ease;
|
||||
color: var(--blue);
|
||||
/* Style for buttons in the menu */
|
||||
.side-nav button {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 18px;
|
||||
font-family: inherit;
|
||||
padding: 8px 32px;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
color: var(--font-fg);
|
||||
}
|
||||
|
||||
.icon-button button:focus {
|
||||
.side-nav .closebtn:hover {
|
||||
color: var(--highlight);
|
||||
}
|
||||
|
||||
/* Overlay effect when menu is open */
|
||||
body.menu-open::before {
|
||||
content: '';
|
||||
display: block;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(0,0,0,0.5);
|
||||
z-index: 998;
|
||||
}
|
||||
|
||||
/* Responsive Design */
|
||||
@media only screen and (max-width: 450px) {
|
||||
.wrapper {
|
||||
width: 90%;
|
||||
}
|
||||
.logo-container svg {
|
||||
width: 75%;
|
||||
max-width: 90%;
|
||||
min-width: 25%;
|
||||
}
|
||||
}
|
||||
|
||||
/* Additional Global Styles */
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: var(--link);
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 70px;
|
||||
color: var(--font-fg);
|
||||
font-family: 'Inter';
|
||||
}
|
||||
|
||||
p {
|
||||
color: var(--fg);
|
||||
font-size: 14px;
|
||||
line-height: 1.58;
|
||||
}
|
||||
|
||||
input, button {
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Remove default focus outline and add custom focus style
|
||||
.wrapper input[type="text"]:focus {
|
||||
outline: none;
|
||||
border: 1px solid var(--blue);
|
||||
box-shadow: none;
|
||||
} */
|
||||
|
||||
|
||||
|
|
|
@ -1057,6 +1057,16 @@ p {
|
|||
color: #b0316e;
|
||||
}
|
||||
|
||||
.logo-container {
|
||||
color: var(--font-fg);
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.logo-container svg {
|
||||
vertical-align: middle;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.results-search-container {
|
||||
background-color: var(--search-bg);
|
||||
width: 100%;
|
||||
|
|
185
static/images/icon.svg
Normal file
185
static/images/icon.svg
Normal file
|
@ -0,0 +1,185 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
version="1.0"
|
||||
width="682.667"
|
||||
height="682.667"
|
||||
viewBox="0 0 530 530"
|
||||
id="svg167"
|
||||
sodipodi:docname="icon9.svg"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview169"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="0.2149286"
|
||||
inkscape:cx="-549.01955"
|
||||
inkscape:cy="158.19207"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1008"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg167" />
|
||||
<defs
|
||||
id="defs7">
|
||||
<radialGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
cx="254.9"
|
||||
cy="255.633"
|
||||
r="238.439"
|
||||
id="gradient-1">
|
||||
<stop
|
||||
offset="0"
|
||||
style="stop-color: rgb(1, 5, 11);"
|
||||
id="stop2" />
|
||||
<stop
|
||||
offset="1"
|
||||
style="stop-color: rgb(11, 22, 36);"
|
||||
id="stop4" />
|
||||
</radialGradient>
|
||||
</defs>
|
||||
<ellipse
|
||||
style="stroke: rgb(0, 0, 0); fill-rule: nonzero; paint-order: fill; fill: url('#gradient-1');"
|
||||
cx="254.9"
|
||||
cy="255.633"
|
||||
rx="238.439"
|
||||
ry="241.995"
|
||||
id="ellipse9" />
|
||||
<path
|
||||
d="M 227.807 9.359 C 191.895 14.755 154.022 29.376 123.997 49.49 C 116.835 54.199 110.163 58.909 109.083 59.989 C 108.003 60.97 103.981 64.305 100.253 67.347 C 81.806 82.261 61.397 106.594 47.072 130.437 C 41.773 139.269 32.059 158.5 32.059 160.168 C 32.059 160.561 31.373 162.13 30.489 163.798 C 25.682 172.923 16.873 203.776 14.202 223.16 C 11.407 243.446 11.922 277.635 14.202 293.805 C 16.935 313.181 25.682 344.043 30.489 353.169 C 31.373 354.738 32.059 356.406 32.059 356.799 C 32.059 358.466 41.773 377.698 47.072 386.528 C 61.397 410.372 81.806 434.704 100.253 449.62 C 103.981 452.66 108.003 455.997 109.083 456.978 C 114.676 462.179 138.715 477.093 151.961 483.569 C 188.854 501.72 222.901 509.668 263.621 509.668 C 304.34 509.668 338.388 501.72 375.28 483.569 C 388.526 477.093 412.565 462.179 418.158 456.978 C 419.237 455.997 423.261 452.66 426.989 449.62 C 445.435 434.704 465.845 410.372 480.169 386.528 C 485.467 377.698 495.181 358.466 495.181 356.799 C 495.181 356.406 495.868 354.738 496.751 353.169 C 499.401 348.066 506.662 325.106 509.213 313.43 C 513.727 293.02 514.964 276.028 514.673 257.184 C 514.382 238.34 513.727 223.945 509.213 203.536 C 506.759 192.547 498.813 166.84 497.243 164.779 C 496.751 164.289 496.065 162.719 495.673 161.443 C 492.924 152.613 479.287 127.592 469.768 114.248 C 458.092 97.666 440.137 77.945 426.989 67.347 C 423.261 64.305 419.237 60.97 418.158 59.989 C 412.565 54.788 388.526 39.873 375.28 33.398 C 350.26 21.035 324.749 13.087 298.159 9.26 C 279.222 6.611 246.45 6.611 227.807 9.359 Z M 286.973 45.663 C 333.874 50.764 378.518 72.351 412.663 106.399 C 467.806 161.247 489.491 240.626 469.279 313.626 C 449.851 383.977 397.16 439.709 329.361 461.983 C 286.09 476.112 241.152 476.112 197.88 461.983 C 166.385 451.581 138.42 434.41 114.578 410.568 C 59.435 355.719 37.751 276.341 57.964 203.34 C 77.391 132.988 129.982 77.257 197.88 54.984 C 211.715 50.471 226.727 47.036 239.091 45.663 C 249.883 44.486 275.984 44.387 286.973 45.663 Z"
|
||||
style="fill: rgb(151, 151, 151); fill-opacity: 0.5;"
|
||||
id="path11" />
|
||||
<g
|
||||
transform="matrix(1, 0, 0, 1, -1.973166, 0.772999)"
|
||||
id="g25">
|
||||
<path
|
||||
d="M 296.861 190.109 C 345.781 129.805 270.686 138.037 259.787 132.583 C 255.957 130.669 252.189 112.19 243.666 116.457 C 230.541 123.024 231.656 157.203 230.232 168.605 C 229.459 174.811 220.794 183.697 217.946 190.109 C 213.4 200.341 208.405 212.512 200.054 225.222 C 191.704 237.933 174.253 247.787 165.518 257.501 C 128.343 298.822 144.281 347.399 185.096 378.812 C 226.377 410.584 398.792 398.726 350.06 325.589"
|
||||
stroke-width="16"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
style="stroke: rgb(151, 151, 151); fill-opacity: 0; stroke-opacity: 0.5;"
|
||||
id="path17" />
|
||||
<path
|
||||
d="M 277.564 218.103 C 289.679 262.447 272.288 308.756 272.288 352.177 C 272.288 357.174 282.204 352.352 287.062 353.245"
|
||||
stroke-width="16"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
style="stroke: rgb(151, 151, 151); fill-opacity: 0; stroke-opacity: 0.5;"
|
||||
id="path19" />
|
||||
<path
|
||||
d="M 214.328 264.699 C 224.08 266.135 232.98 273.294 239.883 279.986 C 274.243 313.301 230.349 335.69 227.918 347.467 C 227.369 350.131 238.696 351.965 240.971 352.209"
|
||||
stroke-width="16"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
style="stroke: rgb(151, 151, 151); fill-opacity: 0; stroke-opacity: 0.5;"
|
||||
id="path21" />
|
||||
<path
|
||||
d="M 263.197 118.814 C 269.822 112.599 271.086 123.477 272.288 129.458"
|
||||
stroke-width="16"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
style="stroke: rgb(151, 151, 151); fill-opacity: 0; stroke-opacity: 0.5;"
|
||||
id="path23" />
|
||||
</g>
|
||||
<g
|
||||
transform="matrix(1, 0, 0, 1, -3.587788, -4.484735)"
|
||||
id="g35">
|
||||
<path
|
||||
d="M 296.861 190.109 C 345.781 129.805 270.686 138.037 259.787 132.583 C 255.957 130.669 252.189 112.19 243.666 116.457 C 230.541 123.024 231.656 157.203 230.232 168.605 C 229.459 174.811 220.794 183.697 217.946 190.109 C 213.4 200.341 208.405 212.512 200.054 225.222 C 191.704 237.933 174.253 247.787 165.518 257.501 C 128.343 298.822 144.281 347.399 185.096 378.812 C 226.377 410.584 398.792 398.726 350.06 325.589"
|
||||
stroke-width="16"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
style="stroke: rgb(255, 255, 255); fill-opacity: 0;"
|
||||
id="path27" />
|
||||
<path
|
||||
d="M 277.564 218.103 C 289.679 262.447 272.288 308.756 272.288 352.177 C 272.288 357.174 282.204 352.352 287.062 353.245"
|
||||
stroke-width="16"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
style="stroke: rgb(255, 255, 255); fill-opacity: 0;"
|
||||
id="path29" />
|
||||
<path
|
||||
d="M 214.328 264.699 C 224.08 266.135 232.98 273.294 239.883 279.986 C 274.243 313.301 230.349 335.69 227.918 347.467 C 227.369 350.131 238.696 351.965 240.971 352.209"
|
||||
stroke-width="16"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
style="stroke: rgb(255, 255, 255); fill-opacity: 0;"
|
||||
id="path31" />
|
||||
<path
|
||||
d="M 263.197 118.814 C 269.822 112.599 271.086 123.477 272.288 129.458"
|
||||
stroke-width="16"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
style="stroke: rgb(255, 255, 255); fill-opacity: 0;"
|
||||
id="path33" />
|
||||
</g>
|
||||
<path
|
||||
d="m 336.79039,238.24101 c -0.10176,0.26458 -0.69778,2.95103 -1.32724,5.93548 -0.66289,2.98446 -1.22838,5.50518 -1.2938,5.5706 -0.0988,0.0669 -2.65155,0.66434 -5.73632,1.32723 -3.08476,0.62946 -5.73777,1.29235 -5.87151,1.3912 -0.13229,0.13374 2.42333,0.83006 5.70434,1.52639 l 5.96891,1.26036 0.49862,2.18783 c 0.26458,1.19349 0.79518,3.7491 1.19349,5.6709 0.39832,1.92471 0.83007,3.58339 0.96236,3.74911 0.13228,0.13083 0.79663,-2.42188 1.49295,-5.63747 0.69487,-3.25194 1.25891,-5.93548 1.29235,-5.93548 0.0334,-0.0349 2.68499,-0.59893 5.87006,-1.29525 3.18216,-0.66289 5.86861,-1.2938 5.93548,-1.35921 0.19771,-0.19916 -0.53061,-0.39832 -6.23495,-1.59181 -2.98445,-0.66435 -5.47029,-1.22693 -5.53716,-1.2938 -0.0669,-0.0654 -0.69632,-2.7853 -1.42754,-6.06922 -0.69487,-3.24903 -1.35921,-5.70288 -1.49004,-5.43686 z"
|
||||
style="fill:#ffffff;fill-opacity:0.79;stroke-width:1.45371"
|
||||
id="path47">
|
||||
<title
|
||||
id="title45">Star</title>
|
||||
</path>
|
||||
<path
|
||||
d="m 236.51034,57.879268 c -0.10333,0.26864 -0.70555,2.98752 -1.3432,6.00455 -0.67013,3.01703 -1.24283,5.567637 -1.30778,5.632577 -0.10037,0.0679 -2.68049,0.67308 -5.80085,1.3432 -3.12036,0.63765 -5.80381,1.30778 -5.9396,1.40815 -0.13285,0.13284 2.45318,0.83839 5.76838,1.54099 l 6.03702,1.2753 0.5048,2.21407 c 0.26864,1.2074 0.80592,3.79048 1.20741,5.7359 0.40443,1.945434 0.83839,3.622212 0.97124,3.790482 0.13579,0.13285 0.80887,-2.450232 1.51146,-5.700482 0.70555,-3.28862 1.27235,-6.00454 1.30778,-6.00454 0.0325,-0.0354 2.71592,-0.60518 5.93665,-1.31073 3.21777,-0.66717 5.93665,-1.30778 6.00159,-1.37567 0.20074,-0.19779 -0.53433,-0.40149 -6.3027,-1.60594 -3.01999,-0.67308 -5.53517,-1.24283 -5.60307,-1.31073 -0.0679,-0.0649 -0.70259,-2.816287 -1.44062,-6.137387 -0.70555,-3.28567 -1.37567,-5.76838 -1.50851,-5.49974 z"
|
||||
style="fill:#ffffff;fill-opacity:0.76;stroke-width:2.95209"
|
||||
id="path59">
|
||||
<title
|
||||
id="title57">Star</title>
|
||||
</path>
|
||||
<path
|
||||
d="m 430.1394,260.21842 c -0.17644,0.45556 -1.1946,5.06618 -2.28073,10.18444 -1.1353,5.11969 -2.10428,9.44541 -2.21564,9.55677 -0.17066,0.11425 -4.54988,1.13819 -9.84168,2.27783 -5.2918,1.08034 -9.84457,2.21853 -10.07308,2.3863 -0.22561,0.22851 4.15795,1.4231 9.78528,2.6177 l 10.24084,2.16358 0.85618,3.753 c 0.45267,2.04643 1.36525,6.43144 2.04643,9.73032 0.68407,3.29888 1.4231,6.14508 1.65016,6.42999 0.22851,0.22706 1.3667,-4.15505 2.5613,-9.67102 1.19459,-5.57816 2.16068,-10.18444 2.21709,-10.18444 0.0578,-0.0579 4.61062,-1.02684 10.07018,-2.22143 5.46102,-1.1353 10.06875,-2.21854 10.18445,-2.33279 0.33986,-0.33842 -0.91114,-0.68118 -10.69642,-2.72761 -5.12114,-1.14109 -9.38611,-2.10718 -9.50036,-2.22143 -0.11426,-0.11136 -1.1946,-4.77839 -2.44704,-10.41006 -1.19315,-5.57671 -2.33424,-9.78672 -2.55696,-9.33115 z"
|
||||
style="fill:#ffffff;stroke-width:1.44624"
|
||||
id="path103">
|
||||
<title
|
||||
id="title101">Star</title>
|
||||
</path>
|
||||
<path
|
||||
d="m 125.9954,343.27517 c -0.20394,0.5266 -1.38086,5.85614 -2.63635,11.77248 -1.31232,5.91801 -2.4324,10.91823 -2.56112,11.04695 -0.19728,0.13207 -5.25934,1.31567 -11.37628,2.63301 -6.11694,1.2488 -11.379609,2.56445 -11.643759,2.75838 -0.26079,0.26415 4.806289,1.645 11.311079,3.02588 l 11.83768,2.50094 0.98968,4.3382 c 0.52325,2.36553 1.57813,7.43428 2.36553,11.24756 0.79073,3.81326 1.645,7.10326 1.90746,7.43261 0.26415,0.26246 1.57982,-4.80295 2.96068,-11.17902 1.38087,-6.44794 2.4976,-11.77248 2.56281,-11.77248 0.0668,-0.0669 5.32954,-1.18694 11.6404,-2.56781 6.31254,-1.31232 11.63875,-2.56448 11.77249,-2.69653 0.39286,-0.3912 -1.05322,-0.7874 -12.3643,-3.15293 -5.91966,-1.31901 -10.84967,-2.43574 -10.98172,-2.56781 -0.13208,-0.12872 -1.38088,-5.52347 -2.82862,-12.03328 -1.37919,-6.44629 -2.6982,-11.31276 -2.95566,-10.78615 z"
|
||||
style="fill:#ffffff;stroke-width:1.67174"
|
||||
id="path103-3">
|
||||
<title
|
||||
id="title101-5">Star</title>
|
||||
</path>
|
||||
<path
|
||||
d="m 86.946789,260.00927 c -0.0718,0.18673 -0.49317,2.09235 -0.94164,4.20705 -0.46923,2.1147 -0.86982,3.90222 -0.91611,3.94691 -0.0686,0.0479 -1.87849,0.47241 -4.06501,0.94164 -2.18652,0.44688 -4.0666,0.9161 -4.16236,0.98633 -0.0926,0.0942 1.71889,0.58732 4.04426,1.08208 l 4.2294,0.89217 0.35431,1.55131 c 0.18673,0.84588 0.56339,2.65574 0.84588,4.02032 0.28249,1.36298 0.58892,2.53924 0.68149,2.65574 0.0942,0.0926 0.56498,-1.71729 1.05815,-3.99478 0.49316,-2.30463 0.89216,-4.20706 0.9161,-4.20706 0.0239,-0.0255 1.90403,-0.42453 4.15918,-0.9177 2.25674,-0.47082 4.16077,-0.9177 4.20705,-0.96398 0.14204,-0.14045 -0.37506,-0.28249 -4.41613,-1.12837 -2.1163,-0.47082 -3.87828,-0.86982 -3.92616,-0.9177 -0.0479,-0.0447 -0.49316,-1.97266 -1.01027,-4.29963 -0.49316,-2.30462 -0.96558,-4.04266 -1.05814,-3.85433 z"
|
||||
style="fill:#ffffff;fill-opacity:0.6;stroke-width:1.596"
|
||||
id="path115">
|
||||
<title
|
||||
id="title113">Star</title>
|
||||
</path>
|
||||
<path
|
||||
d="m 353.12883,391.29185 c -0.16947,0.44194 -1.15634,4.8978 -2.20302,9.84544 -1.09985,4.94764 -2.03687,9.12772 -2.14321,9.23737 -0.16614,0.10969 -4.39605,1.09985 -9.51315,2.19969 -5.11379,1.04668 -9.51317,2.14652 -9.73579,2.30934 -0.21931,0.21931 4.02058,1.37565 9.46,2.52865 l 9.89528,2.09003 0.83069,3.6285 c 0.43528,1.97707 1.31915,6.21696 1.97707,9.40683 0.66123,3.18657 1.37563,5.93783 1.59494,6.21362 0.2193,0.21931 1.31915,-4.01726 2.47548,-9.34701 1.15302,-5.3929 2.08672,-9.84544 2.1432,-9.84544 0.0565,-0.0565 4.45587,-0.99019 9.73247,-2.14653 5.27991,-1.09652 9.73246,-2.1432 9.84212,-2.25618 0.33228,-0.32563 -0.87722,-0.65792 -10.33723,-2.63497 -4.94763,-1.10316 -9.07122,-2.03687 -9.18086,-2.14653 -0.1129,-0.10968 -1.15634,-4.61868 -2.36584,-10.06475 -1.15302,-5.38957 -2.25618,-9.45667 -2.47215,-9.01806 z"
|
||||
style="fill:#ffffff;fill-opacity:0.85;stroke-width:3.3228"
|
||||
id="path135">
|
||||
<title
|
||||
id="title133">Star</title>
|
||||
</path>
|
||||
<path
|
||||
d="m 364.4882,94.147212 c -0.24823,0.64841 -1.69054,7.140918 -3.2163,14.356758 -1.60281,7.2094 -2.96593,13.30178 -3.12642,13.46226 -0.23968,0.16264 -6.40695,1.60709 -13.86673,3.21202 -7.45549,1.52578 -13.86884,3.12857 -14.19197,3.36397 -0.32313,0.31885 5.86124,2.00511 13.7918,3.68924 l 14.42739,3.04724 1.20692,5.28348 c 0.6334,2.88461 1.92806,9.06686 2.88246,13.71906 0.96511,4.64149 2.00724,8.65599 2.32397,9.05616 0.32311,0.32099 1.92378,-5.85698 3.61005,-13.62704 1.68412,-7.8578 3.04084,-14.35035 3.12857,-14.35035 0.0813,-0.0813 6.49252,-1.44657 14.1834,-3.12855 7.69947,-1.60281 14.18986,-3.12857 14.34821,-3.2955 0.48575,-0.47291 -1.27755,-0.9544 -15.06935,-3.83474 -7.21155,-1.61137 -13.22687,-2.97235 -13.38095,-3.13499 -0.16904,-0.16048 -1.6884,-6.73434 -3.45384,-14.66919 -1.67555,-7.855653 -3.28905,-13.787528 -3.59721,-13.149828 z"
|
||||
style="fill:#ffffff;stroke-width:2.13992"
|
||||
id="path143">
|
||||
<title
|
||||
id="title141">Star</title>
|
||||
</path>
|
||||
<path
|
||||
d="m 149.33562,145.91798 c -0.18405,0.4815 -1.26207,5.35721 -2.40911,10.767 -1.20289,5.41472 -2.22668,9.98643 -2.345,10.10639 -0.17913,0.11835 -4.80834,1.20126 -10.40383,2.40581 -5.59548,1.14375 -10.40875,2.34501 -10.65031,2.52413 -0.23993,0.24157 4.3975,1.50364 10.3463,2.76735 l 10.82616,2.28584 0.9071,3.97026 c 0.47822,2.1626 1.4412,6.79839 2.1626,10.2855 0.72142,3.48712 1.50364,6.49931 1.74193,6.7984 0.24156,0.24156 1.44611,-4.39259 2.71146,-10.22471 1.26042,-5.89621 2.28093,-10.767 2.34173,-10.767 0.0624,-0.0624 4.87243,-1.08623 10.64703,-2.34829 5.77461,-1.20127 10.64539,-2.34666 10.76699,-2.46662 0.35989,-0.35824 -0.96296,-0.72142 -11.30599,-2.88402 -5.41637,-1.20784 -9.92727,-2.22833 -10.04559,-2.34665 -0.12324,-0.11991 -1.26535,-5.0532 -2.58822,-11.00857 -1.26042,-5.89457 -2.46661,-10.34467 -2.70325,-9.86482 z"
|
||||
style="fill:#ffffff;fill-opacity:0.85;stroke-width:1.64332"
|
||||
id="path163">
|
||||
<title
|
||||
id="title161">Star</title>
|
||||
</path>
|
||||
<path
|
||||
d="M 222.565 6.215 C 186.653 11.611 148.78 26.232 118.755 46.346 C 111.593 51.055 104.921 55.765 103.841 56.845 C 102.761 57.826 98.739 61.161 95.011 64.203 C 76.564 79.117 56.155 103.45 41.83 127.293 C 36.531 136.125 26.817 155.356 26.817 157.024 C 26.817 157.417 26.131 158.986 25.247 160.654 C 20.44 169.779 11.631 200.632 8.96 220.016 C 6.165 240.302 6.68 274.491 8.96 290.661 C 11.693 310.037 20.44 340.899 25.247 350.025 C 26.131 351.594 26.817 353.262 26.817 353.655 C 26.817 355.322 36.531 374.554 41.83 383.384 C 56.155 407.228 76.564 431.56 95.011 446.476 C 98.739 449.516 102.761 452.853 103.841 453.834 C 109.434 459.035 133.473 473.949 146.719 480.425 C 183.612 498.576 217.659 506.524 258.379 506.524 C 299.098 506.524 333.146 498.576 370.038 480.425 C 383.284 473.949 407.323 459.035 412.916 453.834 C 413.995 452.853 418.019 449.516 421.747 446.476 C 440.193 431.56 460.603 407.228 474.927 383.384 C 480.225 374.554 489.939 355.322 489.939 353.655 C 489.939 353.262 490.626 351.594 491.509 350.025 C 494.159 344.922 501.42 321.962 503.971 310.286 C 508.485 289.876 509.722 272.884 509.431 254.04 C 509.14 235.196 508.485 220.801 503.971 200.392 C 501.517 189.403 493.571 163.696 492.001 161.635 C 491.509 161.145 490.823 159.575 490.431 158.299 C 487.682 149.469 474.045 124.448 464.526 111.104 C 452.85 94.522 434.895 74.801 421.747 64.203 C 418.019 61.161 413.995 57.826 412.916 56.845 C 407.323 51.644 383.284 36.729 370.038 30.254 C 345.018 17.891 319.507 9.943 292.917 6.116 C 273.98 3.467 241.208 3.467 222.565 6.215 Z M 281.731 42.519 C 328.632 47.62 373.276 69.207 407.421 103.255 C 462.564 158.103 484.249 237.482 464.037 310.482 C 444.609 380.833 391.918 436.565 324.119 458.839 C 280.848 472.968 235.91 472.968 192.638 458.839 C 161.143 448.437 133.178 431.266 109.336 407.424 C 54.193 352.575 32.509 273.197 52.722 200.196 C 72.149 129.844 124.74 74.113 192.638 51.84 C 206.473 47.327 221.485 43.892 233.849 42.519 C 244.641 41.342 270.742 41.243 281.731 42.519 Z"
|
||||
style="fill: rgb(255, 255, 255);"
|
||||
id="path165" />
|
||||
</svg>
|
After Width: | Height: | Size: 16 KiB |
54
static/images/icon2.svg
Normal file
54
static/images/icon2.svg
Normal file
|
@ -0,0 +1,54 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg version="1.0" width="682.667" height="682.667" viewBox="0 0 530 530" id="svg167" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs id="defs7">
|
||||
<radialGradient gradientUnits="userSpaceOnUse" cx="254.9" cy="255.633" r="238.439" id="gradient-1">
|
||||
<stop offset="0" style="stop-color: rgb(1, 5, 11);" id="stop2"/>
|
||||
<stop offset="1" style="stop-color: rgb(11, 22, 36);" id="stop4"/>
|
||||
</radialGradient>
|
||||
</defs>
|
||||
<ellipse style="stroke: rgb(0, 0, 0); fill-rule: nonzero; paint-order: fill; fill: url('#gradient-1');" cx="254.9" cy="255.633" rx="238.439" ry="241.995" id="ellipse9"/>
|
||||
<path d="M 227.807 9.359 C 191.895 14.755 154.022 29.376 123.997 49.49 C 116.835 54.199 110.163 58.909 109.083 59.989 C 108.003 60.97 103.981 64.305 100.253 67.347 C 81.806 82.261 61.397 106.594 47.072 130.437 C 41.773 139.269 32.059 158.5 32.059 160.168 C 32.059 160.561 31.373 162.13 30.489 163.798 C 25.682 172.923 16.873 203.776 14.202 223.16 C 11.407 243.446 11.922 277.635 14.202 293.805 C 16.935 313.181 25.682 344.043 30.489 353.169 C 31.373 354.738 32.059 356.406 32.059 356.799 C 32.059 358.466 41.773 377.698 47.072 386.528 C 61.397 410.372 81.806 434.704 100.253 449.62 C 103.981 452.66 108.003 455.997 109.083 456.978 C 114.676 462.179 138.715 477.093 151.961 483.569 C 188.854 501.72 222.901 509.668 263.621 509.668 C 304.34 509.668 338.388 501.72 375.28 483.569 C 388.526 477.093 412.565 462.179 418.158 456.978 C 419.237 455.997 423.261 452.66 426.989 449.62 C 445.435 434.704 465.845 410.372 480.169 386.528 C 485.467 377.698 495.181 358.466 495.181 356.799 C 495.181 356.406 495.868 354.738 496.751 353.169 C 499.401 348.066 506.662 325.106 509.213 313.43 C 513.727 293.02 514.964 276.028 514.673 257.184 C 514.382 238.34 513.727 223.945 509.213 203.536 C 506.759 192.547 498.813 166.84 497.243 164.779 C 496.751 164.289 496.065 162.719 495.673 161.443 C 492.924 152.613 479.287 127.592 469.768 114.248 C 458.092 97.666 440.137 77.945 426.989 67.347 C 423.261 64.305 419.237 60.97 418.158 59.989 C 412.565 54.788 388.526 39.873 375.28 33.398 C 350.26 21.035 324.749 13.087 298.159 9.26 C 279.222 6.611 246.45 6.611 227.807 9.359 Z M 286.973 45.663 C 333.874 50.764 378.518 72.351 412.663 106.399 C 467.806 161.247 489.491 240.626 469.279 313.626 C 449.851 383.977 397.16 439.709 329.361 461.983 C 286.09 476.112 241.152 476.112 197.88 461.983 C 166.385 451.581 138.42 434.41 114.578 410.568 C 59.435 355.719 37.751 276.341 57.964 203.34 C 77.391 132.988 129.982 77.257 197.88 54.984 C 211.715 50.471 226.727 47.036 239.091 45.663 C 249.883 44.486 275.984 44.387 286.973 45.663 Z" style="fill: rgb(151, 151, 151); fill-opacity: 0.5;" id="path11"/>
|
||||
<path d="M 114.293 212.508 C 114.191 212.772 113.595 215.459 112.965 218.443 C 112.303 221.428 111.737 223.948 111.672 224.014 C 111.573 224.081 109.02 224.678 105.935 225.341 C 102.851 225.97 100.198 226.633 100.064 226.732 C 99.932 226.866 102.487 227.562 105.768 228.258 L 111.737 229.519 L 112.236 231.707 C 112.5 232.9 113.031 235.456 113.429 237.378 C 113.827 239.302 114.259 240.961 114.392 241.127 C 114.524 241.257 115.188 238.705 115.884 235.489 C 116.579 232.237 117.143 229.554 117.177 229.554 C 117.21 229.519 119.862 228.955 123.047 228.258 C 126.229 227.596 128.916 226.965 128.982 226.899 C 129.18 226.7 128.452 226.501 122.747 225.307 C 119.763 224.643 117.277 224.081 117.21 224.014 C 117.143 223.948 116.514 221.228 115.783 217.944 C 115.088 214.695 114.424 212.242 114.293 212.508 Z" style="fill:#ffffff;fill-opacity:0.79;stroke-width:1.45371" id="path47">
|
||||
<title id="title45">Star</title>
|
||||
</path>
|
||||
<path d="M 370.949 113.48 C 370.846 113.749 370.244 116.468 369.606 119.485 C 368.936 122.502 368.363 125.053 368.298 125.118 C 368.198 125.185 365.618 125.791 362.497 126.461 C 359.377 127.098 356.694 127.769 356.558 127.869 C 356.425 128.002 359.011 128.707 362.326 129.41 L 368.363 130.685 L 368.868 132.899 C 369.137 134.107 369.674 136.69 370.075 138.635 C 370.48 140.581 370.914 142.257 371.047 142.426 C 371.182 142.559 371.856 139.975 372.558 136.725 C 373.264 133.437 373.831 130.721 373.866 130.721 C 373.898 130.685 376.582 130.115 379.803 129.41 C 383.02 128.743 385.739 128.102 385.804 128.034 C 386.005 127.836 385.27 127.633 379.501 126.428 C 376.481 125.755 373.966 125.185 373.898 125.118 C 373.831 125.053 373.196 122.301 372.458 118.98 C 371.752 115.695 371.082 113.212 370.949 113.48 Z" style="fill:#ffffff;fill-opacity:0.76;stroke-width:2.95209" id="path59">
|
||||
<title id="title57">Star</title>
|
||||
</path>
|
||||
<path d="M 149.643 364.782 C 149.466 365.237 148.448 369.848 147.362 374.966 C 146.226 380.086 145.258 384.412 145.146 384.523 C 144.975 384.637 140.596 385.661 135.304 386.801 C 130.013 387.881 125.46 389.019 125.231 389.187 C 125.006 389.416 129.389 390.61 135.017 391.805 L 145.258 393.969 L 146.114 397.722 C 146.566 399.768 147.479 404.153 148.16 407.452 C 148.844 410.751 149.583 413.597 149.81 413.882 C 150.039 414.109 151.177 409.727 152.372 404.211 C 153.566 398.633 154.532 394.026 154.589 394.026 C 154.646 393.968 159.199 393 164.659 391.805 C 170.12 390.67 174.728 389.586 174.843 389.472 C 175.183 389.134 173.932 388.791 164.147 386.745 C 159.026 385.603 154.761 384.637 154.647 384.523 C 154.532 384.412 153.452 379.745 152.199 374.113 C 151.006 368.536 149.865 364.326 149.643 364.782 Z" style="fill:#ffffff;stroke-width:1.44624" id="path103">
|
||||
<title id="title101">Star</title>
|
||||
</path>
|
||||
<path d="M 92.001 281.858 C 91.833 282.292 90.863 286.688 89.828 291.566 C 88.745 296.447 87.821 300.57 87.715 300.677 C 87.552 300.786 83.378 301.762 78.333 302.848 C 73.288 303.878 68.949 304.963 68.73 305.123 C 68.516 305.341 72.695 306.48 78.058 307.618 L 87.821 309.681 L 88.638 313.259 C 89.069 315.209 89.939 319.39 90.588 322.534 C 91.24 325.679 91.945 328.392 92.161 328.664 C 92.379 328.88 93.464 324.703 94.603 319.445 C 95.741 314.127 96.663 309.736 96.716 309.736 C 96.771 309.681 101.112 308.757 106.316 307.618 C 111.522 306.536 115.914 305.504 116.025 305.395 C 116.349 305.072 115.156 304.745 105.828 302.795 C 100.946 301.707 96.88 300.786 96.771 300.677 C 96.663 300.57 95.633 296.122 94.439 290.753 C 93.301 285.437 92.213 281.424 92.001 281.858 Z" style="fill: rgb(255, 255, 255); stroke-width: 1.67174;" id="path103-3">
|
||||
<title id="title101-5">Star</title>
|
||||
</path>
|
||||
<path d="M 249.602 427.644 C 249.531 427.83 249.109 429.736 248.661 431.851 C 248.191 433.965 247.791 435.753 247.745 435.798 C 247.676 435.845 245.866 436.27 243.68 436.739 C 241.493 437.186 239.613 437.655 239.517 437.726 C 239.425 437.82 241.236 438.313 243.561 438.808 L 247.791 439.7 L 248.145 441.251 C 248.332 442.097 248.709 443.907 248.991 445.271 C 249.274 446.634 249.58 447.811 249.673 447.927 C 249.767 448.02 250.238 446.21 250.731 443.932 C 251.224 441.628 251.623 439.725 251.647 439.725 C 251.671 439.7 253.551 439.301 255.806 438.808 C 258.063 438.337 259.967 437.89 260.013 437.844 C 260.155 437.703 259.638 437.561 255.597 436.715 C 253.481 436.244 251.719 435.845 251.671 435.798 C 251.623 435.753 251.178 433.825 250.66 431.498 C 250.167 429.193 249.695 427.455 249.602 427.644 Z" style="fill:#ffffff;fill-opacity:0.6;stroke-width:1.596" id="path115">
|
||||
<title id="title113">Star</title>
|
||||
</path>
|
||||
<path d="M 312.465 343.989 C 312.296 344.431 311.309 348.887 310.262 353.835 C 309.162 358.782 308.225 362.963 308.119 363.072 C 307.953 363.182 303.723 364.172 298.606 365.272 C 293.492 366.319 289.092 367.418 288.87 367.581 C 288.651 367.801 292.89 368.957 298.33 370.11 L 308.225 372.2 L 309.056 375.828 C 309.491 377.805 310.375 382.045 311.033 385.235 C 311.694 388.422 312.409 391.173 312.628 391.449 C 312.847 391.668 313.947 387.432 315.103 382.102 C 316.256 376.709 317.19 372.256 317.247 372.256 C 317.303 372.2 321.702 371.266 326.979 370.11 C 332.259 369.013 336.711 367.967 336.821 367.854 C 337.153 367.528 335.944 367.196 326.484 365.219 C 321.536 364.116 317.413 363.182 317.303 363.072 C 317.19 362.962 316.147 358.453 314.937 353.007 C 313.784 347.618 312.681 343.551 312.465 343.989 Z" style="fill:#ffffff;fill-opacity:0.85;stroke-width:3.3228" id="path135">
|
||||
<title id="title133">Star</title>
|
||||
</path>
|
||||
<path d="M 415.11 148.919 C 414.862 149.567 413.419 156.059 411.894 163.275 C 410.291 170.485 408.928 176.577 408.767 176.738 C 408.527 176.9 402.36 178.345 394.9 179.95 C 387.445 181.475 381.032 183.078 380.708 183.314 C 380.385 183.632 386.57 185.319 394.5 187.003 L 408.928 190.05 L 410.135 195.333 C 410.768 198.218 412.063 204.4 413.017 209.053 C 413.982 213.694 415.024 217.709 415.341 218.109 C 415.664 218.43 417.265 212.252 418.951 204.482 C 420.635 196.624 421.992 190.131 422.08 190.131 C 422.161 190.05 428.572 188.685 436.263 187.003 C 443.962 185.4 450.453 183.874 450.611 183.707 C 451.097 183.234 449.334 182.753 435.542 179.873 C 428.33 178.261 422.315 176.9 422.161 176.738 C 421.992 176.577 420.473 170.003 418.707 162.068 C 417.032 154.213 415.418 148.281 415.11 148.919 Z" style="fill:#ffffff;stroke-width:2.13992" id="path143">
|
||||
<title id="title141">Star</title>
|
||||
</path>
|
||||
<path d="M 263.857 56.292 C 263.673 56.773 262.595 61.649 261.448 67.059 C 260.245 72.473 259.221 77.045 259.103 77.165 C 258.924 77.283 254.295 78.366 248.699 79.571 C 243.104 80.715 238.29 81.916 238.049 82.095 C 237.809 82.337 242.446 83.599 248.395 84.862 L 259.221 87.148 L 260.128 91.118 C 260.607 93.281 261.57 97.917 262.291 101.404 C 263.012 104.891 263.795 107.903 264.033 108.202 C 264.275 108.444 265.479 103.81 266.744 97.978 C 268.005 92.081 269.025 87.211 269.086 87.211 C 269.149 87.148 273.959 86.124 279.733 84.862 C 285.508 83.661 290.379 82.516 290.5 82.396 C 290.86 82.037 289.537 81.674 279.194 79.512 C 273.778 78.304 269.267 77.283 269.149 77.165 C 269.025 77.045 267.883 72.112 266.56 66.156 C 265.3 60.262 264.094 55.812 263.857 56.292 Z" style="fill:#ffffff;fill-opacity:0.85;stroke-width:1.64332" id="path163">
|
||||
<title id="title161">Star</title>
|
||||
</path>
|
||||
<path d="M 222.565 6.215 C 186.653 11.611 148.78 26.232 118.755 46.346 C 111.593 51.055 104.921 55.765 103.841 56.845 C 102.761 57.826 98.739 61.161 95.011 64.203 C 76.564 79.117 56.155 103.45 41.83 127.293 C 36.531 136.125 26.817 155.356 26.817 157.024 C 26.817 157.417 26.131 158.986 25.247 160.654 C 20.44 169.779 11.631 200.632 8.96 220.016 C 6.165 240.302 6.68 274.491 8.96 290.661 C 11.693 310.037 20.44 340.899 25.247 350.025 C 26.131 351.594 26.817 353.262 26.817 353.655 C 26.817 355.322 36.531 374.554 41.83 383.384 C 56.155 407.228 76.564 431.56 95.011 446.476 C 98.739 449.516 102.761 452.853 103.841 453.834 C 109.434 459.035 133.473 473.949 146.719 480.425 C 183.612 498.576 217.659 506.524 258.379 506.524 C 299.098 506.524 333.146 498.576 370.038 480.425 C 383.284 473.949 407.323 459.035 412.916 453.834 C 413.995 452.853 418.019 449.516 421.747 446.476 C 440.193 431.56 460.603 407.228 474.927 383.384 C 480.225 374.554 489.939 355.322 489.939 353.655 C 489.939 353.262 490.626 351.594 491.509 350.025 C 494.159 344.922 501.42 321.962 503.971 310.286 C 508.485 289.876 509.722 272.884 509.431 254.04 C 509.14 235.196 508.485 220.801 503.971 200.392 C 501.517 189.403 493.571 163.696 492.001 161.635 C 491.509 161.145 490.823 159.575 490.431 158.299 C 487.682 149.469 474.045 124.448 464.526 111.104 C 452.85 94.522 434.895 74.801 421.747 64.203 C 418.019 61.161 413.995 57.826 412.916 56.845 C 407.323 51.644 383.284 36.729 370.038 30.254 C 345.018 17.891 319.507 9.943 292.917 6.116 C 273.98 3.467 241.208 3.467 222.565 6.215 Z M 281.731 42.519 C 328.632 47.62 373.276 69.207 407.421 103.255 C 462.564 158.103 484.249 237.482 464.037 310.482 C 444.609 380.833 391.918 436.565 324.119 458.839 C 280.848 472.968 235.91 472.968 192.638 458.839 C 161.143 448.437 133.178 431.266 109.336 407.424 C 54.193 352.575 32.509 273.197 52.722 200.196 C 72.149 129.844 124.74 74.113 192.638 51.84 C 206.473 47.327 221.485 43.892 233.849 42.519 C 244.641 41.342 270.742 41.243 281.731 42.519 Z" style="fill: rgb(255, 255, 255);" id="path165"/>
|
||||
<g transform="matrix(1.023234, 0, 0, 1.023234, 132.533005, 26.045124)" style="">
|
||||
<title>Kitty</title>
|
||||
<path d="M 228.054 277.893 C 259.395 243.224 214.087 238.371 210.771 228.296 C 210.206 226.571 214.532 202.042 212.693 202.042 C 199.07 202.042 181.116 253.041 146.431 238.995 C 113.586 225.691 112.776 171.319 78.25 156.336 C -8.344 118.755 21.979 292.1 30.233 325.539" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" style="fill: rgba(151, 151, 151, 0); stroke: rgb(151, 151, 151);"/>
|
||||
<path d="M 276.256 333.746 C 238.925 340.932 196.579 291.168 185.827 288.686 C 176.1 286.439 74.101 340.715 27.331 213.907" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" style="fill: rgba(151, 151, 151, 0); stroke: rgb(151, 151, 151);"/>
|
||||
<path d="M 31.648 163.266 C 81.172 -6.518 170.251 198.756 189.003 153.438" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" style="fill: rgba(151, 151, 151, 0); stroke: rgb(151, 151, 151);"/>
|
||||
</g>
|
||||
<g transform="matrix(1.023234, 0, 0, 1.023234, 130.549896, 20.115192)" style="">
|
||||
<title>Kitty</title>
|
||||
<path d="M 228.054 277.893 C 259.395 243.224 214.087 238.371 210.771 228.296 C 210.206 226.571 214.532 202.042 212.693 202.042 C 199.07 202.042 181.116 253.041 146.431 238.995 C 113.586 225.691 112.776 171.319 78.25 156.336 C -8.344 118.755 21.979 292.1 30.233 325.539" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" style="fill: rgba(0, 0, 0, 0); stroke: rgb(255, 255, 255);"/>
|
||||
<path d="M 276.256 333.746 C 238.925 340.932 196.579 291.168 185.827 288.686 C 176.1 286.439 74.101 340.715 27.331 213.907" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" style="fill: rgba(0, 0, 0, 0); stroke: rgb(255, 255, 255);"/>
|
||||
<path d="M 31.648 163.266 C 81.172 -6.518 170.251 198.756 189.003 153.438" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" style="fill: rgba(0, 0, 0, 0); stroke: rgb(255, 255, 255);"/>
|
||||
</g>
|
||||
<path d="M 129.853 115.027 C 129.75 115.296 129.148 118.015 128.51 121.032 C 127.84 124.049 127.267 126.6 127.202 126.665 C 127.102 126.732 124.522 127.338 121.401 128.008 C 118.281 128.645 115.598 129.316 115.462 129.416 C 115.329 129.549 117.915 130.254 121.23 130.957 L 127.267 132.232 L 127.772 134.446 C 128.041 135.654 128.578 138.237 128.979 140.182 C 129.384 142.128 129.818 143.804 129.951 143.973 C 130.086 144.106 130.76 141.522 131.462 138.272 C 132.168 134.984 132.735 132.268 132.77 132.268 C 132.802 132.232 135.486 131.662 138.707 130.957 C 141.924 130.29 144.643 129.649 144.708 129.581 C 144.909 129.383 144.174 129.18 138.405 127.975 C 135.385 127.302 132.87 126.732 132.802 126.665 C 132.735 126.6 132.1 123.848 131.362 120.527 C 130.656 117.242 129.986 114.759 129.853 115.027 Z" style="fill:#ffffff;fill-opacity:0.76;stroke-width:2.95209" id="path-1">
|
||||
<title id="bx-title-1">Star</title>
|
||||
</path>
|
||||
<path d="M 420.469 316.137 C 420.398 316.323 419.976 318.229 419.528 320.344 C 419.058 322.458 418.658 324.246 418.612 324.291 C 418.543 324.338 416.733 324.763 414.547 325.232 C 412.36 325.679 410.48 326.148 410.384 326.219 C 410.292 326.313 412.103 326.806 414.428 327.301 L 418.658 328.193 L 419.012 329.744 C 419.199 330.59 419.576 332.4 419.858 333.764 C 420.141 335.127 420.447 336.304 420.54 336.42 C 420.634 336.513 421.105 334.703 421.598 332.425 C 422.091 330.121 422.49 328.218 422.514 328.218 C 422.538 328.193 424.418 327.794 426.673 327.301 C 428.93 326.83 430.834 326.383 430.88 326.337 C 431.022 326.196 430.505 326.054 426.464 325.208 C 424.348 324.737 422.586 324.338 422.538 324.291 C 422.49 324.246 422.045 322.318 421.527 319.991 C 421.034 317.686 420.562 315.948 420.469 316.137 Z" style="fill:#ffffff;fill-opacity:0.6;stroke-width:1.596" id="path-2">
|
||||
<title id="bx-title-2">Star</title>
|
||||
</path>
|
||||
</svg>
|
After Width: | Height: | Size: 16 KiB |
94
static/images/logo.svg
Normal file
94
static/images/logo.svg
Normal file
|
@ -0,0 +1,94 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
id="svg"
|
||||
version="1.1"
|
||||
width="86"
|
||||
height="29"
|
||||
viewBox="0, 0, 29 ,86"
|
||||
sodipodi:docname="logo.svg"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:bx="https://boxy-svg.com">
|
||||
<sodipodi:namedview
|
||||
id="namedview19"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:snap-grids="true"
|
||||
inkscape:zoom="4.8866279"
|
||||
inkscape:cx="5.8322427"
|
||||
inkscape:cy="12.483046"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1008"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg" />
|
||||
<defs
|
||||
id="defs4">
|
||||
<bx:grid
|
||||
x="-70.745"
|
||||
y="-5.396"
|
||||
width="237.293"
|
||||
height="88.009" />
|
||||
</defs>
|
||||
<g
|
||||
id="svgg"
|
||||
transform="translate(-31.678924,4.8938759)">
|
||||
<path
|
||||
id="path1"
|
||||
d="m -44.354555,0.78356149 c -26.434,5.97600001 -30.434,42.38301051 -6.319,54.94200051 1.703,0.88701 4.424,1.702 7.829,2.221 4.486,0.68301 9.6,0.86601 9.583,0.154 -0.035,-1.43199 -7.299,-8.279 -8.664,-8.279 -3.155,0 -9.941,-5.66599 -11.972,-9.995 -8.053,-17.17399 5.784,-35.2969905 22.777,-29.8329902 13.493,4.3390002 18.108,22.6990002 8.656,34.4380002 -1.846,2.29399 -1.744,2.299 -4.39,-0.225 -4.805,-4.583 -8.58,-5.24601 -11.988,-2.104 -2.173,2.002 -2.148,2.663 0.153,4.144 1.906,1.227 13.408,12.956 17.488,17.833 4.294,5.133 5.245,6.141 7.526,7.971 4.4209992,3.548 12.4439992,5.86 14.67499925,4.229 0.67199995,-0.492 1.86099995,-7.792 1.35199995,-8.302 -0.118,-0.118 -1.337,-0.393 -2.70799997,-0.612 -5.35200003,-0.854 -9.21900003,-3.454 -14.18899923,-9.542 -3.492,-4.278 -4.129,-5.268 -3.386,-5.268 2.543,0 8.0529992,-8.62 9.8619992,-15.429 5.712,-21.502 -14.1099992,-41.3560005 -36.2849992,-36.34300051 m 65.138,1.52300001 c -15.8590008,3.717 -25.6410008,20.0570005 -21.51200077,35.9340005 3.73899997,14.378 19.16900077,21.386 34.40300077,19.394 4.709,-0.616 2.438,-0.651 4.456,-0.792 2.018,-0.141 6.447,-0.015 6.93,-0.194 0.409,0.019 0.716,-0.458 0.723,-0.948 l -0.006,-13.389 c -0.003,-7.364 -0.153,-13.62 -0.332,-13.902 -0.258,-0.407 -2.36,-0.488 -10.182,-0.391 -11.445,0.143 -10.964,-0.036 -10.964,4.079 0,2.439 -0.044,3.991 1.166,4.706 1.139,0.674 3.431,0.58499 6.689,0.409 l 3.754,-0.202 0.276,5.676 c 0.321,6.593 0.561,6.151 -3.647,6.704 -15.524,2.038 -24.0100008,-5.017 -23.3770008,-19.434 0.6630003,-15.104 12.1950008,-22.7790005 26.9570008,-17.94 4.51,1.478 4.409,1.524 6.165,-2.7910006 1.5,-3.6869999 1.499,-3.6919999 -0.825,-4.6919999 -5.427,-2.335 -15.559,-3.426 -20.674,-2.227 m 78.83,0.796 c -2.87,0.772 -2.908,0.847 -3.151,6.1239999 -0.257,5.5670006 0.122,4.9680006 -3.351,5.2910006 -3.431,0.319 -3.325,0.157 -2.758,4.206 0.61,4.363 0.59,4.34 3.755,4.34 h 2.651 v 12.696 c 0,14.499 1.548,16.328 3.503005,18.304 3.592,3.477 9.588,4.915 14.93,3.057 2.445,-0.851 2.427,-0.809 2.176,-4.955 -0.247,-4.096 -0.428,-3.489 -3.157,-2.908 -7.732,1.646 -8.272,0.605 -8.272,-15.048 v -11.341 h 5.664 l 5.335,-0.09 c 0.676,-0.02 0.976,0.395 1.286,-3.905 0.346,-4.798 -0.203,-4.014 -0.808,-4.144 l -5.813,0.177 -5.664,0.268 v -5.163 c 0,-5.8370005 -0.204,-6.4770005 -2.251,-7.0460005 -1.752,-0.486 -1.762,-0.486 -4.075005,0.137 m -34.494,11.0180005 c -2.645,0.382 -4.719,1.042 -8.548,2.718 l -4.031,1.766 c -1.086,0.383 -0.284,1.285 0.687,3.881 1.063,2.752 1.355,3.356 2.115,3.035 0.76,-0.321 0.701,-0.229 1.427,-0.649 9.076,-5.254 20.264,-2.635 20.264,4.742 v 2.135 l -5.957,0.205 c -13.838,0.477 -20.284,4.751 -20.374,13.511 -0.128,12.397 14.176,17.214 24.615,8.289 l 2.302,-1.967 0.23,1.849 c 0.316,2.538 0.608,3.064 2.044,3.67 1.414,0.597 7.158,0.623 7.746,0.035 0.767,-0.767 0.374,-6.004 -0.245,-6.337 -0.942,-0.507 -0.773,-1.57 -0.885,-12.635 -0.152,-14.866 -0.508,-16.501 -4.391,-20.131 -3.037,-2.839 -11.558,-4.903 -16.999,-4.117 m 72.851005,0.007 c -27.192,5.263 -24.132,43.953 3.472,43.89 14.663,-0.033 24.399,-12.771 21.526,-28.162 -1.856,-9.949 -14.324,-17.793 -24.998,-15.728 m 8.286,8.958 c 6.882,2.345 9.617,11.514 5.902,19.79 -4.124,9.191 -17.884,9.174 -22.137,-0.027 -1.317,-2.849 -1.237,-10.788 0.137,-13.535 2.999,-5.999 9.448,-8.494 16.098,-6.228 m -68.832005,18.5 v 3.091 l -1.856,1.636 c -7.456,6.574 -16.358,5.485 -15.595,-1.907 0.448,-4.344 3.618,-5.768 13.056,-5.866 l 4.395,-0.046 v 3.092"
|
||||
stroke="none"
|
||||
fill-rule="evenodd"
|
||||
style="fill:currentColor" />
|
||||
<g
|
||||
aria-label="SEARCH ENGINE"
|
||||
id="text7"
|
||||
style="font-family:'ADLaM Display';white-space:pre;fill:currentColor"
|
||||
transform="matrix(0.96497818,0,0,0.96497818,-146.24769,-215.06201)">
|
||||
<path
|
||||
d="m 170.42488,293.75705 v 1.1543 q -0.67383,-0.32227 -1.27148,-0.48047 -0.59766,-0.15821 -1.1543,-0.15821 -0.9668,0 -1.49414,0.375 -0.52149,0.375 -0.52149,1.06641 0,0.58008 0.34571,0.87891 0.35156,0.29297 1.32422,0.47461 l 0.71484,0.14648 q 1.32422,0.25195 1.95117,0.89063 0.63281,0.63281 0.63281,1.69921 0,1.27149 -0.85546,1.92774 -0.84961,0.65625 -2.4961,0.65625 -0.62109,0 -1.32422,-0.14063 -0.69726,-0.14062 -1.44726,-0.41601 v -1.21875 q 0.7207,0.4043 1.41211,0.60937 0.6914,0.20508 1.35937,0.20508 1.01367,0 1.56446,-0.39844 0.55078,-0.39843 0.55078,-1.13671 0,-0.64454 -0.39844,-1.00782 -0.39258,-0.36328 -1.29492,-0.54492 l -0.72071,-0.14062 q -1.32421,-0.26368 -1.91601,-0.82618 -0.5918,-0.5625 -0.5918,-1.56445 0,-1.16016 0.81445,-1.82812 0.82032,-0.66797 2.25586,-0.66797 0.61524,0 1.25391,0.11133 0.63867,0.11132 1.30664,0.33398 z"
|
||||
id="path13" />
|
||||
<path
|
||||
d="m 172.79793,293.46994 h 5.53125 v 0.99609 h -4.34766 v 2.58985 h 4.16602 v 0.99609 h -4.16602 v 3.16992 h 4.45313 v 0.9961 h -5.63672 z"
|
||||
id="path15" />
|
||||
<path
|
||||
d="m 183.30379,294.63596 -1.60547,4.35351 h 3.2168 z m -0.66797,-1.16602 h 1.3418 l 3.33398,8.74805 h -1.23047 l -0.79687,-2.24414 h -3.94336 l -0.79688,2.24414 h -1.24805 z"
|
||||
id="path17" />
|
||||
<path
|
||||
d="m 192.73738,298.11642 q 0.38086,0.12891 0.73828,0.55079 0.36328,0.42187 0.72656,1.16015 l 1.20118,2.39063 h -1.27149 l -1.11914,-2.24414 q -0.43359,-0.87891 -0.84375,-1.16602 -0.4043,-0.28711 -1.10742,-0.28711 h -1.28906 v 3.69727 h -1.1836 v -8.74805 h 2.67188 q 1.5,0 2.23828,0.62695 0.73828,0.62696 0.73828,1.89258 0,0.82617 -0.38672,1.3711 -0.38086,0.54492 -1.11328,0.75585 z m -2.96484,-3.67382 v 3.10547 h 1.48828 q 0.85547,0 1.28906,-0.39258 0.43945,-0.39844 0.43945,-1.16602 0,-0.76758 -0.43945,-1.1543 -0.43359,-0.39257 -1.28906,-0.39257 z"
|
||||
id="path19" />
|
||||
<path
|
||||
d="m 202.87996,294.14377 v 1.24805 q -0.59766,-0.55665 -1.27734,-0.83204 -0.67383,-0.27539 -1.43555,-0.27539 -1.5,0 -2.29688,0.91993 -0.79687,0.91406 -0.79687,2.64843 0,1.72852 0.79687,2.64844 0.79688,0.91406 2.29688,0.91406 0.76172,0 1.43555,-0.27539 0.67968,-0.27539 1.27734,-0.83203 v 1.23633 q -0.62109,0.42187 -1.31836,0.63281 -0.69141,0.21094 -1.46484,0.21094 -1.98633,0 -3.12891,-1.21289 -1.14258,-1.21875 -1.14258,-3.32227 0,-2.10937 1.14258,-3.32226 1.14258,-1.21875 3.12891,-1.21875 0.78515,0 1.47656,0.21093 0.69726,0.20508 1.30664,0.6211 z"
|
||||
id="path21" />
|
||||
<path
|
||||
d="m 204.70808,293.46994 h 1.1836 v 3.58594 h 4.30078 v -3.58594 h 1.18359 v 8.74805 h -1.18359 v -4.16602 h -4.30078 v 4.16602 h -1.1836 z"
|
||||
id="path23" />
|
||||
<path
|
||||
d="m 217.54597,293.46994 h 5.53125 v 0.99609 h -4.34765 v 2.58985 h 4.16601 v 0.99609 h -4.16601 v 3.16992 h 4.45312 v 0.9961 h -5.63672 z"
|
||||
id="path25" />
|
||||
<path
|
||||
d="m 225.12801,293.46994 h 1.59375 l 3.8789,7.31836 v -7.31836 h 1.14844 v 8.74805 h -1.59375 l -3.87891,-7.31836 v 7.31836 h -1.14843 z"
|
||||
id="path27" />
|
||||
<path
|
||||
d="m 240.06941,300.96994 v -2.34961 h -1.93359 v -0.97266 h 3.10547 v 3.75586 q -0.68555,0.48633 -1.51172,0.73829 -0.82617,0.24609 -1.76367,0.24609 -2.05078,0 -3.21094,-1.19531 -1.1543,-1.20118 -1.1543,-3.33985 0,-2.14453 1.1543,-3.33984 1.16016,-1.20117 3.21094,-1.20117 0.85547,0 1.62304,0.21093 0.77344,0.21094 1.42383,0.6211 v 1.25976 q -0.65625,-0.55664 -1.39453,-0.83789 -0.73828,-0.28125 -1.55273,-0.28125 -1.60547,0 -2.41407,0.89649 -0.80273,0.89648 -0.80273,2.67187 0,1.76953 0.80273,2.66602 0.8086,0.89648 2.41407,0.89648 0.62695,0 1.11914,-0.10547 0.49218,-0.11132 0.88476,-0.33984 z"
|
||||
id="path29" />
|
||||
<path
|
||||
d="m 243.4034,293.46994 h 1.18359 v 8.74805 h -1.18359 z"
|
||||
id="path31" />
|
||||
<path
|
||||
d="m 246.94246,293.46994 h 1.59375 l 3.87891,7.31836 v -7.31836 h 1.14843 v 8.74805 h -1.59375 l -3.8789,-7.31836 v 7.31836 h -1.14844 z"
|
||||
id="path33" />
|
||||
<path
|
||||
d="m 255.91902,293.46994 h 5.53125 v 0.99609 h -4.34765 v 2.58985 h 4.16601 v 0.99609 h -4.16601 v 3.16992 h 4.45312 v 0.9961 h -5.63672 z"
|
||||
id="path35" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 9 KiB |
|
@ -1,180 +1,120 @@
|
|||
/**
|
||||
* @source: ./script.js (originally from araa-search on Github)
|
||||
*
|
||||
* @licstart The following is the entire license notice for the
|
||||
* JavaScript code in this page.
|
||||
*
|
||||
* Copyright (C) 2023 Extravi
|
||||
*
|
||||
* The JavaScript code in this page is free software: you can
|
||||
* redistribute it and/or modify it under the terms of the GNU Affero
|
||||
* General Public License as published by the Free Software Foundation,
|
||||
* either version 3 of the License, or (at your option) any later version.
|
||||
*
|
||||
* The code is distributed WITHOUT ANY WARRANTY; without even the
|
||||
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
* See the GNU Affero General Public License for more details.
|
||||
*
|
||||
* As additional permission under GNU Affero General Public License
|
||||
* section 7, you may distribute non-source (e.g., minimized or compacted)
|
||||
* forms of that code without the copy of the GNU Affero General Public
|
||||
* License normally required by section 4, provided you include this
|
||||
* license notice and a URL through which recipients can access the
|
||||
* Corresponding Source.
|
||||
*
|
||||
* @licend The above is the entire license notice
|
||||
* for the JavaScript code in this page.
|
||||
*/
|
||||
// Wait for the DOM to load
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const searchInput = document.getElementById('search-input');
|
||||
const searchWrapper = document.querySelector('.wrapper');
|
||||
const resultsWrapper = document.querySelector('.autocomplete');
|
||||
|
||||
// Removes the 'Apply Settings' button for Javascript users,
|
||||
// since changing any of the elements causes the settings to apply
|
||||
// automatically.
|
||||
let resultsSave = document.querySelector(".results-save");
|
||||
if (resultsSave != null) {
|
||||
resultsSave.style.display = "none";
|
||||
}
|
||||
let suggestions = [];
|
||||
let currentIndex = -1; // Keep track of the currently selected suggestion
|
||||
|
||||
const searchInput = document.getElementById('search-input');
|
||||
const searchWrapper = document.querySelectorAll('.wrapper, .wrapper-results')[0];
|
||||
const resultsWrapper = document.querySelector('.autocomplete');
|
||||
// const clearSearch = document.querySelector("#clearSearch");
|
||||
|
||||
async function getSuggestions(query) {
|
||||
try {
|
||||
const params = new URLSearchParams({ "q": query }).toString();
|
||||
const response = await fetch(`/suggestions?${params}`);
|
||||
const data = await response.json();
|
||||
return data[1]; // Return only the array of suggestion strings
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
}
|
||||
}
|
||||
|
||||
let currentIndex = -1; // Keep track of the currently selected suggestion
|
||||
|
||||
// Handle click events on the type buttons
|
||||
let results = [];
|
||||
searchInput.addEventListener('input', async () => {
|
||||
let input = searchInput.value;
|
||||
if (input.length) {
|
||||
results = await getSuggestions(input);
|
||||
}
|
||||
renderResults(results);
|
||||
currentIndex = -1; // Reset index when we return new results
|
||||
});
|
||||
|
||||
searchInput.addEventListener("focus", async () => {
|
||||
let input = searchInput.value;
|
||||
if (results.length === 0 && input.length != 0) {
|
||||
results = await getSuggestions(input);
|
||||
}
|
||||
renderResults(results);
|
||||
})
|
||||
|
||||
// clearSearch.style.visibility = "visible"; // Only show the clear search button for JS users.
|
||||
// clearSearch.addEventListener("click", () => {
|
||||
// searchInput.value = "";
|
||||
// searchInput.focus();
|
||||
// })
|
||||
|
||||
searchInput.addEventListener('keydown', (event) => {
|
||||
if (event.key === 'ArrowUp' || event.key === 'ArrowDown' || event.key === 'Tab') {
|
||||
event.preventDefault(); // Prevent the default behavior, such as moving the cursor
|
||||
|
||||
// Find the currently selected suggestion element
|
||||
const selectedSuggestion = resultsWrapper.querySelector('.selected');
|
||||
if (selectedSuggestion) {
|
||||
selectedSuggestion.classList.remove('selected'); // Deselect the currently selected suggestion
|
||||
// Fetch suggestions from the server
|
||||
async function getSuggestions(query) {
|
||||
try {
|
||||
const response = await fetch(`/suggestions?q=${encodeURIComponent(query)}`);
|
||||
const data = await response.json();
|
||||
return data[1]; // Return only the array of suggestion strings
|
||||
} catch (error) {
|
||||
console.error('Error fetching suggestions:', error);
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
||||
// Increment current index when ArrowUp is pressed otherwise hen Tab OR ArrowDown decrement
|
||||
if (event.key === 'ArrowUp') {
|
||||
currentIndex--;
|
||||
} else {
|
||||
currentIndex++;
|
||||
// Function to render results
|
||||
function renderSuggestions(results) {
|
||||
if (!results || !results.length) {
|
||||
searchWrapper.classList.remove('show');
|
||||
resultsWrapper.innerHTML = '';
|
||||
return;
|
||||
}
|
||||
|
||||
let content = '';
|
||||
results.forEach((item, index) => {
|
||||
content += `<li data-index="${index}">${item}</li>`;
|
||||
});
|
||||
|
||||
resultsWrapper.innerHTML = `<ul>${content}</ul>`;
|
||||
searchWrapper.classList.add('show');
|
||||
}
|
||||
|
||||
// Wrap around the index if it goes out of bounds
|
||||
if (currentIndex < 0) {
|
||||
currentIndex = resultsWrapper.querySelectorAll('li').length - 1;
|
||||
} else if (currentIndex >= resultsWrapper.querySelectorAll('li').length) {
|
||||
currentIndex = 0;
|
||||
// Fetch suggestions when input is focused
|
||||
searchInput.addEventListener('focus', async () => {
|
||||
const query = searchInput.value.trim();
|
||||
suggestions = await getSuggestions(query);
|
||||
renderSuggestions(suggestions);
|
||||
currentIndex = -1;
|
||||
});
|
||||
|
||||
// Handle input event
|
||||
searchInput.addEventListener('input', async () => {
|
||||
const query = searchInput.value.trim();
|
||||
if (query.length > 0) {
|
||||
suggestions = await getSuggestions(query);
|
||||
} else {
|
||||
suggestions = [];
|
||||
}
|
||||
currentIndex = -1; // Reset index when new results come in
|
||||
renderSuggestions(suggestions);
|
||||
});
|
||||
|
||||
// Handle keydown events for navigation
|
||||
searchInput.addEventListener('keydown', (event) => {
|
||||
const items = resultsWrapper.querySelectorAll('li');
|
||||
if (event.key === 'ArrowUp' || event.key === 'ArrowDown' || event.key === 'Tab') {
|
||||
event.preventDefault();
|
||||
|
||||
// Remove 'selected' class from the current item
|
||||
if (items[currentIndex]) {
|
||||
items[currentIndex].classList.remove('selected');
|
||||
}
|
||||
|
||||
if (event.key === 'ArrowUp') {
|
||||
currentIndex = (currentIndex > 0) ? currentIndex - 1 : items.length - 1;
|
||||
} else {
|
||||
currentIndex = (currentIndex + 1) % items.length;
|
||||
}
|
||||
|
||||
// Add 'selected' class to the new item and update the input value
|
||||
if (items[currentIndex]) {
|
||||
items[currentIndex].classList.add('selected');
|
||||
searchInput.value = items[currentIndex].textContent;
|
||||
}
|
||||
} else if (event.key === 'Enter') {
|
||||
if (currentIndex > -1 && items[currentIndex]) {
|
||||
event.preventDefault();
|
||||
selectSuggestion(items[currentIndex]);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// Function to handle suggestion selection
|
||||
function selectSuggestion(item) {
|
||||
const query = item.textContent;
|
||||
searchInput.value = query;
|
||||
resultsWrapper.innerHTML = '';
|
||||
searchWrapper.classList.remove('show');
|
||||
|
||||
// Submit the form or navigate to search results
|
||||
const form = searchInput.closest('form');
|
||||
if (form) {
|
||||
form.submit();
|
||||
} else {
|
||||
window.location.href = `/search?q=${encodeURIComponent(query)}&t=web`;
|
||||
}
|
||||
}
|
||||
|
||||
// Select the new suggestion
|
||||
resultsWrapper.querySelectorAll('li')[currentIndex].classList.add('selected');
|
||||
// Update the value of the search input
|
||||
searchInput.value = resultsWrapper.querySelectorAll('li')[currentIndex].textContent;
|
||||
}
|
||||
// Handle clicks on search suggestions
|
||||
resultsWrapper.addEventListener('click', (event) => {
|
||||
if (event.target.tagName === 'LI') {
|
||||
selectSuggestion(event.target);
|
||||
}
|
||||
});
|
||||
|
||||
// Close the suggestions when clicking outside
|
||||
document.addEventListener('click', (event) => {
|
||||
if (!searchWrapper.contains(event.target)) {
|
||||
searchWrapper.classList.remove('show');
|
||||
resultsWrapper.innerHTML = '';
|
||||
currentIndex = -1;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// Default to the currently selected type or fallback to 'text'
|
||||
let selectedType = document.querySelector('.search-active')?.value || 'text';
|
||||
|
||||
// Function to render results
|
||||
function renderResults(results) {
|
||||
if (!results || !results.length || !searchInput.value) {
|
||||
searchWrapper.classList.remove('show');
|
||||
return;
|
||||
}
|
||||
|
||||
let content = '';
|
||||
results.forEach((item) => {
|
||||
content += `<li>${item}</li>`;
|
||||
});
|
||||
|
||||
if (searchInput.value) {
|
||||
searchWrapper.classList.add('show');
|
||||
}
|
||||
resultsWrapper.innerHTML = `<ul>${content}</ul>`;
|
||||
}
|
||||
|
||||
// Handle click events on the type buttons
|
||||
const typeButtons = document.querySelectorAll('[name="t"]');
|
||||
typeButtons.forEach(button => {
|
||||
button.addEventListener('click', function() {
|
||||
selectedType = this.value;
|
||||
typeButtons.forEach(btn => btn.classList.remove('search-active'));
|
||||
this.classList.add('search-active');
|
||||
});
|
||||
});
|
||||
|
||||
// Handle clicks on search results
|
||||
resultsWrapper.addEventListener('click', (event) => {
|
||||
if (event.target.tagName === 'LI') {
|
||||
const query = event.target.textContent;
|
||||
window.location.href = `/search?q=${encodeURIComponent(query)}&t=${encodeURIComponent(selectedType)}`;
|
||||
}
|
||||
});
|
||||
|
||||
document.addEventListener("keypress", (event) => {
|
||||
if (document.activeElement == searchInput) {
|
||||
// Allow the '/' character to be pressed when searchInput is active
|
||||
} else if (document.querySelector(".calc") != null) {
|
||||
// Do nothing if the calculator is available, so the division keybinding
|
||||
// will still work
|
||||
}
|
||||
else if (event.key == "/") {
|
||||
event.preventDefault();
|
||||
searchInput.focus();
|
||||
searchInput.selectionStart = searchInput.selectionEnd = searchInput.value.length;
|
||||
}
|
||||
})
|
||||
|
||||
// Add event listener to hide autocomplete suggestions when clicking outside of search-input or wrapper
|
||||
document.addEventListener('click', (event) => {
|
||||
// Check if the target of the event is the search-input or any of its ancestors
|
||||
if (!searchInput.contains(event.target) && !searchWrapper.contains(event.target)) {
|
||||
// Remove the show class from the search wrapper
|
||||
searchWrapper.classList.remove('show');
|
||||
}
|
||||
});
|
||||
|
||||
// // Update visual feedback for selected type on page load
|
||||
// document.addEventListener("DOMContentLoaded", () => {
|
||||
// const activeButton = document.querySelector(`[name="t"][value="${selectedType}"]`);
|
||||
// if (activeButton) {
|
||||
// typeButtons.forEach(btn => btn.classList.remove('search-active'));
|
||||
// activeButton.classList.add('search-active');
|
||||
// }
|
||||
// });
|
||||
|
|
|
@ -7,95 +7,127 @@
|
|||
<meta name="darkreader-lock">
|
||||
{{ end }}
|
||||
<title>{{ translate "site_name" }}</title>
|
||||
<link rel="stylesheet" href="/static/css/style.css">
|
||||
<link rel="stylesheet" href="/static/css/style-search.css">
|
||||
<link rel="stylesheet" href="/static/css/{{.Theme}}.css">
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="{{ translate "site_name" }}" href="/opensearch.xml">
|
||||
</head>
|
||||
<body>
|
||||
<script defer src="/static/js/autocomplete.js"></script>
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
// Define the updateSettings function first
|
||||
function updateSettings(settingKey, settingValue) {
|
||||
const xhr = new XMLHttpRequest();
|
||||
xhr.open('POST', '/updateSettings', true);
|
||||
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
|
||||
xhr.onload = function () {
|
||||
if (this.status >= 200 && this.status < 300) {
|
||||
console.log('Settings updated successfully!');
|
||||
} else {
|
||||
console.log('Failed to update settings.');
|
||||
}
|
||||
};
|
||||
xhr.send(encodeURI(settingKey + '=' + settingValue));
|
||||
}
|
||||
<!-- Menu Button -->
|
||||
<button class="material-icons-round settings-icon-link-search" onclick="openNav()">menu</button>
|
||||
|
||||
const settingsIcon = document.querySelector('.settings-icon-link-search');
|
||||
const searchMenu = document.querySelector('.search-menu');
|
||||
|
||||
settingsIcon.addEventListener('click', function () {
|
||||
searchMenu.classList.toggle('settings-menu-hidden');
|
||||
searchMenu.classList.toggle('settings-menu-visible');
|
||||
});
|
||||
|
||||
// Theme change event listeners
|
||||
document.getElementById('dark_theme').addEventListener('click', function () {
|
||||
window.location.href = '/search?theme=dark';
|
||||
});
|
||||
document.getElementById('light_theme').addEventListener('click', function () {
|
||||
window.location.href = '/search?theme=light';
|
||||
});
|
||||
|
||||
// Event listener for Safe Search Selection
|
||||
document.getElementById('safeSearchSelect').addEventListener('change', function () {
|
||||
updateSettings('safe', this.value);
|
||||
});
|
||||
|
||||
// Event listener for Language Selection
|
||||
if (siteLanguageSelect) {
|
||||
siteLanguageSelect.addEventListener('change', function () {
|
||||
updateSettings('site_lang', this.value);
|
||||
});
|
||||
}
|
||||
|
||||
// if (searchLanguageSelect) {
|
||||
// searchLanguageSelect.addEventListener('change', function () {
|
||||
// updateSettings('search_lang', this.value);
|
||||
// });
|
||||
// }
|
||||
});
|
||||
</script>
|
||||
<div class="settings-search-div settings-search-div-search">
|
||||
<button class="material-icons-round clickable settings-icon-link settings-icon-link-search">menu</button>
|
||||
<!-- Side Navigation Menu -->
|
||||
<div id="mySidenav" class="side-nav">
|
||||
<button class="closebtn material-icons-round" onclick="closeNav()">close</button>
|
||||
<a href="/settings">{{ translate "all_settings" }}</a>
|
||||
<button onclick="setTheme('dark')">{{ translate "dark_theme" }}</button>
|
||||
<button onclick="setTheme('light')">{{ translate "light_theme" }}</button>
|
||||
<select class="lang" name="site_lang" id="siteLanguageSelect" onchange="updateLanguage(this.value)">
|
||||
{{range .LanguageOptions}}
|
||||
<option value="{{.Code}}" {{if eq .Code $.CurrentLang}}selected{{end}}>{{.Name}}</option>
|
||||
{{end}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="search-menu settings-menu-hidden">
|
||||
<h2>{{ translate "settings" }}</h2>
|
||||
<div class="settings-content">
|
||||
<button id="settingsButton" onclick="window.location.href='/settings'">{{ translate "all_settings" }}</button> <!-- Well its unessesary to use js here but this menu will not work without js anyway -->
|
||||
<div class="theme-settings theme-mini-settings">
|
||||
<p><span class="highlight">{{ translate "theme" }}: </span> <span id="theme_name">{{.Theme}}</span></p>
|
||||
<div class="themes-settings-menu">
|
||||
<div><img class="view-image-search clickable" id="dark_theme" alt="{{ translate "dark_theme" }}" src="/static/images/dark.webp"></div>
|
||||
<div><img class="view-image-search clickable" id="light_theme" alt="{{ translate "light_theme" }}" src="/static/images/light.webp"></div>
|
||||
</div>
|
||||
</div>
|
||||
<select class="lang" name="safe" id="safeSearchSelect">
|
||||
<option value="disabled" {{if eq .Safe "disabled"}}selected{{end}}>{{ translate "safe_search_off" }}</option>
|
||||
<option value="active" {{if eq .Safe "active"}}selected{{end}}>{{ translate "safe_search_on" }}</option>
|
||||
</select>
|
||||
<select class="lang" name="site_lang" id="siteLanguageSelect">
|
||||
{{range .LanguageOptions}}
|
||||
<option value="{{.Code}}" {{if eq .Code $.CurrentLang}}selected{{end}}>{{.Name}}</option>
|
||||
{{end}}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<form action="/search" class="search-container" method="post" autocomplete="off">
|
||||
|
||||
<!-- Search Form -->
|
||||
<form action="/search" class="search-container" method="get" autocomplete="off">
|
||||
<div class="search-page-content">
|
||||
<h1>{{ translate "site_name" }}</h1>
|
||||
<div class="logo-container">
|
||||
<svg
|
||||
id="svg"
|
||||
version="1.1"
|
||||
width="600"
|
||||
height="200"
|
||||
viewBox="0, 0, 29 ,86"
|
||||
sodipodi:docname="logo.svg"
|
||||
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:bx="https://boxy-svg.com">
|
||||
<sodipodi:namedview
|
||||
id="namedview19"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:snap-grids="true"
|
||||
inkscape:zoom="4.8866279"
|
||||
inkscape:cx="5.8322427"
|
||||
inkscape:cy="12.483046"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1008"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg" />
|
||||
<defs
|
||||
id="defs4">
|
||||
<bx:grid
|
||||
x="-70.745"
|
||||
y="-5.396"
|
||||
width="237.293"
|
||||
height="88.009" />
|
||||
</defs>
|
||||
<g
|
||||
id="svgg"
|
||||
transform="translate(-31.678924,4.8938759)">
|
||||
<path
|
||||
id="path1"
|
||||
d="m -44.354555,0.78356149 c -26.434,5.97600001 -30.434,42.38301051 -6.319,54.94200051 1.703,0.88701 4.424,1.702 7.829,2.221 4.486,0.68301 9.6,0.86601 9.583,0.154 -0.035,-1.43199 -7.299,-8.279 -8.664,-8.279 -3.155,0 -9.941,-5.66599 -11.972,-9.995 -8.053,-17.17399 5.784,-35.2969905 22.777,-29.8329902 13.493,4.3390002 18.108,22.6990002 8.656,34.4380002 -1.846,2.29399 -1.744,2.299 -4.39,-0.225 -4.805,-4.583 -8.58,-5.24601 -11.988,-2.104 -2.173,2.002 -2.148,2.663 0.153,4.144 1.906,1.227 13.408,12.956 17.488,17.833 4.294,5.133 5.245,6.141 7.526,7.971 4.4209992,3.548 12.4439992,5.86 14.67499925,4.229 0.67199995,-0.492 1.86099995,-7.792 1.35199995,-8.302 -0.118,-0.118 -1.337,-0.393 -2.70799997,-0.612 -5.35200003,-0.854 -9.21900003,-3.454 -14.18899923,-9.542 -3.492,-4.278 -4.129,-5.268 -3.386,-5.268 2.543,0 8.0529992,-8.62 9.8619992,-15.429 5.712,-21.502 -14.1099992,-41.3560005 -36.2849992,-36.34300051 m 65.138,1.52300001 c -15.8590008,3.717 -25.6410008,20.0570005 -21.51200077,35.9340005 3.73899997,14.378 19.16900077,21.386 34.40300077,19.394 4.709,-0.616 2.438,-0.651 4.456,-0.792 2.018,-0.141 6.447,-0.015 6.93,-0.194 0.409,0.019 0.716,-0.458 0.723,-0.948 l -0.006,-13.389 c -0.003,-7.364 -0.153,-13.62 -0.332,-13.902 -0.258,-0.407 -2.36,-0.488 -10.182,-0.391 -11.445,0.143 -10.964,-0.036 -10.964,4.079 0,2.439 -0.044,3.991 1.166,4.706 1.139,0.674 3.431,0.58499 6.689,0.409 l 3.754,-0.202 0.276,5.676 c 0.321,6.593 0.561,6.151 -3.647,6.704 -15.524,2.038 -24.0100008,-5.017 -23.3770008,-19.434 0.6630003,-15.104 12.1950008,-22.7790005 26.9570008,-17.94 4.51,1.478 4.409,1.524 6.165,-2.7910006 1.5,-3.6869999 1.499,-3.6919999 -0.825,-4.6919999 -5.427,-2.335 -15.559,-3.426 -20.674,-2.227 m 78.83,0.796 c -2.87,0.772 -2.908,0.847 -3.151,6.1239999 -0.257,5.5670006 0.122,4.9680006 -3.351,5.2910006 -3.431,0.319 -3.325,0.157 -2.758,4.206 0.61,4.363 0.59,4.34 3.755,4.34 h 2.651 v 12.696 c 0,14.499 1.548,16.328 3.503005,18.304 3.592,3.477 9.588,4.915 14.93,3.057 2.445,-0.851 2.427,-0.809 2.176,-4.955 -0.247,-4.096 -0.428,-3.489 -3.157,-2.908 -7.732,1.646 -8.272,0.605 -8.272,-15.048 v -11.341 h 5.664 l 5.335,-0.09 c 0.676,-0.02 0.976,0.395 1.286,-3.905 0.346,-4.798 -0.203,-4.014 -0.808,-4.144 l -5.813,0.177 -5.664,0.268 v -5.163 c 0,-5.8370005 -0.204,-6.4770005 -2.251,-7.0460005 -1.752,-0.486 -1.762,-0.486 -4.075005,0.137 m -34.494,11.0180005 c -2.645,0.382 -4.719,1.042 -8.548,2.718 l -4.031,1.766 c -1.086,0.383 -0.284,1.285 0.687,3.881 1.063,2.752 1.355,3.356 2.115,3.035 0.76,-0.321 0.701,-0.229 1.427,-0.649 9.076,-5.254 20.264,-2.635 20.264,4.742 v 2.135 l -5.957,0.205 c -13.838,0.477 -20.284,4.751 -20.374,13.511 -0.128,12.397 14.176,17.214 24.615,8.289 l 2.302,-1.967 0.23,1.849 c 0.316,2.538 0.608,3.064 2.044,3.67 1.414,0.597 7.158,0.623 7.746,0.035 0.767,-0.767 0.374,-6.004 -0.245,-6.337 -0.942,-0.507 -0.773,-1.57 -0.885,-12.635 -0.152,-14.866 -0.508,-16.501 -4.391,-20.131 -3.037,-2.839 -11.558,-4.903 -16.999,-4.117 m 72.851005,0.007 c -27.192,5.263 -24.132,43.953 3.472,43.89 14.663,-0.033 24.399,-12.771 21.526,-28.162 -1.856,-9.949 -14.324,-17.793 -24.998,-15.728 m 8.286,8.958 c 6.882,2.345 9.617,11.514 5.902,19.79 -4.124,9.191 -17.884,9.174 -22.137,-0.027 -1.317,-2.849 -1.237,-10.788 0.137,-13.535 2.999,-5.999 9.448,-8.494 16.098,-6.228 m -68.832005,18.5 v 3.091 l -1.856,1.636 c -7.456,6.574 -16.358,5.485 -15.595,-1.907 0.448,-4.344 3.618,-5.768 13.056,-5.866 l 4.395,-0.046 v 3.092"
|
||||
stroke="none"
|
||||
fill-rule="evenodd"
|
||||
style="fill:currentColor" />
|
||||
<g
|
||||
aria-label="SEARCH ENGINE"
|
||||
id="text7"
|
||||
style="font-family:'ADLaM Display';white-space:pre;fill:currentColor"
|
||||
transform="matrix(0.96497818,0,0,0.96497818,-146.24769,-215.06201)">
|
||||
<path
|
||||
d="m 170.42488,293.75705 v 1.1543 q -0.67383,-0.32227 -1.27148,-0.48047 -0.59766,-0.15821 -1.1543,-0.15821 -0.9668,0 -1.49414,0.375 -0.52149,0.375 -0.52149,1.06641 0,0.58008 0.34571,0.87891 0.35156,0.29297 1.32422,0.47461 l 0.71484,0.14648 q 1.32422,0.25195 1.95117,0.89063 0.63281,0.63281 0.63281,1.69921 0,1.27149 -0.85546,1.92774 -0.84961,0.65625 -2.4961,0.65625 -0.62109,0 -1.32422,-0.14063 -0.69726,-0.14062 -1.44726,-0.41601 v -1.21875 q 0.7207,0.4043 1.41211,0.60937 0.6914,0.20508 1.35937,0.20508 1.01367,0 1.56446,-0.39844 0.55078,-0.39843 0.55078,-1.13671 0,-0.64454 -0.39844,-1.00782 -0.39258,-0.36328 -1.29492,-0.54492 l -0.72071,-0.14062 q -1.32421,-0.26368 -1.91601,-0.82618 -0.5918,-0.5625 -0.5918,-1.56445 0,-1.16016 0.81445,-1.82812 0.82032,-0.66797 2.25586,-0.66797 0.61524,0 1.25391,0.11133 0.63867,0.11132 1.30664,0.33398 z"
|
||||
id="path13" />
|
||||
<path
|
||||
d="m 172.79793,293.46994 h 5.53125 v 0.99609 h -4.34766 v 2.58985 h 4.16602 v 0.99609 h -4.16602 v 3.16992 h 4.45313 v 0.9961 h -5.63672 z"
|
||||
id="path15" />
|
||||
<path
|
||||
d="m 183.30379,294.63596 -1.60547,4.35351 h 3.2168 z m -0.66797,-1.16602 h 1.3418 l 3.33398,8.74805 h -1.23047 l -0.79687,-2.24414 h -3.94336 l -0.79688,2.24414 h -1.24805 z"
|
||||
id="path17" />
|
||||
<path
|
||||
d="m 192.73738,298.11642 q 0.38086,0.12891 0.73828,0.55079 0.36328,0.42187 0.72656,1.16015 l 1.20118,2.39063 h -1.27149 l -1.11914,-2.24414 q -0.43359,-0.87891 -0.84375,-1.16602 -0.4043,-0.28711 -1.10742,-0.28711 h -1.28906 v 3.69727 h -1.1836 v -8.74805 h 2.67188 q 1.5,0 2.23828,0.62695 0.73828,0.62696 0.73828,1.89258 0,0.82617 -0.38672,1.3711 -0.38086,0.54492 -1.11328,0.75585 z m -2.96484,-3.67382 v 3.10547 h 1.48828 q 0.85547,0 1.28906,-0.39258 0.43945,-0.39844 0.43945,-1.16602 0,-0.76758 -0.43945,-1.1543 -0.43359,-0.39257 -1.28906,-0.39257 z"
|
||||
id="path19" />
|
||||
<path
|
||||
d="m 202.87996,294.14377 v 1.24805 q -0.59766,-0.55665 -1.27734,-0.83204 -0.67383,-0.27539 -1.43555,-0.27539 -1.5,0 -2.29688,0.91993 -0.79687,0.91406 -0.79687,2.64843 0,1.72852 0.79687,2.64844 0.79688,0.91406 2.29688,0.91406 0.76172,0 1.43555,-0.27539 0.67968,-0.27539 1.27734,-0.83203 v 1.23633 q -0.62109,0.42187 -1.31836,0.63281 -0.69141,0.21094 -1.46484,0.21094 -1.98633,0 -3.12891,-1.21289 -1.14258,-1.21875 -1.14258,-3.32227 0,-2.10937 1.14258,-3.32226 1.14258,-1.21875 3.12891,-1.21875 0.78515,0 1.47656,0.21093 0.69726,0.20508 1.30664,0.6211 z"
|
||||
id="path21" />
|
||||
<path
|
||||
d="m 204.70808,293.46994 h 1.1836 v 3.58594 h 4.30078 v -3.58594 h 1.18359 v 8.74805 h -1.18359 v -4.16602 h -4.30078 v 4.16602 h -1.1836 z"
|
||||
id="path23" />
|
||||
<path
|
||||
d="m 217.54597,293.46994 h 5.53125 v 0.99609 h -4.34765 v 2.58985 h 4.16601 v 0.99609 h -4.16601 v 3.16992 h 4.45312 v 0.9961 h -5.63672 z"
|
||||
id="path25" />
|
||||
<path
|
||||
d="m 225.12801,293.46994 h 1.59375 l 3.8789,7.31836 v -7.31836 h 1.14844 v 8.74805 h -1.59375 l -3.87891,-7.31836 v 7.31836 h -1.14843 z"
|
||||
id="path27" />
|
||||
<path
|
||||
d="m 240.06941,300.96994 v -2.34961 h -1.93359 v -0.97266 h 3.10547 v 3.75586 q -0.68555,0.48633 -1.51172,0.73829 -0.82617,0.24609 -1.76367,0.24609 -2.05078,0 -3.21094,-1.19531 -1.1543,-1.20118 -1.1543,-3.33985 0,-2.14453 1.1543,-3.33984 1.16016,-1.20117 3.21094,-1.20117 0.85547,0 1.62304,0.21093 0.77344,0.21094 1.42383,0.6211 v 1.25976 q -0.65625,-0.55664 -1.39453,-0.83789 -0.73828,-0.28125 -1.55273,-0.28125 -1.60547,0 -2.41407,0.89649 -0.80273,0.89648 -0.80273,2.67187 0,1.76953 0.80273,2.66602 0.8086,0.89648 2.41407,0.89648 0.62695,0 1.11914,-0.10547 0.49218,-0.11132 0.88476,-0.33984 z"
|
||||
id="path29" />
|
||||
<path
|
||||
d="m 243.4034,293.46994 h 1.18359 v 8.74805 h -1.18359 z"
|
||||
id="path31" />
|
||||
<path
|
||||
d="m 246.94246,293.46994 h 1.59375 l 3.87891,7.31836 v -7.31836 h 1.14843 v 8.74805 h -1.59375 l -3.8789,-7.31836 v 7.31836 h -1.14844 z"
|
||||
id="path33" />
|
||||
<path
|
||||
d="m 255.91902,293.46994 h 5.53125 v 0.99609 h -4.34765 v 2.58985 h 4.16601 v 0.99609 h -4.16601 v 3.16992 h 4.45312 v 0.9961 h -5.63672 z"
|
||||
id="path35" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
</div>
|
||||
<div class="wrapper">
|
||||
<input type="text" name="q" autofocus id="search-input"/> <!-- placeholder="{{ translate "type_to_search" }}" -->
|
||||
<input type="text" name="q" autofocus id="search-input"/>
|
||||
<button id="search-wrapper-ico" class="material-icons-round" name="t" value="web" type="submit">search</button>
|
||||
<div class="autocomplete">
|
||||
<ul></ul>
|
||||
|
@ -136,5 +168,40 @@
|
|||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<!-- JavaScript Functions -->
|
||||
<script>
|
||||
function openNav() {
|
||||
document.getElementById("mySidenav").style.width = "250px";
|
||||
document.body.classList.add('menu-open');
|
||||
}
|
||||
|
||||
function closeNav() {
|
||||
document.getElementById("mySidenav").style.width = "0";
|
||||
document.body.classList.remove('menu-open');
|
||||
}
|
||||
|
||||
function setTheme(theme) {
|
||||
window.location.href = '/search?theme=' + theme;
|
||||
}
|
||||
|
||||
function updateLanguage(langCode) {
|
||||
// Send AJAX request to update language settings
|
||||
const xhr = new XMLHttpRequest();
|
||||
xhr.open('POST', '/updateSettings', true);
|
||||
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
|
||||
xhr.onload = function () {
|
||||
if (this.status >= 200 && this.status < 300) {
|
||||
location.reload();
|
||||
} else {
|
||||
console.error('Failed to update language.');
|
||||
}
|
||||
};
|
||||
xhr.send(encodeURI('site_lang=' + langCode));
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Include autocomplete.js -->
|
||||
<script defer src="/static/js/autocomplete.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -10,7 +10,7 @@
|
|||
<link rel="stylesheet" href="/static/css/style.css">
|
||||
<link rel="stylesheet" href="/static/css/{{.Theme}}.css">
|
||||
<link rel="stylesheet" href="/static/css/style-settings.css">
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="Ocásek" href="/opensearch.xml">
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="{{ translate "site_name" }}" href="/opensearch.xml">
|
||||
</head>
|
||||
<body>
|
||||
<div class="settings-nav">
|
||||
|
|
Loading…
Add table
Reference in a new issue