File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 31
31
32
32
/* The main content card, also absolutely positioned */
33
33
.container {
34
- position : absolute;
35
34
z-index : 2 ; /* On top of the watermark */
36
- width : 1200px ;
37
- height : 630px ;
38
- padding : 50px 60px ;
39
- box-sizing : border-box;
40
- display : flex; /* Flexbox for internal alignment is fine */
41
- flex-direction : column;
35
+ position : absolute;
36
+ top : 30px ;
37
+ left : 30px ;
38
+ width : 950px ;
39
+ height : 550px ;
42
40
}
43
41
44
42
.main-content {
80
78
}
81
79
82
80
.title {
83
- font-size : 60 px ;
81
+ font-size : 50 px ;
84
82
font-weight : 700 ;
85
83
line-height : 1.15 ;
86
84
color : # 1f2937 ;
87
85
margin : 0 0 20px 0 ;
88
86
display : -webkit-box;
89
- -webkit-line-clamp : 2 ;
87
+ -webkit-line-clamp : 3 ;
90
88
-webkit-box-orient : vertical;
91
89
overflow : hidden;
92
90
text-overflow : ellipsis;
100
98
color : # 4b5563 ;
101
99
margin : 0 0 20px 0 ;
102
100
display : -webkit-box;
103
- -webkit-line-clamp : 4 ;
101
+ -webkit-line-clamp : 3 ;
104
102
-webkit-box-orient : vertical;
105
103
overflow : hidden;
106
104
text-overflow : ellipsis;
You can’t perform that action at this time.
0 commit comments