Skip to content

Commit bf86cb0

Browse files
committed
WHY2025 - Changed fahrplan coloring to improve contrast
1 parent e1fd431 commit bf86cb0

File tree

1 file changed

+34
-11
lines changed

1 file changed

+34
-11
lines changed

configs/conferences/why2025/main.less

Lines changed: 34 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -199,36 +199,59 @@ a:focus .panel {
199199
//
200200
// Schedule
201201
//
202-
@schedule-border: fade(@color-lightblue, 50%);
203-
@schedule-selected-room: fade(@color-pink, 25%);
202+
@schedule-border: fade(@color-lightblue, 70%);
203+
@schedule-selected-room: fade(@color-pink, 20%);
204204
@schedule-now-bg: @color-yellow;
205205
@schedule-now: @color-blue;
206206
@schedule-room: @color-yellow;
207207
@schedule-author: @color-lightblue;
208-
@schedule-pause-bg: fade(#000, 50%);
208+
@schedule-pause-bg: fade(#000, 75%);
209209
@schedule-pause: white;
210-
@schedule-gap-bg: transparent;
211-
@schedule-daychange-bg: transparent;
210+
@schedule-gap-bg: fade(#000, 30%);
211+
@schedule-daychange-bg: fade(#000, 40%);
212212

213213
#schedule {
214-
background: rgba(0, 0, 0, 0.6);
214+
background: rgba(0, 0, 0, 0.85);
215+
box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
215216
}
216217

217218
.schedule .room .block.event {
218-
background-color: fade(@color-blue, 50%);
219+
background-color: fade(@color-blue, 80%);
219220
color: white;
221+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
222+
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
220223

221224
&:hover {
222-
background-color: fade(@color-pink, 50%);
223-
border-color: @color-pink;
225+
background-color: fade(@color-purple, 80%);
226+
border-color: @color-purple;
227+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 15px fade(@color-purple, 40%);
228+
}
229+
}
230+
231+
// Swap h3 and h4 colors in schedule (excluding pause blocks)
232+
body .schedule .block:not(.pause):not(.optout) {
233+
h3 {
234+
color: @color-yellow;
235+
}
236+
237+
h4 {
238+
color: @color-pink;
239+
}
240+
}
241+
242+
// Pause blocks keep pink h3
243+
body .schedule .block.pause,
244+
body .schedule .block.optout {
245+
h3 {
246+
color: @color-pink;
224247
}
225248
}
226249

227250
#schedule-event-detail-popover {
228-
background-color: fade(#000, 95%) !important;
251+
background-color: fade(#000, 98%) !important;
229252
border-radius: 10px;
230253
border: 2px solid @color-lightblue !important;
231-
box-shadow: 0 0 20px @color-lightblue;
254+
box-shadow: 0 0 20px @color-lightblue, 0 4px 12px rgba(0, 0, 0, 0.8);
232255
padding: 15px;
233256

234257
#modal-header {

0 commit comments

Comments
 (0)