Skip to content

Commit b6fc786

Browse files
authored
Update index.css
1 parent 24e91ff commit b6fc786

File tree

1 file changed

+106
-0
lines changed

1 file changed

+106
-0
lines changed

index.css

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,106 @@
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+
1104
.menu-container {
2105
display: flex;
3106
align-items: center;
@@ -83,8 +186,10 @@
83186
display: block; /* Ensure it takes full width */
84187
width: 100%; /* Full width of the container */
85188
box-sizing: border-box; /* Includes padding in the width calculation */
189+
86190
}
87191

192+
88193
.verse-style h4:before {
89194
content: '';
90195
position: absolute;
@@ -107,6 +212,7 @@
107212
background-color: white;
108213
border-radius: 12px;
109214
z-index: -1;
215+
110216
}
111217

112218

0 commit comments

Comments
 (0)