@@ -144,7 +144,6 @@ small {
144144 align-items : baseline ;
145145}
146146
147- // Consolidated flex wrap elements
148147.contact ,
149148:is(.certificate , .award , .reference , .skill , .language , .interest )
150149 .section-content
@@ -153,17 +152,18 @@ small {
153152 flex-wrap : wrap ;
154153}
155154
156- // Consolidated spacing patterns
157155.section-content :is(.description , .items .item , .groups ) {
158156 margin-bottom : $spacing-unit / 4 ;
159157}
160158
161- // Consolidated padding patterns
159+ .section-content :is(.description , .items .item , .groups ):last-child {
160+ margin-bottom : 0 ;
161+ }
162+
162163.section-content :is(.items .item .description , .authors ) {
163164 padding-left : 1rem ;
164165}
165166
166- // Consolidated color patterns
167167.date ,
168168.location ,
169169.institution {
@@ -182,43 +182,33 @@ small {
182182// border-bottom: 1px dashed var(--color-theme-border);
183183// }
184184
185- // Special border for name
186185.basic .header .name {
187186 border-bottom : 4px solid var (--color-theme );
188187}
189188
190- // Override for language/interest items
191189.language .item ,
192190.interest .item {
193191 border-bottom : none ;
194192}
195193
196- // Skill items: remove border for last row (3 items per row at 30% flex-basis)
197194.skill .items {
198- // If we have 3n items total, remove border from last 3
199195 .item :nth-last-child (-n + 3 ):nth-last-child (3 n ),
200196 .item :nth-last-child (-n + 3 ):nth-last-child (3 n -1 ),
201197 .item :nth-last-child (-n + 3 ):nth-last-child (3 n -2 ) {
202198 border-bottom : none ;
203199 }
204- // If we have 3n+1 items total, remove border from last 1
205200 .item :last-child:nth-child (3 n + 1 ) {
206201 border-bottom : none ;
207202 }
208- // If we have 3n+2 items total, remove border from last 2
209203 .item :nth-last-child (-n + 2 ):nth-last-child (3 n + 1 ),
210204 .item :nth-last-child (-n + 2 ):nth-last-child (3 n + 2 ) {
211205 border-bottom : none ;
212206 }
213207}
214208
215- // Override for group borders
216209.group :not (:last-child ) {
217210 border-bottom : 1px dashed var (--color-separator-border );
218211}
219- // .contact {
220- // font-size: $small-font-size;
221- // }
222212
223213.wrapper {
224214 display : flex ;
0 commit comments