-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
147 lines (120 loc) · 2.55 KB
/
Copy pathstyles.css
File metadata and controls
147 lines (120 loc) · 2.55 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
/* 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;
}
/* 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;
}
}