hsun пре 2 година
родитељ
комит
d074103ac0
1 измењених фајлова са 10 додато и 8 уклоњено
  1. 10 8
      static/htm2img/chart_list.html

+ 10 - 8
static/htm2img/chart_list.html

@@ -13,6 +13,10 @@
         div{
         div{
             box-sizing: border-box;
             box-sizing: border-box;
         }
         }
+        p,span{
+            margin: 0;
+            padding: 0;
+        }
         .box{
         .box{
             /* width: 294px;
             /* width: 294px;
             height: 338px; */
             height: 338px; */
@@ -45,6 +49,7 @@
             margin: 40px 0px;
             margin: 40px 0px;
             padding: 40px;
             padding: 40px;
             float: left;
             float: left;
+            position: relative;
         }
         }
         .content-box .item-title{
         .content-box .item-title{
             display: -webkit-box;
             display: -webkit-box;
@@ -52,14 +57,15 @@
             text-overflow: ellipsis;
             text-overflow: ellipsis;
             -webkit-line-clamp: 2;
             -webkit-line-clamp: 2;
             -webkit-box-orient: vertical;
             -webkit-box-orient: vertical;
-            min-height: 140px;
-            font-size: 56px;
+            font-size: 48px;
         }
         }
         .content-box .item-img{
         .content-box .item-img{
-            width: 100%;
+            width: 420px;
             height: 320px;
             height: 320px;
-            margin-top: 20px;
             object-fit: cover;
             object-fit: cover;
+            position: absolute;
+            left: 40px;
+            bottom: 40px;
         }
         }
 
 
         .flex{
         .flex{
@@ -72,10 +78,6 @@
             height: 256px;
             height: 256px;
             float: right;
             float: right;
         }
         }
-        p,span{
-            margin: 0 !important;
-            padding: 0 !important;
-        }
     </style>
     </style>
 </head>
 </head>
 <body>
 <body>