Spaces:
Runtime error
Runtime error
aocosmic
neon_arch
commited on
Commit
β’
fb2b660
1
Parent(s):
f11d35f
π`websurfx` logo redesign for better understandability (#418)
Browse files* lazyload search result text with css content-visibility
* typo, lightning-fast is grammatically correct
* revamped logo to look more modern
* added class to control how new logo looks and behaves
* added class to control how new logo looks and behaves
---------
Co-authored-by: neon_arch <mustafadhuleb53@gmail.com>
public/images/websurfx_logo.png
CHANGED
public/images/websurfx_logo.svg
ADDED
public/static/themes/simple.css
CHANGED
@@ -33,6 +33,10 @@ body {
|
|
33 |
display: flex;
|
34 |
}
|
35 |
|
|
|
|
|
|
|
|
|
36 |
/* styles for the search box and search button */
|
37 |
|
38 |
.search_bar {
|
|
|
33 |
display: flex;
|
34 |
}
|
35 |
|
36 |
+
.websurfx-logo {
|
37 |
+
width: clamp(12rem, 40rem, 48rem);
|
38 |
+
}
|
39 |
+
|
40 |
/* styles for the search box and search button */
|
41 |
|
42 |
.search_bar {
|
src/templates/views/index.rs
CHANGED
@@ -18,7 +18,7 @@ pub fn index(colorscheme: &str, theme: &str) -> Markup {
|
|
18 |
html!(
|
19 |
(header(colorscheme, theme))
|
20 |
main class="search-container"{
|
21 |
-
img src="../images/websurfx_logo.
|
22 |
(bar(&String::default()))
|
23 |
(PreEscaped("</div>"))
|
24 |
}
|
|
|
18 |
html!(
|
19 |
(header(colorscheme, theme))
|
20 |
main class="search-container"{
|
21 |
+
img class="websurfx-logo" src="../images/websurfx_logo.svg" alt="Websurfx meta-search engine logo";
|
22 |
(bar(&String::default()))
|
23 |
(PreEscaped("</div>"))
|
24 |
}
|