| /* |
| * Copyright 2024 The Pigweed Authors |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); you may not |
| * use this file except in compliance with the License. You may obtain a copy of |
| * the License at |
| * |
| * https://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| * License for the specific language governing permissions and limitations under |
| * the License. |
| */ |
| |
| .logo { |
| height: 6em; |
| padding: 1.5em; |
| will-change: filter; |
| transition: filter 300ms; |
| } |
| .logo:hover { |
| filter: drop-shadow(0 0 2em #646cffaa); |
| } |
| .logo.react:hover { |
| filter: drop-shadow(0 0 2em #61dafbaa); |
| } |
| |
| @keyframes logo-spin { |
| from { |
| transform: rotate(0deg); |
| } |
| to { |
| transform: rotate(360deg); |
| } |
| } |
| |
| @media (prefers-reduced-motion: no-preference) { |
| a:nth-of-type(2) .logo { |
| animation: logo-spin infinite 20s linear; |
| } |
| } |
| |
| .card { |
| padding: 2em; |
| } |
| |
| .read-the-docs { |
| color: #888; |
| } |