Skip to content

Commit c802bb6

Browse files
committed
style: about page
1 parent fd4c2ab commit c802bb6

File tree

1 file changed

+167
-14
lines changed

1 file changed

+167
-14
lines changed

src/pages/about/index.module.css

Lines changed: 167 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,9 @@
609609
color: #3498db;
610610
text-decoration: none;
611611
transition: color 0.3s ease;
612+
word-break: break-all;
613+
overflow-wrap: break-word;
614+
hyphens: auto;
612615
}
613616

614617
.list a:hover {
@@ -751,29 +754,59 @@
751754
}
752755

753756
/* Timeline Mobile Styles */
757+
.timeline {
758+
margin: 2rem 0;
759+
padding: 1rem 0;
760+
}
761+
754762
.timeline::before {
755-
left: 2rem;
763+
left: 1.5rem;
764+
width: 1px;
756765
}
757766

758767
.timelineItem {
759768
flex-direction: row !important;
760769
align-items: flex-start;
770+
margin-bottom: 2rem;
761771
}
762772

763773
.timelineContent {
764-
width: calc(100% - 4rem);
765-
margin-left: 4rem !important;
774+
width: calc(100% - 3.5rem);
775+
margin-left: 3.5rem !important;
766776
margin-right: 0 !important;
777+
padding: 1rem;
778+
border-radius: 8px;
767779
}
768780

769781
.timelineContent::before {
770-
left: -20px !important;
782+
left: -15px !important;
771783
border-right-color: #e9ecef !important;
772784
border-left-color: transparent !important;
785+
border-width: 8px;
773786
}
774787

775788
.timelineDot {
776-
left: 2rem;
789+
left: 1.5rem;
790+
width: 12px;
791+
height: 12px;
792+
border-width: 2px;
793+
}
794+
795+
.timelineYear {
796+
font-size: 0.8rem;
797+
padding: 0.25rem 0.75rem;
798+
margin-bottom: 0.75rem;
799+
}
800+
801+
.timelineTitle {
802+
font-size: 1.1rem;
803+
margin-bottom: 0.5rem;
804+
line-height: 1.3;
805+
}
806+
807+
.timelineDescription {
808+
font-size: 0.9rem;
809+
line-height: 1.5;
777810
}
778811

779812
/* Honor Carousel Mobile Styles */
@@ -782,30 +815,50 @@
782815
}
783816

784817
.honorGrid {
785-
gap: 1rem;
786-
padding: 0.5rem 0 1.5rem 0;
818+
gap: 0.75rem;
819+
padding: 0.75rem 0 1rem 0;
820+
}
821+
822+
.honorCard {
823+
width: calc(50% - 0.375rem);
824+
min-width: 160px;
787825
}
788826

789827
.honorImageContainer {
790-
height: 120px;
828+
height: 100px;
829+
}
830+
831+
.honorContent {
832+
padding: 0.75rem;
791833
}
792834

793835
.honorTitle {
794-
font-size: 0.9rem;
836+
font-size: 0.85rem;
837+
line-height: 1.2;
838+
margin-bottom: 0.4rem;
839+
}
840+
841+
.honorDate {
842+
font-size: 0.7rem;
843+
padding: 0.15rem 0.5rem;
844+
margin-bottom: 0.5rem;
795845
}
796846

797847
.honorDescription {
798-
font-size: 0.8rem;
848+
font-size: 0.75rem;
849+
line-height: 1.3;
850+
-webkit-line-clamp: 2;
799851
}
800852

801853
.honorIndicators {
802-
gap: 0.5rem;
803-
margin-top: 0.75rem;
854+
gap: 0.4rem;
855+
margin-top: 0.5rem;
804856
}
805857

806858
.honorIndicator {
807-
width: 10px;
808-
height: 10px;
859+
width: 8px;
860+
height: 8px;
861+
border-width: 1px;
809862
}
810863
}
811864

@@ -844,6 +897,106 @@
844897
width: 10px;
845898
height: 10px;
846899
}
900+
901+
/* Ultra Mobile Timeline Styles */
902+
.timeline {
903+
margin: 1.5rem 0;
904+
padding: 0.5rem 0;
905+
}
906+
907+
.timeline::before {
908+
left: 1rem;
909+
}
910+
911+
.timelineItem {
912+
margin-bottom: 1.5rem;
913+
}
914+
915+
.timelineContent {
916+
width: calc(100% - 2.5rem);
917+
margin-left: 2.5rem !important;
918+
padding: 0.75rem;
919+
}
920+
921+
.timelineDot {
922+
left: 1rem;
923+
width: 10px;
924+
height: 10px;
925+
}
926+
927+
.timelineYear {
928+
font-size: 0.75rem;
929+
padding: 0.2rem 0.5rem;
930+
}
931+
932+
.timelineTitle {
933+
font-size: 1rem;
934+
margin-bottom: 0.4rem;
935+
}
936+
937+
.timelineDescription {
938+
font-size: 0.85rem;
939+
}
940+
941+
/* Ultra Mobile Honor Carousel Styles */
942+
.honorCarousel {
943+
margin-top: 1rem;
944+
}
945+
946+
.honorGrid {
947+
gap: 0.5rem;
948+
padding: 0.5rem 0;
949+
}
950+
951+
.honorCard {
952+
width: calc(100% - 0.25rem);
953+
min-width: unset;
954+
max-width: 280px;
955+
margin: 0 auto;
956+
}
957+
958+
.honorImageContainer {
959+
height: 80px;
960+
}
961+
962+
.honorContent {
963+
padding: 0.5rem;
964+
}
965+
966+
.honorTitle {
967+
font-size: 0.8rem;
968+
margin-bottom: 0.3rem;
969+
}
970+
971+
.honorDate {
972+
font-size: 0.65rem;
973+
padding: 0.1rem 0.4rem;
974+
margin-bottom: 0.3rem;
975+
}
976+
977+
.honorDescription {
978+
font-size: 0.7rem;
979+
line-height: 1.2;
980+
}
981+
982+
.honorIndicators {
983+
gap: 0.3rem;
984+
margin-top: 0.25rem;
985+
}
986+
987+
.honorIndicator {
988+
width: 6px;
989+
height: 6px;
990+
}
991+
992+
.description {
993+
font-size: 1rem;
994+
text-align: center;
995+
}
996+
997+
.sectionTitleCentered {
998+
font-size: 1.8rem;
999+
}
8471000
}
8481001

8491002
/* Modal Styles */

0 commit comments

Comments
 (0)