Retoor software development Projects Research SearchXNG
Register Sign In

12 lines
196 B
Plaintext
Raw Normal View History

oscar template: add infobox
2014-10-05 15:29:21 +02:00
.infobox {
.infobox_part {
margin-bottom: 20px;
[fix] apply changes in infobox's styles changes were made for wolframalpha infobox: - wrap text inside infobox. for example, there's a hill in New Zealand called Taumatawhakatangihangakoauauotamateapokaiwhenuakitanatahu (don't blame me, blame the Kiwis) and now it doesn't break the infobox. - add an optional image field for infobox's attributes. (doesn't affect ddg infobox at all) - table is now always split in half. needed so that images stay inside infobox. (max-width doesn't work for inline elements, it's the table that has to set the width. if you don't like how the table width looks now in ddg/wiki's infobox, i can change that code so that the style only applies when using wolframalpha.
2016-02-28 02:19:04 +01:00
word-wrap: break-word;
table-layout: fixed;
oscar template: add infobox
2014-10-05 15:29:21 +02:00
}
.infobox_part:last-child {
margin-bottom: 0;
}
}
Reference in New Issue Copy Permalink
c30f73f8fd
searxng/searx/static/themes/oscar/less/pointhi/infobox.less
Response time: 63ms
Mail Licenses API