Bootstrap v5 Migration, Style Cleanups, Formular-Umgestaltung, Layout-Verbesserungen (schließt #222)
This commit is contained in:
@ -9,9 +9,9 @@
|
||||
<h2 class="mb-3">{{ i18n "cantorpreisträger" }}</h2>
|
||||
{{ range where (where .Site.RegularPages "Title" .Params.Title ) "Type" "=" "cantorpreis" }}
|
||||
<div class="d-flex justify-content-between align-items-center flex-wrap">
|
||||
<div class="media mb-2 mb-sm-0 align-items-center">
|
||||
<img class="mr-4 img-fluid person-thumb-sm" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
|
||||
<div class="media-body">
|
||||
<div class="d-flex mb-2 mb-sm-0 align-items-center">
|
||||
<img class="me-4 img-fluid person-thumb-sm" src="{{ .Params.Image | relURL }}" alt="{{ .Title }}">
|
||||
<div class="flex-grow-1">
|
||||
<h4 class="mt-0"><a href="{{ .Permalink }}">{{ .Params.Name }}</a></h4>
|
||||
{{ .Description }}
|
||||
</div>
|
||||
@ -58,12 +58,9 @@
|
||||
color: function (word, weight) {
|
||||
return (weight === 200) ? '#ffbc3b' : '#1a1a37';
|
||||
},
|
||||
hover: function(item, dimension, event) {
|
||||
console.log("item:", item);
|
||||
console.log("dimension:", dimension);
|
||||
console.log("event:", event);
|
||||
/* hover: function(item, dimension, event) {
|
||||
item && item[2] ? event.target.style.textDecorationLine = "underline" : null
|
||||
},
|
||||
},*/
|
||||
fontFamily: 'Tilt Warp, serif',
|
||||
fontWeight: 700,
|
||||
list: JSON.parse("{{ $topics }}"),
|
||||
|
Reference in New Issue
Block a user