File tree Expand file tree Collapse file tree 1 file changed +32
-2
lines changed
Expand file tree Collapse file tree 1 file changed +32
-2
lines changed Original file line number Diff line number Diff line change @@ -246,6 +246,35 @@ full-width: true
246246 padding : 0.5rem 1rem ;
247247 text-shadow : 2px 2px 4px rgba (0 , 0 , 0 , 0.3 );
248248 letter-spacing : 0.05em ;
249+ position : relative ;
250+ min-height : 2.5em ;
251+ }
252+
253+ .sanskrit-quote {
254+ display : block ;
255+ position : relative ;
256+ }
257+
258+ .quote-sandhi , .quote-pada {
259+ position : absolute ;
260+ left : 0 ;
261+ right : 0 ;
262+ animation : quoteTransition 8s ease-in-out infinite ;
263+ }
264+
265+ .quote-sandhi {
266+ animation-delay : 0s ;
267+ }
268+
269+ .quote-pada {
270+ animation-delay : 4s ;
271+ opacity : 0 ;
272+ }
273+
274+ @keyframes quoteTransition {
275+ 0% , 45% { opacity : 1 ; }
276+ 50% , 95% { opacity : 0 ; }
277+ 100% { opacity : 1 ; }
249278}
250279
251280.quote-section cite {
@@ -1100,8 +1129,9 @@ full-width: true
11001129</div >
11011130
11021131<div class =" quote-section " >
1103- <blockquote >
1104- "यदिहास्ति तदन्यत्र यन्नेहास्ति न तत्क्वचित्"
1132+ <blockquote class =" sanskrit-quote " >
1133+ <span class="quote-sandhi">यदिहास्ति तदन्यत्र यन्नेहास्ति न तत्क्वचित्</span>
1134+ <span class="quote-pada">यत् इह अस्ति तत् अन्यत्र यत् न इह अस्ति न तत् क्वचित्</span>
11051135 </blockquote >
11061136 <cite >— What exists here may be found elsewhere; what does not exist here exists nowhere.</cite >
11071137</div >
You can’t perform that action at this time.
0 commit comments