File tree Expand file tree Collapse file tree 1 file changed +8
-27
lines changed Expand file tree Collapse file tree 1 file changed +8
-27
lines changed Original file line number Diff line number Diff line change 54
54
& __content {
55
55
display : flex ;
56
56
flex-direction : column ;
57
+ flex-grow : 1 ;
57
58
margin : 15px 20px 15px ;
58
59
}
59
60
& __topic {
76
77
color : #787679 ;
77
78
}
78
79
& __title {
79
- font-size : 1.5 rem ;
80
+ font-size : 1.25 rem ;
80
81
font-weight : 700 ;
81
82
word-spacing : normal ;
82
83
letter-spacing : -.01rem ;
83
- line-height : 30 px ;
84
+ line-height : 28 px ;
84
85
padding-bottom : .5rem ;
85
86
}
86
87
& __subtitle {
87
88
color : #000 ;
88
89
font-size : 90% ;
89
90
}
90
- & __image {
91
- position : relative ;
92
- }
93
- & __label {
94
- position : absolute ;
95
- margin : 4px ;
96
- font-size : .875rem ;
97
- padding : 2px 4px ;
98
- border-radius : 2px ;
99
- letter-spacing : .5px ;
100
- text-transform : uppercase ;
101
- }
102
91
}
103
92
104
- .card--blog {
93
+ .card--expand {
105
94
flex-direction : row ;
106
95
.card {
107
96
& __image {
108
- flex : 1 ;
97
+ flex : 2 ;
109
98
}
110
99
& __content {
111
100
flex : 2 ;
112
101
}
113
- & __title {
114
- font-size : 1.25rem ;
115
- line-height : 28px ;
116
- }
117
102
& __footer .card__author {
118
103
display : none ;
119
104
}
123
108
@media (min-width : 768px ) {
124
109
.card {
125
110
& __title {
126
- font-size : 1.75 rem ;
127
- line-height : 32 px ;
111
+ font-size : 1.5 rem ;
112
+ line-height : 30 px ;
128
113
letter-spacing : -0.03rem ;
129
114
}
130
115
}
131
- .card--blog {
116
+ .card--expand {
132
117
flex-direction : column ;
133
118
.card {
134
- & __title {
135
- font-size : 1.5rem ;
136
- line-height : 32px ;
137
- }
138
119
& __footer .card__author {
139
120
display : block ;
140
121
}
You can’t perform that action at this time.
0 commit comments