File tree Expand file tree Collapse file tree 2 files changed +15
-48
lines changed
Expand file tree Collapse file tree 2 files changed +15
-48
lines changed Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ ul.archive-posts-list {
309309}
310310
311311.post-featured {
312- flex : 0 0 50 % ;
312+ flex : 0 0 100 % ;
313313
314314 header {
315315 border-left : 2px solid $color-accent ;
@@ -331,7 +331,6 @@ ul.archive-posts-list {
331331 }
332332
333333 .post-tags {
334- bottom : 5px ;
335334 position : absolute ;
336335
337336 a , a :hover , a :focus {
@@ -342,21 +341,6 @@ ul.archive-posts-list {
342341 }
343342}
344343
345- .post-featured :only-child {
346- flex : 0 0 100% ;
347-
348- header {
349- margin : auto ;
350- max-width : 80% ;
351- padding : 1em 1.5em ;
352- }
353- }
354-
355- .post-featured :last-child:not (:only-child ) {
356- flex : 0 0 49% ;
357- margin-left : 1% ;
358- }
359-
360344/* Projects */
361345.featured-projects {
362346 display : -ms-flexbox ;
Original file line number Diff line number Diff line change 105105 }
106106
107107 .post-featured {
108- flex : 0 0 80% !important ;
109- margin-left : auto !important ;
110- margin-right : auto !important ;
108+ flex : 0 0 80% ;
109+ margin-left : auto ;
110+ margin-right : auto ;
111111 }
112112
113113 .project-featured {
128128
129129@media only screen and (min-width : 1086px ) {
130130 .post-full .post-thumbnail ,
131- .post-content img [src $= ' #wide' ],
132131 .post-content img [src $= ' #full' ] {
133132 margin-left : calc (510px - 47vw );
134133 margin-right : calc (510px - 47vw );
138137}
139138
140139@media only screen and (min-width : 1469px ) {
140+ .post-featured :first-child {
141+ flex : 0 0 54% ;
142+ margin-right : 1% ;
143+ }
144+
145+ .post-featured :last-child:not (:only-child ) {
146+ flex : 0 0 45% ;
147+ }
148+
141149 .post-featured :only-child .post-title {
150+ margin : auto ;
142151 max-width : 80% ;
152+ padding : 1em 1.5em ;
143153 }
144154
145155 .post-full .post-thumbnail ,
146- .post-content img [src $= ' #wide' ],
147156 .post-content img [src $= ' #full' ] {
148157 margin-left : -180px ;
149158 margin-right : -180px ;
163172 }
164173}
165174
166- @media only screen and (max-width : 1469px ) {
167- .post-featured {
168- flex : 0 0 100% ;
169- margin-bottom : 1.3333em ;
170-
171- header {
172- padding : 0 ;
173- }
174-
175- .post-title {
176- margin : 8px 10px ;
177- max-width : 100% ;
178- }
179-
180- .post-tags {
181- bottom : 0 ;
182- margin : 0 0 8px 10px ;
183- }
184- }
185-
186- .post-featured :last-child:not (:only-child ) {
187- flex : 0 0 100% ;
188- margin-left : 0 ;
189- }
190- }
191-
192175@media only screen and (max-width : 1086px ) {
193176 .post-thumbnail img {
194177 margin : 0 ;
You can’t perform that action at this time.
0 commit comments