1111 {%- for page in pages_to_add_as_tiles -%}
1212 {%- if page.type == include.type %}
1313 < a href ="{{ page.url | relative_url }} " class ="page-tile-link ">
14- < div class ="page-tile-item page-tile-item-{{ page.roadmap_category | default: none }} ">
14+ < div class ="page-tile-item ">
1515 < div class ="page-tile-content ">
16+ {%- if page.roadmap_category -%}
17+ < div class ="page-tile-category page-tile-item-{{ page.roadmap_category | default: none }} "> {{ page.roadmap_category }}</ div >
18+ {%- endif -%}
1619 < h3 class ="page-tile-title " style ="margin-top: 0.0rem "> {{ page.title }}</ h3 >
1720 {% if page.description %}
1821 < p class ="page-tile-description "> {{ page.description }}</ p >
@@ -28,68 +31,81 @@ <h3 class="page-tile-title" style="margin-top: 0.0rem">{{ page.title }}</h3>
2831
2932< style >
3033
34+ .page-tile-category {
35+ display : inline-block;
36+ padding : 0.2rem 0.5rem ;
37+ margin-bottom : 0.5rem ;
38+ font-size : 0.8em ;
39+ font-weight : bold;
40+ color : # fff ;
41+ border-radius : 4px ;
42+ }
43+
3144 .page-tiles-list {
32- display : grid;
33- grid-template-columns : repeat (auto-fill, minmax (300px , 1fr ));
34- gap : 20px ;
45+ display : grid;
46+ grid-template-columns : repeat (auto-fill, minmax (300px , 1fr ));
47+ gap : 20px ;
3548 }
3649
3750 .page-tile-link {
38- text-decoration : none;
39- color : inherit;
40- display : flex;
51+ text-decoration : none;
52+ color : inherit;
53+ display : flex;
4154 }
4255
4356 .page-tile-item {
44- border-radius : 12px ;
45- padding : 25px ;
46- transition : all 0.3s ease;
47- background : # 9c9c9c ;
48- width : 100% ;
49- display : flex;
50- flex-direction : column;
51- justify-content : space-between;
52- border : 1px solid # ffffff ;
57+ border-radius : 12px ;
58+ padding : 25px ;
59+ transition : all 0.3s ease;
60+ background : # f0f3fa ;
61+ width : 100% ;
62+ display : flex;
63+ flex-direction : column;
64+ justify-content : space-between;
65+ border : 1px solid # ffffff ;
66+ color : # 012152 ;
5367 }
5468
55- .page-tile-item-none {
56- background : # 9c9c9c ;
69+ .page-tile-item-No-category {
70+ background : # 9c9c9c ;
5771 }
5872
59- .page-tile-item-D1 {
60- background : # a4c2f4ff ;
73+ .page-tile-item-Community-space {
74+ background : # D98B19 ;
6175 }
6276
63- .page-tile-item-D2 {
64- background : # 6d9eebff ;
77+ .page-tile-item-Training {
78+ background : # 056608 ;
6579 }
6680
67- .page-tile-item-D3 {
68- background : # 1155ccff ;
81+ .page-tile-item-Shared-platform {
82+ background : # 1155ccff ;
6983 }
7084
71- .page-tile-item-D4 {
72- background : # 1c4587ff ;
85+ .page-tile-item-Global-connections {
86+ background : # 000000 ;
7387 }
7488
7589 .page-tile-item : hover {
76- transform : translateY (-4px );
77- box-shadow : 0 8px 25px rgba (0 , 0 , 0 , 0.1 );
78- border : 1px solid # 000000 ;
90+ background : # 012152 ;
91+ color : # ffffff ;
92+ transform : translateY (-4px );
93+ box-shadow : 0 8px 25px rgba (0 , 0 , 0 , 0.1 );
94+ border : 1px solid # 000000 ;
7995 }
8096
8197 .page-tile-title {
82- color : # ffffff ;
83- font-size : 1.3rem ;
84- font-weight : 600 ;
85- margin-bottom : 8px ;
98+ color : inherit ;
99+ font-size : 1.3rem ;
100+ font-weight : 600 ;
101+ margin-bottom : 8px ;
86102 }
87103
88104 .page-tile-description {
89- color : # ffffff ;
90- font-size : 0.9rem ;
91- line-height : 1.5 ;
92- flex-grow : 1 ;
105+ color : inherit ;
106+ font-size : 0.9rem ;
107+ line-height : 1.5 ;
108+ flex-grow : 1 ;
93109 }
94110
95111</ style >
0 commit comments