Skip to content

Commit d4b9bd2

Browse files
Saketh ReddySaketh Reddy
authored andcommitted
Updated the style of the page for the pdf overlay
1 parent f7d0deb commit d4b9bd2

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

style.css

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,49 @@ a:hover {
139139
.buttons {
140140
flex-direction: column;
141141
}
142+
}
143+
144+
.pdf-overlay {
145+
display: none;
146+
position: fixed;
147+
top: 0;
148+
left: 0;
149+
width: 100%;
150+
height: 100%;
151+
background: rgba(0, 0, 0, 0.9);
152+
z-index: 1000;
153+
justify-content: center;
154+
align-items: center;
155+
flex-direction: column;
156+
}
157+
158+
.pdf-content {
159+
width: 90%;
160+
height: 90%;
161+
background: white;
162+
border-radius: 5px;
163+
overflow: hidden;
164+
}
165+
166+
.fullscreen-pdf {
167+
width: 100%;
168+
height: 100%;
169+
border: none;
170+
}
171+
172+
.pdf-close-btn {
173+
position: absolute;
174+
top: 20px;
175+
right: 20px;
176+
background: transparent;
177+
border: none;
178+
color: white;
179+
font-size: 40px;
180+
cursor: pointer;
181+
padding: 10px;
182+
transition: color 0.3s;
183+
}
184+
185+
.pdf-close-btn:hover {
186+
color: #ff4444;
142187
}

0 commit comments

Comments
 (0)