|
| 1 | +.spn{ |
| 2 | + font-weight: bold; |
| 3 | +} |
| 4 | + |
| 5 | +.content { |
| 6 | + max-width: 800px; |
| 7 | + margin: 20px; |
| 8 | + font-size: 1.2em; |
| 9 | +} |
| 10 | + |
| 11 | +.citation { |
| 12 | + color: rgb(0, 0, 0); |
| 13 | + cursor:help; |
| 14 | + text-decoration: underline dotted rgb(43, 107, 255); |
| 15 | +} |
| 16 | + |
| 17 | +.citation:hover { |
| 18 | + color: rgb(0, 0, 0); |
| 19 | +} |
| 20 | +#info-box { |
| 21 | + position: fixed; |
| 22 | + padding: 10px; |
| 23 | + border: 1px solid #333; |
| 24 | + background-color: #f9f9f9; |
| 25 | + color: #333; |
| 26 | + display: none; |
| 27 | + width: 400px; |
| 28 | + border-radius: 4px; |
| 29 | + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); |
| 30 | + z-index: 1000; |
| 31 | + opacity: 0; /* Start with invisible */ |
| 32 | + transform: scale(0.8); /* Start with smaller size */ |
| 33 | + transition: opacity 0.3s, transform 0.3s; /* Smooth transition for scale and opacity */ |
| 34 | + overflow: hidden; /* Prevent overflow */ |
| 35 | + word-wrap: break-word; /* Break long words into the next line if they don't fit */ |
| 36 | + white-space: normal; /* Allow wrapping of text */ |
| 37 | + height: auto; /* Ensure the box expands based on content height */ |
| 38 | + pointer-events: none; |
| 39 | +} |
| 40 | +/* change width of info box to 30 rem for mobile screens */ |
| 41 | +@media (max-width: 480px) { |
| 42 | + #info-box { |
| 43 | + width: 16rem; |
| 44 | + } |
| 45 | +} |
| 46 | + |
| 47 | + |
| 48 | +@keyframes pop-up { |
| 49 | + 0% { |
| 50 | + opacity: 0; |
| 51 | + transform: scale(0.8); |
| 52 | + } |
| 53 | + 100% { |
| 54 | + opacity: 1; |
| 55 | + transform: scale(1); |
| 56 | + } |
| 57 | +} |
| 58 | + |
| 59 | +@keyframes pop-out { |
| 60 | + 0% { |
| 61 | + opacity: 1; |
| 62 | + transform: scale(1); |
| 63 | + } |
| 64 | + 100% { |
| 65 | + opacity: 0; |
| 66 | + transform: scale(0.8); |
| 67 | + } |
| 68 | +} |
| 69 | + |
| 70 | + |
| 71 | +.shimmer-swipe { |
| 72 | + position: relative; |
| 73 | + overflow: hidden; |
| 74 | +} |
| 75 | + |
| 76 | +.shimmer-swipe::after { |
| 77 | + content: ''; |
| 78 | + position: absolute; |
| 79 | + top: -50%; |
| 80 | + left: -50%; |
| 81 | + width: 200%; |
| 82 | + height: 200%; |
| 83 | + background: rgba(36, 214, 125, 0.15); /* Light translucent green */ |
| 84 | + transform: rotate(45deg); |
| 85 | + animation: shimmer-animation 1.5s ease-in-out; |
| 86 | + pointer-events: none; |
| 87 | + z-index: 0; |
| 88 | + border-radius: 16px; |
| 89 | +} |
| 90 | + |
| 91 | +@keyframes shimmer-animation { |
| 92 | + 0% { |
| 93 | + transform: translate(-150%, -150%) rotate(45deg); |
| 94 | + } |
| 95 | + 100% { |
| 96 | + transform: translate(150%, 150%) rotate(45deg); |
| 97 | + } |
| 98 | +} |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
1 | 104 | .menu-container {
|
2 | 105 | display: flex;
|
3 | 106 | align-items: center;
|
|
83 | 186 | display: block; /* Ensure it takes full width */
|
84 | 187 | width: 100%; /* Full width of the container */
|
85 | 188 | box-sizing: border-box; /* Includes padding in the width calculation */
|
| 189 | + |
86 | 190 | }
|
87 | 191 |
|
| 192 | + |
88 | 193 | .verse-style h4:before {
|
89 | 194 | content: '';
|
90 | 195 | position: absolute;
|
|
107 | 212 | background-color: white;
|
108 | 213 | border-radius: 12px;
|
109 | 214 | z-index: -1;
|
| 215 | + |
110 | 216 | }
|
111 | 217 |
|
112 | 218 |
|
|
0 commit comments