weblib: use more templats
[nikiroo-utils.git] / src / be / nikiroo / fanfix / library / web / style.css
index 3e59952f722096151bd2d684d34a709fe48f4b50..b12a24fa6ea0c3018eb925200baa066d475aee75 100644 (file)
@@ -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;
+       }
 }