Initial favicon add
This commit is contained in:
parent
6445be87a9
commit
bc89f5b819
8 changed files with 755 additions and 21 deletions
|
@ -1309,6 +1309,96 @@ p {
|
|||
text-shadow: 1px 1px 2px var(--border) !important; /* Adjust text shadow */
|
||||
}
|
||||
|
||||
/* Favicon styling */
|
||||
.result_header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.favicon-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border: 1px solid var(--fg);
|
||||
border-radius: 50%;
|
||||
padding: 2px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.favicon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
object-fit: contain;
|
||||
margin-bottom: 2px;
|
||||
border-radius: 3px;
|
||||
margin-left: -0.5px; /* this is just lovely, I cannot express ho happy this makes me */
|
||||
margin-top: 1.5px;
|
||||
}
|
||||
|
||||
/* Result link styling */
|
||||
.result-link {
|
||||
color: var(--fg);
|
||||
font-size: 14px;
|
||||
text-decoration: none;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.result-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Result item spacing */
|
||||
.result_item {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.result-title h3 {
|
||||
margin: 4px 0;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.result-description {
|
||||
margin: 4px 0 0 0;
|
||||
color: var(--font-fg);
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.results br {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.result-url {
|
||||
font-size: 14px;
|
||||
color: var(--fg);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.result-domain {
|
||||
color: var(--fg);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.result-path {
|
||||
color: var(--font-fg);
|
||||
font-weight: 500;
|
||||
opacity: 0.8;
|
||||
}
|
||||
/*
|
||||
.result-path::before {
|
||||
content: "›";
|
||||
margin: 0 4px;
|
||||
opacity: 0.6;
|
||||
} */
|
||||
|
||||
body, h1, p, a, input, button {
|
||||
color: var(--text-color); /* Applies the text color based on theme */
|
||||
background-color: var(--background-color); /* Applies the background color based on theme */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue