X-Git-Url: http://git.nikiroo.be/?p=nikiroo-utils.git;a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Flibrary%2Fweb%2Fstyle.css;h=b12a24fa6ea0c3018eb925200baa066d475aee75;hp=3e59952f722096151bd2d684d34a709fe48f4b50;hb=83001824bb702296a45cdf400312e34f69951e91;hpb=6b89e45caaa566895d505b56c9ef272dd67f1d76 diff --git a/src/be/nikiroo/fanfix/library/web/style.css b/src/be/nikiroo/fanfix/library/web/style.css index 3e59952..b12a24f 100644 --- a/src/be/nikiroo/fanfix/library/web/style.css +++ b/src/be/nikiroo/fanfix/library/web/style.css @@ -127,7 +127,7 @@ h3 { width: 250px; display: flex; margin: auto; - margin-top: calc(50% - 320px); + margin-top: 100px; flex-direction: column; border: 1px solid #AAA391; padding: 20px; @@ -295,22 +295,28 @@ a.viewer.link:hover { .desc { display: flex; + flex-direction: column; padding-top: 10px; } -.desc .cover img { - width: 100px; - padding-right: 10px; +.desc .cover { max-height: 280px; + overflow: hidden; } -.desc .details .col1 { +.desc .cover img { + max-width: 80%; + margin: auto; + display: block; +} + +.desc .details .col.key { font-weight: bold; padding-left: 5px; padding-right: 5px; } -.desc .details .col2 { +.desc .details .col.value { color: #AAA391; } @@ -323,4 +329,10 @@ a.viewer.link:hover { .bar.optionbar.s1 { padding-left: calc(400px - (1 * (64px + 5px) / 2)); } .bar.optionbar.s4 { padding-left: calc(400px - (4 * (64px + 5px) / 2)); } + + .desc { flex-direction: row; } + .desc .cover img { + width: 200px; + padding-right: 10px; + } }