2014-10-05 15:29:21 +02:00
|
|
|
.infobox {
|
2020-08-03 09:15:54 +02:00
|
|
|
|
|
|
|
img {
|
2020-08-03 02:11:24 +02:00
|
|
|
max-height: 250px;
|
|
|
|
}
|
|
|
|
|
2014-10-05 15:29:21 +02:00
|
|
|
.infobox_part {
|
|
|
|
margin-bottom: 20px;
|
2016-02-28 02:19:04 +01:00
|
|
|
word-wrap: break-word;
|
|
|
|
table-layout: fixed;
|
2014-10-05 15:29:21 +02:00
|
|
|
}
|
2019-12-10 18:10:33 +01:00
|
|
|
|
2014-10-05 15:29:21 +02:00
|
|
|
.infobox_part:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2020-08-03 03:18:30 +02:00
|
|
|
|
|
|
|
.header_url {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
display: block;
|
|
|
|
}
|
2020-08-03 09:15:54 +02:00
|
|
|
|
|
|
|
.infobox_toggle {
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
margin-bottom: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Shrink infobox size when toggle is off
|
|
|
|
.infobox_checkbox ~ .infobox_body {
|
|
|
|
max-height: 300px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
.infobox_checkbox:checked ~ .infobox_body {
|
|
|
|
max-height: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Show toggle button as down when infobox is shrunk
|
|
|
|
.infobox_checkbox ~ .infobox_toggle .infobox_label_down {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.infobox_checkbox ~ .infobox_toggle .infobox_label_up {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Show toggle button as up when infobox is expanded
|
|
|
|
.infobox_checkbox:checked ~ .infobox_toggle .infobox_label_up {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.infobox_checkbox:checked ~ .infobox_toggle .infobox_label_down {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Hide main image when toggle is off
|
|
|
|
.infobox_checkbox ~ .infobox_body img.infobox_part {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.infobox_checkbox:checked ~ .infobox_body img.infobox_part {
|
|
|
|
display: block;
|
|
|
|
}
|
2014-10-05 15:29:21 +02:00
|
|
|
}
|