ayush5710 commited on
Commit
cbb5a66
·
1 Parent(s): 54d9b1d

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +40 -24
style.css CHANGED
@@ -1,28 +1,44 @@
1
- body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
- }
 
 
 
 
 
 
 
 
 
 
 
 
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
 
 
 
 
 
 
 
 
9
  }
 
 
 
 
 
 
 
 
 
 
 
 
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
- }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
- }
25
-
26
- .card p:last-child {
27
- margin-bottom: 0;
28
- }
 
1
+ .iframe-container {
2
+ position: relative;
3
+ position: fixed;
4
+ width: 500px; /* Set the desired width for your iframe */
5
+ height: 700px; /* Set the desired height for your visible iframe content (450 - 100) */
6
+ /* overflow: hidden;
7
+ */
8
+ overflow: hidden;
9
+ display: none;
10
+ /* margin-left: 57vw; */
11
+ right: 50px;
12
+ z-index: 999;
13
+ top: 3.2em;
14
+ transition: display 0.5s ease-in-out;
15
+ border-radius: 5%;
16
+ }
17
 
18
+ .iframe-container iframe {
19
+ position: absolute;
20
+ top: -400px; /* Shift the iframe content up by 100px to hide the top portion */
21
+ width: 100%;
22
+ height: 985px; /* Set the total height of your iframe content (visible + hidden) */
23
+ /* height: 1200px; */
24
+ overflow: hidden;
25
+ border-radius: 5%;
26
+ }
27
+ .iframe-container iframe::-webkit-scrollbar {
28
+ width: 0; /* Hide the scrollbar */
29
+ height: 0;
30
  }
31
+ .click {
32
+ position: fixed;
33
+ bottom: 31px; /* Adjust the distance from the bottom as needed */
34
+ right: 20px; /* Adjust the distance from the right as needed */
35
+ padding: 10px 20px;
36
+ background-color: rgba(249, 108, 108, 0.8);
37
+ color: #fff;
38
+ border: none;
39
+ border-radius: 6px;
40
+ cursor: pointer;
41
+ z-index: 9999;
42
+ }
43
 
 
 
 
 
 
 
44