@@ -7,6 +7,7 @@ $shadow-color: rgba($main-color,0.3);
77$sub-color : #ffed4d ; // Yellow
88$lightgray : #eff2f6 ; // Light gray
99$phone-width : 760px ;
10+ $tablet-width : 1366px ;
1011$header-phone : 940px ;
1112* {
1213 box-sizing : border-box ;
@@ -480,7 +481,7 @@ footer{
480481 border-top : solid 2px $main-color ;
481482 border-bottom : solid 2px $main-color ;
482483 background-image : repeating-linear-gradient (-45deg , transparent , transparent 4px , rgba ($main-color , 0.1 ) 4px , rgba ($main-color , 0.1 ) 10px );
483- margin : 4 em 0 1 em ;
484+ margin : 2.8 em 0 0.9 em ;
484485 & ::before {
485486 content : ' ' ;
486487 clear : both ;
@@ -490,7 +491,7 @@ footer{
490491 h3 {
491492 border-left : solid 6px $main-color ;
492493 background-color : rgba ($main-color , 0.05 );
493- margin-top : 2.4 em ;
494+ margin-top : 1.8 em ;
494495 padding : 8px ;
495496 }
496497 ul {
@@ -1085,6 +1086,31 @@ footer{
10851086 margin : auto ; // Center horizontally
10861087 height : auto ; // Maintain aspect ratio
10871088}
1089+ /* Tighten spacing between sponsor logos and endorsements */
1090+ #sponsor-logos {
1091+ padding-bottom : 8px ;
1092+ }
1093+ #endorsements {
1094+ padding-top : 8px ;
1095+ }
1096+ /* Match post content width */
1097+ .post #sponsor-logos ,
1098+ .post #endorsements {
1099+ width : 100% ;
1100+ padding-left : 0 ;
1101+ padding-right : 0 ;
1102+ padding-top : 12px ;
1103+ padding-bottom : 12px ;
1104+ }
1105+ /* Use full width cards inside post layout */
1106+ .post #endorsements .endorsements-list {
1107+ flex-direction : column ;
1108+ }
1109+ .post #endorsements .endorsement-card {
1110+ width : 100% ;
1111+ margin-left : 0 ;
1112+ margin-right : 0 ;
1113+ }
10881114
10891115/* Ensure the parent container of the logos centers them vertically and horizontally */
10901116#sponsor-logos .flex {
@@ -1109,6 +1135,110 @@ footer{
11091135 width : 120px ;
11101136}
11111137
1138+ /* Endorsements */
1139+ #endorsements .endorsements-list {
1140+ justify-content : center ;
1141+ gap : 16px ;
1142+ }
1143+ .endorsement-card {
1144+ background-color : #fff ;
1145+ box-shadow : 0 0 6px 1px $shadow-color ;
1146+ border-radius : 8px ;
1147+ margin : 8px ;
1148+ padding : 20px ;
1149+ text-align : left ;
1150+ width : calc (50% - 16px );
1151+ display : flex ;
1152+ flex-direction : column ;
1153+ }
1154+ .endorsement-card-head {
1155+ display : flex ;
1156+ align-items : center ;
1157+ justify-content : center ;
1158+ gap : 12px ;
1159+ flex-wrap : wrap ;
1160+ }
1161+ .endorsement-person {
1162+ display : flex ;
1163+ align-items : center ;
1164+ gap : 12px ;
1165+ min-width : 0 ;
1166+ margin-right : auto ;
1167+ }
1168+ .endorsement-photo {
1169+ width : 72px ;
1170+ height : 72px ;
1171+ border-radius : 50% ;
1172+ object-fit : cover ;
1173+ background-color : $lightgray ;
1174+ }
1175+ .endorsement-meta p {
1176+ margin : 0 ;
1177+ line-height : 1.4em ;
1178+ }
1179+ .endorsement-name {
1180+ font-weight : 700 ;
1181+ }
1182+ .endorsement-title {
1183+ font-size : 0.85em ;
1184+ color : #666 ;
1185+ white-space : pre-line ;
1186+ }
1187+ .endorsement-company {
1188+ display : inline-block ;
1189+ font-size : 0.85em ;
1190+ margin-top : 2px ;
1191+ }
1192+ .endorsement-logo img {
1193+ width : 200px ;
1194+ height : auto ;
1195+ object-fit : contain ;
1196+ }
1197+ .endorsement-quote {
1198+ margin-top : 16px ;
1199+ color : #555 ;
1200+ position : relative ;
1201+ }
1202+ .endorsement-quote ::before {
1203+ content : " “" ;
1204+ color : $main-color ;
1205+ margin-right : 4px ;
1206+ font-weight : 700 ;
1207+ }
1208+ .endorsement-quote ::after {
1209+ content : " ”" ;
1210+ color : $main-color ;
1211+ margin-left : 4px ;
1212+ font-weight : 700 ;
1213+ }
1214+ @media screen and (max-width :$tablet-width ) and (min-width : ($phone-width + 1 )) {
1215+ #endorsements .endorsement-card {
1216+ width : calc (90% - 16px );
1217+ }
1218+ }
1219+ @media screen and (max-width : $phone-width ) {
1220+ .endorsement-card {
1221+ width : calc (100% - 16px );
1222+ padding : 16px ;
1223+ }
1224+ .endorsement-card-head {
1225+ justify-content : flex-start ;
1226+ }
1227+ .endorsement-photo {
1228+ width : 64px ;
1229+ height : 64px ;
1230+ }
1231+ .endorsement-logo {
1232+ flex-basis : 100% ;
1233+ width : 100% ;
1234+ display : flex ;
1235+ justify-content : center ;
1236+ }
1237+ .endorsement-logo img {
1238+ width : 200px ;
1239+ }
1240+ }
1241+
11121242.sv {
11131243 overflow : hidden ;
11141244 @media screen and (max-width : $phone-width ) {
0 commit comments