1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
|
#search {
min-height: 200px;
position: relative;
}
#search .loading {
height: 64px;
width: 64px;
position: absolute;
top: 50%;
left: calc(50% - 32px);
}
#search .loading div {
box-sizing: border-box;
display: block;
position: absolute;
width: 51px;
height: 51px;
margin: 6px;
border: 6px solid var(--coldGray);
border-radius: 50%;
animation: loading 1.2s cubic-bezier(.5, 0, .5, 1) infinite;
border-color: var(--coldGray) transparent transparent transparent;
}
#search .loading div:nth-child(1) {
animation-delay: -.45s;
}
#search .loading div:nth-child(2) {
animation-delay: -.3s;
}
#search .loading div:nth-child(3) {
animation-delay: -.15s;
}
@keyframes loading {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
#search .result {
margin: 2em 0 2.5em;
}
#search .result p {
margin: 0;
}
#search .result-id {
font-size: 1.4em;
margin: 0;
}
#search .result-id a {
text-decoration: none;
transition: color .1s ease-in-out;
color: var(--links);
}
#search .result-id a:is(:visited, :active, :focus) {
color: var(--linksVisited);
}
#search .result-id a:hover {
color: var(--main);
}
#search :is(.result-id, .result-elem) em {
font-style: normal;
color: var(--main);
}
#search .result-id small {
font-weight: normal;
}
|