-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.css
More file actions
130 lines (122 loc) · 3.47 KB
/
Copy pathlayout.css
File metadata and controls
130 lines (122 loc) · 3.47 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
/* ── Halaman Utama A4 ── */
.a4-page{
background:var(--glass-strong);
backdrop-filter:blur(22px) saturate(170%);
-webkit-backdrop-filter:blur(22px) saturate(170%);
width:210mm; height:296mm; padding:9mm 8mm 7mm;
box-shadow:0 12px 50px rgba(140,110,190,0.28), inset 0 1px 0 rgba(255,255,255,0.7);
display:flex; flex-direction:column;
position:relative; z-index:1;
border:1px solid var(--glass-border);
border-radius:22px;
}
/* ── Frame Band ── */
.frame-band{
height:5px; width:100%; flex-shrink:0; border-radius:4px;
background-image: repeating-linear-gradient(135deg, var(--gold) 0 3px, transparent 3px 9px);
opacity:.5;
}
.frame-band.bottom{ margin-top:auto; }
/* ── Calendar Header ── */
.calendar-header{
text-align:center; padding:8px 0 6px; flex-shrink:0;
display:flex; flex-direction:column; align-items:center; gap:3px;
}
.header-row{ display:flex; align-items:center; justify-content:center; gap:12px; }
.header-row svg{ flex-shrink:0; }
#calendarTitle{
font-family:'Fraunces',serif; font-weight:600; font-size:23px;
color:var(--ink); letter-spacing:.04em; text-transform:uppercase;
}
.subtitle{
font-family:'Amiri', serif; font-size:13px; color:var(--hijri); letter-spacing:.02em;
}
/* ── Legend ── */
.legend{
display:flex; gap:18px; justify-content:center; margin-top:4px;
font-size:8.5px; color:var(--ink-soft); letter-spacing:.01em;
}
.legend span{ display:inline-flex; align-items:center; gap:4px; }
.legend i{ width:7px; height:7px; border-radius:50%; display:inline-block; }
.dot-holiday{ background:var(--brick); }
.dot-fasting{ background:var(--fasting); }
.dot-hijri{ background:var(--hijri); }
/* ── Data Warning ── */
.data-warning{
display:none;
margin-top:5px;
font-size:8px;
color:var(--warn);
background:var(--warn-tint);
border:1px solid rgba(180,83,9,0.35);
border-radius:6px;
padding:3px 10px;
max-width:90%;
text-align:center;
line-height:1.35;
}
.data-warning.show{ display:block; }
/* ── Months Grid ── */
.months-grid{
display:grid; grid-template-columns:repeat(3,1fr); grid-template-rows:repeat(4,1fr);
gap:5px; flex-grow:1; padding-top:4px;
}
/* ══════════════════════════════════════════════
RESPONSIVE — Smartphone & Tablet
══════════════════════════════════════════════ */
/* ── Tablet (≤ 850px): 2 kolom ── */
@media screen and (max-width: 850px) {
.a4-page {
width: 100%;
height: auto;
min-height: auto;
padding: 16px 12px 14px;
border-radius: 16px;
}
.months-grid {
grid-template-columns: repeat(2, 1fr);
grid-template-rows: auto;
gap: 8px;
}
#calendarTitle {
font-size: 20px;
}
.subtitle {
font-size: 12px;
}
.legend {
font-size: 9px;
gap: 12px;
flex-wrap: wrap;
}
}
/* ── Smartphone (≤ 520px): 1 kolom ── */
@media screen and (max-width: 520px) {
.a4-page {
padding: 12px 8px 10px;
border-radius: 12px;
box-shadow: 0 6px 24px rgba(140,110,190,0.18);
}
.months-grid {
grid-template-columns: 1fr;
gap: 10px;
}
.calendar-header {
padding: 6px 0 8px;
gap: 4px;
}
#calendarTitle {
font-size: 18px;
letter-spacing: .02em;
}
.subtitle {
font-size: 11px;
}
.legend {
font-size: 8.5px;
gap: 10px;
}
.frame-band {
height: 3px;
}
}