smaller images in oneboxes

This commit is contained in:
Régis Hanol 2013-12-20 00:32:39 +01:00
parent 66616c9574
commit 452232096f
2 changed files with 13 additions and 19 deletions

View file

@ -16,7 +16,7 @@ a.loading-onebox {
.onebox-result { .onebox-result {
margin-top: 15px; margin-top: 15px;
padding: 12px 25px 12px 12px; padding: 12px 25px 12px 12px;
border-left: 5px solid #bebebe; border-left: 5px solid #bebebe;
background: #eee; background: #eee;
font-size: 14px; font-size: 14px;
@ -43,7 +43,10 @@ a.loading-onebox {
.onebox-result-body { .onebox-result-body {
padding-top: 5px; padding-top: 5px;
img { img {
max-width:200px; max-width: 100px;
max-height: 80%;
float: left;
margin-right: 10px;
} }
h3, h4 { h3, h4 {
margin: 0px !important; margin: 0px !important;
@ -55,12 +58,6 @@ a.loading-onebox {
code { code {
max-height: 400px; max-height: 400px;
} }
img {
max-width: 30%;
max-height: 80%;
float: left;
margin-right: 10px;
}
.metrics { .metrics {
clear: both; clear: both;
padding-bottom: 25px; padding-bottom: 25px;
@ -76,8 +73,8 @@ a.loading-onebox {
// RottenTomatoes Onebox // RottenTomatoes Onebox
.onebox-result { .onebox-result {
.onebox-result-body { .onebox-result-body {
img.verdict { img.verdict {
float: none; float: none;
margin-right: 7px; margin-right: 7px;
} }
img.popcorn { img.popcorn {

View file

@ -39,7 +39,10 @@ a.loading-onebox {
padding-top: 5px; padding-top: 5px;
font-family: Georgia, Times, "Times New Roman", serif; font-family: Georgia, Times, "Times New Roman", serif;
img { img {
max-width:200px; max-width: 100px;
max-height: 80%;
float: left;
margin-right: 10px;
} }
h3, h4 { h3, h4 {
margin: 0px !important; margin: 0px !important;
@ -51,12 +54,6 @@ a.loading-onebox {
code { code {
max-height: 400px; max-height: 400px;
} }
img {
max-width: 30%;
max-height: 80%;
float: left;
margin-right: 10px;
}
.metrics { .metrics {
clear: both; clear: both;
padding-bottom: 25px; padding-bottom: 25px;
@ -72,8 +69,8 @@ a.loading-onebox {
// RottenTomatoes Onebox // RottenTomatoes Onebox
.onebox-result { .onebox-result {
.onebox-result-body { .onebox-result-body {
img.verdict { img.verdict {
float: none; float: none;
margin-right: 7px; margin-right: 7px;
} }
img.popcorn { img.popcorn {