reduce http requests (ugc images + posters)
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -5,6 +5,10 @@
|
||||
@import 'normalize';
|
||||
@import 'font-awesome';
|
||||
|
||||
/* Variables */
|
||||
|
||||
$poster_size:175px;
|
||||
|
||||
/* Default Tags */
|
||||
|
||||
body {
|
||||
@@ -197,15 +201,15 @@ main {
|
||||
position:absolute;
|
||||
top:50%;
|
||||
margin-top:-25%;
|
||||
left:152px;
|
||||
left:$poster_size;
|
||||
right:0;
|
||||
bottom:0;
|
||||
width:calc(100% - 152px);
|
||||
width:calc(100% - #{$poster_size});
|
||||
opacity:0.2;
|
||||
}
|
||||
|
||||
.film img.poster {
|
||||
width:152px;
|
||||
width:$poster_size;
|
||||
display: block;
|
||||
z-index:2;
|
||||
}
|
||||
@@ -214,9 +218,9 @@ main {
|
||||
z-index:2;
|
||||
position:absolute;
|
||||
top:0;
|
||||
left:152px;
|
||||
left:$poster_size;
|
||||
padding-left:1em;
|
||||
width: calc(100% - 1em - 152px);
|
||||
width: calc(100% - 1em - #{$poster_size});
|
||||
}
|
||||
|
||||
.film p {
|
||||
|
||||
Reference in New Issue
Block a user