File tree Expand file tree Collapse file tree 6 files changed +466
-89
lines changed
Expand file tree Collapse file tree 6 files changed +466
-89
lines changed Original file line number Diff line number Diff line change 156156.location-grid {
157157 display : grid;
158158 gap : 1.5rem ;
159- grid-template-columns : repeat (auto-fill, minmax (300 px , 1fr ));
159+ grid-template-columns : repeat (auto-fill, minmax (400 px , 1fr ));
160160 align-items : start;
161161}
162162
369369/* Responsive Design */
370370@media (max-width : 768px ) {
371371 .location-grid {
372- grid-template-columns : repeat (auto-fill, minmax (280 px , 1fr ));
372+ grid-template-columns : repeat (auto-fill, minmax (30 % , 1fr ));
373373 }
374374
375375 .section-header {
413413 .search-container {
414414 max-width : 100% ;
415415 }
416- }
416+ }
Original file line number Diff line number Diff line change 2424 height : 3rem ;
2525 }
2626
27- span {
27+ p {
2828 font-size : 1.5rem ;
2929 font-weight : 600 ;
30+ margin-inline-start : 1rem ;
3031 color : var (--primary );
3132
32- & em {
33+ & span {
3334 color : # 6d8c3d ;
3435 }
3536 }
3940 display : flex;
4041 align-items : center;
4142 text-decoration : none;
42-
43- & span {
44- margin-inline : 1rem ;
45- }
4643 }
4744
4845 .title {
Original file line number Diff line number Diff line change @@ -58,7 +58,14 @@ function getColorClass(index: number) {
5858 >
5959 <details >
6060 <summary title = { state .name } >{ state .name } </summary >
61- <p title = { state .capital } >{ state .capital } </p >
61+ <p title = { state .capital } >
62+ { state .capital }
63+ { state .multiple && (
64+ <span style = { { color: " grey" }} aria-label = " capital in winter" >
65+ | ❄️ { state .multiple .winter }
66+ </span >
67+ )}
68+ </p >
6269 </details >
6370 </article >
6471 ))
@@ -82,7 +89,14 @@ function getColorClass(index: number) {
8289 >
8390 <details >
8491 <summary title = { ut .name } >{ ut .name } </summary >
85- <p title = { ut .capital } >{ ut .capital } </p >
92+ <p title = { ut .capital } >
93+ { ut .capital }
94+ { ut .multiple && (
95+ <span style = { { color: " grey" }} aria-label = " capital in winter" >
96+ | ❄️ { ut .multiple .winter }
97+ </span >
98+ )}
99+ </p >
86100 </details >
87101 </article >
88102 ))
You can’t perform that action at this time.
0 commit comments