-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinline_style_20.css
More file actions
157 lines (70 loc) · 1.94 KB
/
inline_style_20.css
File metadata and controls
157 lines (70 loc) · 1.94 KB
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
/* Footer Styles */
.footer-f {
background-color: #f1d580 !important;
background: linear-gradient(45deg, #c7edfe 10%, #c7f5fe 40%, #fcc8f8 0, #fcc8f8 60%, #eab4f8 0, #eab4f8 65%, #f1d580 0, #f3f798 90%) !important;
background: -webkit-linear-gradient(45deg, #c7edfe 10%, #c7f5fe 60%, #fcc8f8 0, #fcc8f8 60%, #ffc299 0, #ffc299 65%, #f1d580 0, #f3f798 90%)!important;
color: #000;
text-align: center;
padding: 10px 0;
position: relative;
bottom: 0;
width: 100%;
}
/* Updated CSS */
.ad-banner2 {
box-shadow: 0 2px 2px rgba(0,0,0,0.2);
margin: 5px 0 5px 60px; /* Left margin 60px */
padding: 5px;
width: calc(100% - 60px); /* Compensate for left margin */
box-sizing: border-box;
overflow: hidden;
}
.ad-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
justify-content: center;
gap: 10px;
background-color: #fff !important;
max-width: calc(728px * 2 + 20px); /* Account for gaps */
margin: 0 auto;
box-sizing: border-box;
}
.ad-column {
position: relative;
width: 100%;
height: 90px; /* Fixed height for 728x90 ads */
box-sizing: border-box;
}
.ad-unit {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
.ad-unit img {
width: 100%;
height: auto;
max-width: 728px;
object-fit: contain;
}
/* Mobile hide (below 768px) */
@media (max-width: 768px) {
.ad-banner2 {
display: none;
}
}
/* Desktop overflow prevention */
@media (max-width: 1456px) {
.ad-container {
padding: 0 10px;
max-width: 100%;
}
}
/* Tablet view adjustment */
@media (min-width: 769px) and (max-width: 1366px) {
.ad-column {
max-width: calc(50% - 5px);
}
}