141 lines
2.6 KiB
CSS
141 lines
2.6 KiB
CSS
|
.container {
|
||
|
position: fixed;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
top: 0;
|
||
|
bottom: 0;
|
||
|
background-color: rgba(0, 0, 0, 0.9);
|
||
|
}
|
||
|
|
||
|
.search {
|
||
|
display: block;
|
||
|
width: 100%;
|
||
|
font-size: 2rem;
|
||
|
background: linear-gradient(to bottom right, #406b39, #225546) no-repeat center center fixed;
|
||
|
box-shadow: inset 0 4px 8px 0 rgba(0, 0, 0, 0.2);
|
||
|
padding: 0.5rem 1.75rem;
|
||
|
color: rgb(255, 255, 255);
|
||
|
border: none;
|
||
|
outline: none;
|
||
|
}
|
||
|
|
||
|
.search::placeholder {
|
||
|
color: rgb(214, 214, 214);
|
||
|
font-style: italic;
|
||
|
}
|
||
|
|
||
|
.results {
|
||
|
padding: 1rem;
|
||
|
margin: 2rem;
|
||
|
}
|
||
|
|
||
|
.hyperlink {
|
||
|
color: #009dff;
|
||
|
display: block;
|
||
|
padding: 0.5rem;
|
||
|
width: 100%;
|
||
|
margin: 0 auto;
|
||
|
font-size: 1.2rem;
|
||
|
transition: 300ms cubic-bezier(0.075, 0.82, 0.165, 1);
|
||
|
text-decoration: none;
|
||
|
border: 1px solid #AAAAAA;
|
||
|
border-top: none;
|
||
|
}
|
||
|
|
||
|
.hyperlink:first-child {
|
||
|
border-top: 1px solid #AAAAAA;
|
||
|
border-radius: 0.5rem 0.5rem 0 0;
|
||
|
}
|
||
|
|
||
|
.hyperlink:last-child {
|
||
|
border-radius: 0 0 0.5rem 0.5rem;
|
||
|
}
|
||
|
|
||
|
.hyperlink:only-child {
|
||
|
border-radius: 0.5rem;
|
||
|
}
|
||
|
|
||
|
.hyperlink:hover {
|
||
|
color: #ccc;
|
||
|
text-decoration: none;
|
||
|
background: linear-gradient(to bottom right, #1a3a15, #09351b) no-repeat center center fixed;
|
||
|
}
|
||
|
|
||
|
.hyperlink:focus {
|
||
|
box-shadow: 0 0 1px 1px rgb(255, 255, 255);
|
||
|
}
|
||
|
|
||
|
.hyperlink-name {
|
||
|
color: #FFFFFF;
|
||
|
}
|
||
|
|
||
|
.hyperlink:hover .hyperlink-name {
|
||
|
color: #ccc;
|
||
|
}
|
||
|
|
||
|
.hyperlink-url {
|
||
|
word-break: break-all;
|
||
|
text-align: right;
|
||
|
font-size: 1rem;
|
||
|
transition: 200ms cubic-bezier(0.075, 0.82, 0.165, 1);
|
||
|
}
|
||
|
|
||
|
.hyperlink:hover .hyperlink-url {
|
||
|
color: #009dff;
|
||
|
}
|
||
|
|
||
|
.highlight {
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
|
||
|
.searchBar {
|
||
|
user-select: none;
|
||
|
background: linear-gradient(to bottom right, #406b39, #225546) no-repeat center center fixed;
|
||
|
box-shadow: inset 0 4px 8px 0 rgba(0, 0, 0, 0.2);
|
||
|
color: #CCCCCC;
|
||
|
text-decoration: none;
|
||
|
z-index: 1000;
|
||
|
position: fixed;
|
||
|
padding: 0 0.5rem;
|
||
|
right: 0;
|
||
|
bottom: 0;
|
||
|
display: inline-block;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.searchBar:hover {
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
.searchTerm {
|
||
|
display: block;
|
||
|
margin: 0.5rem;
|
||
|
float: left;
|
||
|
}
|
||
|
|
||
|
.searchTerm::before {
|
||
|
display: inline-block;
|
||
|
transform: rotate(-45deg) scale(1.4);
|
||
|
content: '\26B2';
|
||
|
margin-right: 0.5rem;
|
||
|
}
|
||
|
|
||
|
.keybind {
|
||
|
padding: 0;
|
||
|
margin: 0.25rem;
|
||
|
height: 2.25rem;
|
||
|
font-family: monospace;
|
||
|
display: inline-block;
|
||
|
}
|
||
|
|
||
|
.keybind .key {
|
||
|
background: #333333;
|
||
|
display: inline-block;
|
||
|
position: relative;
|
||
|
margin: 0.25rem 0;
|
||
|
font-size: 0.75rem;
|
||
|
padding: 0.25rem 0.5rem;
|
||
|
border: 1px solid #232323;
|
||
|
border-radius: 0.5rem;
|
||
|
box-shadow: 1.5px 1.5px 0 0 #222222;
|
||
|
}
|