blob: 14996cb7c757842e90eefbb8f95733e2ef90f030 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
body {
font-family: 'Inter', sans-serif; /* Using Inter font */
margin: 0; /* Remove default body margin */
padding: 20px;
background-color: #f0f0f0;
display: flex;
flex-direction: column; /* Arrange content vertically */
justify-content: center;
align-items: center;
min-height: 100vh;
}
h1 {
text-align: center;
color: #333;
margin-bottom: 20px;
font-size: 2em; /* Larger heading */
}
.responsive-container {
width: 95%; /* Make it wider to accommodate the full page embed */
max-width: 1200px; /* Max width for larger screens to prevent it from getting too wide */
padding: 10px;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 12px; /* Slightly larger rounded corners */
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); /* More prominent shadow */
background-color: white;
margin-bottom: 20px;
overflow: hidden; /* Ensure content stays within rounded corners */
}
.iframe-wrapper {
position: relative;
/* Maintain an aspect ratio that suits a full webpage, e.g., 16:9 or taller */
/* A good starting point for a full webpage, adjust as needed for optimal viewing */
padding-bottom: 120%; /* Height will be 120% of the width, making it taller */
height: 0;
overflow: hidden;
border-radius: 8px; /* Slightly smaller rounded corners for inner frame */
}
.iframe-wrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
border-radius: 8px;
}
.desc {
padding: 15px;
text-align: center;
font-size: 1.1em;
color: #555;
line-height: 1.6;
}
.desc a {
color: #007bff;
text-decoration: none;
font-weight: bold;
transition: color 0.3s ease; /* Smooth transition for hover effect */
}
.desc a:hover {
text-decoration: underline;
color: #0056b3; /* Darker blue on hover */
}
/* Responsive adjustments for the container */
@media only screen and (max-width: 768px) {
.responsive-container {
width: 100%; /* Full width on smaller screens */
padding: 5px;
border-radius: 0; /* No rounded corners on very small screens for edge-to-edge */
}
.iframe-wrapper {
padding-bottom: 150%; /* Make it even taller on mobile if needed */
}
body {
padding: 10px;
}
}
|