Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
171 lines (141 loc) · 2.96 KB
/
Copy pathstyles.css
File metadata and controls
171 lines (141 loc) · 2.96 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
/* css styles */
.listing-title {
text-transform: capitalize;
}
/* Fix color contrast for title block metadata */
.quarto-title-meta-heading,
.quarto-title-meta .date {
color: #333;
}
html[data-bs-theme="dark"] .quarto-title-meta-heading,
html[data-bs-theme="dark"] .quarto-title-meta .date {
color: #ddd;
}
/* Fix color contrast for listing form-select elements */
.form-select {
color: #333;
background-color: #fff;
}
html[data-bs-theme="dark"] .form-select {
color: #ddd;
background-color: #2b2b2b;
}
/* Fix color contrast for software listing titles */
.listing-title strong {
color: #212529;
}
html[data-bs-theme="dark"] .listing-title strong {
color: #e9ecef;
}
/* Software and app listing cards */
.software-image-box {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.software-image-box img {
max-width: 100%;
max-height: 100%;
width: auto;
height: auto;
object-fit: contain;
}
.software-title {
font-size: 1.25rem !important;
font-weight: 700 !important;
line-height: 1.2;
margin-bottom: 0.35rem;
}
/* Photo Album Carousel */
.photo-album {
margin: 2rem 0;
overflow: hidden;
}
.photo-album-container {
display: flex;
overflow-x: auto;
scroll-behavior: smooth;
gap: 1.5rem;
padding: 1rem 0;
scrollbar-width: thin;
scrollbar-color: #888 #f1f1f1;
}
.photo-album-container::-webkit-scrollbar {
height: 8px;
}
.photo-album-container::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 4px;
}
.photo-album-container::-webkit-scrollbar-thumb {
background: #888;
border-radius: 4px;
}
.photo-album-container::-webkit-scrollbar-thumb:hover {
background: #555;
}
.photo-item {
flex: 0 0 auto;
width: 400px;
max-width: 90vw;
display: flex;
flex-direction: column;
}
.photo-item img {
width: 100%;
height: 300px;
object-fit: cover;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.photo-item img:hover {
transform: scale(1.02);
}
.photo-caption {
margin-top: 0.75rem;
font-size: 0.95rem;
color: #555;
text-align: center;
line-height: 1.4;
}
/* Dark mode styles */
html[data-bs-theme="dark"] .photo-album-container {
scrollbar-color: #666 #2b2b2b;
}
html[data-bs-theme="dark"] .photo-album-container::-webkit-scrollbar-track {
background: #2b2b2b;
}
html[data-bs-theme="dark"] .photo-album-container::-webkit-scrollbar-thumb {
background: #666;
}
html[data-bs-theme="dark"] .photo-album-container::-webkit-scrollbar-thumb:hover {
background: #888;
}
html[data-bs-theme="dark"] .photo-item img {
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
html[data-bs-theme="dark"] .photo-caption {
color: #aaa;
}
@media (max-width: 768px) {
.photo-item {
width: 300px;
}
.photo-item img {
height: 225px;
}
}
@media (max-width: 480px) {
.photo-item {
width: 250px;
}
.photo-item img {
height: 190px;
}
.photo-caption {
font-size: 0.85rem;
}
}