.major-title-wrapper {
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
margin-top: 15px;
width: 100%;
}
.major-title-container {
flex: 1;
}
.major-qrcode {
flex-shrink: 0;
text-align: center;
width: 120px;
margin-left: 20px;
}
.major-qrcode img {
width: 100px;
height: 100px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
transition: transform 0.3s ease;
display: block;
margin: 0 auto;
}
.major-qrcode img:hover {
transform: scale(1.05);
}
.major-qrcode p {
margin-top: 8px;
font-size: 12px;
color: #666;
line-height: 1.4;
} @media (max-width: 768px) {
.major-title-wrapper {
flex-direction: column;
align-items: center;
}
.major-title-container {
width: 100%;
}
.major-qrcode {
margin-left: 0;
margin-top: 0px;
margin-bottom: 0px;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.major-qrcode img {
width: 120px;
height: 120px;
margin: 0 auto;
}
.major-qrcode p {
margin-top: 10px;
text-align: center;
width: 100%;
} .direction-info p {
justify-content: center;
} .major-tags {
text-align: center;
}
.major-tags .tag {
display: inline-block;
}
} .major-detail-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
color: #333;
line-height: 1.6;
} .icon {
width: 1em;
height: 1em;
vertical-align: -0.125em;
fill: currentColor;
} .section-title .icon,
.card-header .icon,
.fact-icon .icon,
.direction-info .icon,
.faq-question .icon:first-child,
.copyright-notice .icon {
margin-right: 10px;
}
.school-link-button .icon {
margin-left: 5px;
} .major-hero-section {
position: relative;
margin-bottom: 30px;
margin-top: 90px;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.mdc-layout-grid__inner{ padding:15px}
.hero-background {
height: 200px;
background-color: #f0f2f5;
display: flex;
align-items: center;
justify-content: center;
}
.hero-background img {
max-width: 100%;
height: auto;
}
.major-essential-info {
background: white;
padding: 25px;
position: relative;
margin-top: -50px;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.major-tags {
display: flex;
gap: 10px;
margin-bottom: 15px;
}
.tag {
background: #e6f7ff;
color: #1890ff;
padding: 4px 12px;
border-radius: 4px;
font-size: 14px;
font-weight: 500;
}
.major-title-container {
margin-bottom: 0px;
}
.major-title {
font-size: 28px;
margin: 0 0 10px;
color: #1a1a1a;
}
.direction-info {
color: #666;
font-size: 15px;
}
.direction-info p {
margin: 5px 0;
display: flex;
align-items: center;
}
.direction-info .icon {
margin-right: 8px;
color: #1890ff;
} .quick-facts-section {
background: white;
border-radius: 8px;
padding: 20px;
margin-bottom: 30px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.fact-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
}
.fact-item {
display: flex;
align-items: center;
gap: 15px;
}
.fact-icon {
width: 50px;
height: 50px;
background: #e6f7ff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.fact-icon .icon {
font-size: 24px;
color: #1890ff;
}
.fact-content h4 {
margin: 0 0 5px;
font-size: 16px;
color: #666;
}
.fact-content p {
margin: 0;
font-size: 18px;
font-weight: 600;
color: #1a1a1a;
} .schools-offering-section {
background: white;
border-radius: 8px;
padding: 25px;
margin-bottom: 30px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.section-title {
font-size: 22px;
margin-top: 0;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 1px solid #f0f0f0;
color: #1a1a1a;
display: flex;
align-items: center;
}
.schools-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
}
.school-card {
background: #fafafa;
border-radius: 8px;
padding: 20px;
transition: all 0.3s;
border: 1px solid #f0f0f0;
}
.school-card:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.school-name {
margin: 0 0 10px;
font-size: 18px;
}
.school-name a {
color: #1a1a1a;
text-decoration: none;
transition: color 0.3s;
}
.school-name a:hover {
color: #1890ff;
}
.school-excerpt {
color: #666;
font-size: 14px;
margin: 0 0 15px;
}
.school-link-button {
display: inline-flex;
align-items: center;
padding: 8px 15px;
background: #1890ff;
color: white;
text-decoration: none;
border-radius: 4px;
font-size: 14px;
transition: background 0.3s;
}
.school-link-button:hover {
background: #096dd9;
} .major-detail-content {
background: white;
border-radius: 8px;
padding: 25px;
margin-bottom: 30px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.major-explanation {
margin-top: 20px;
} .article-tabs {
margin-top: 20px;
}
.tabs-nav {
display: flex;
border-bottom: 1px solid #f0f0f0;
margin-bottom: 20px;
}
.tab-button {
padding: 10px 20px;
background: none;
border: none;
border-bottom: 2px solid transparent;
cursor: pointer;
font-size: 15px;
color: #666;
transition: all 0.3s;
}
.tab-button.active {
color: #1890ff;
border-bottom-color: #1890ff;
font-weight: 500;
}
.tab-button:hover:not(.active) {
color: #1a1a1a;
}
.tabs-content {
margin-top: 15px;
}
.tab-pane {
display: none;
}
.tab-pane.active {
display: block;
} .two-column-section {
display: grid;
grid-template-columns: 7fr 3fr;
gap: 30px;
margin-bottom: 40px;
}
@media (max-width: 768px) {
.two-column-section {
grid-template-columns: 1fr;
}
} .exam-papers-column {
background: white;
border-radius: 8px;
padding: 20px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.exam-papers-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
.exam-paper-item {
transition: all 0.3s;
}
.exam-paper-item:hover {
transform: translateY(-3px);
}
.exam-paper-thumbnail {
height: 160px;
overflow: hidden;
border-radius: 6px;
margin-bottom: 10px;
}
.exam-paper-thumbnail img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s;
}
.exam-paper-item:hover .exam-paper-thumbnail img {
transform: scale(1.05);
}
.exam-paper-title {
margin: 0;
font-size: 16px;
text-align: center;
}
.exam-paper-title a {
color: #333;
text-decoration: none;
transition: color 0.3s;
}
.exam-paper-item:hover .exam-paper-title a {
color: #1890ff;
} .related-majors-column {
display: flex;
flex-direction: column;
gap: 20px;
}
.sidebar-card {
background: white;
border-radius: 8px;
padding: 20px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.card-header {
display: flex;
align-items: center;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 1px solid #f0f0f0;
}
.card-header h3 {
margin: 0;
font-size: 18px;
} .related-majors-list ul {
list-style: none;
padding: 0;
margin: 0;
}
.related-majors-list li {
padding: 10px 0;
border-bottom: 1px solid #f0f0f0;
}
.related-majors-list li:last-child {
border-bottom: none;
}
.related-majors-list a {
color: #333;
text-decoration: none;
transition: color 0.3s;
}
.related-majors-list a:hover {
color: #1890ff;
} .qr-code-content {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.qr-code-content img {
width: 140px;
height: 140px;
margin-bottom: 10px;
}
.qr-code-text p {
margin: 5px 0;
color: #666;
} .sidebar-ad {
border-radius: 8px;
overflow: hidden;
}
.sidebar-ad img {
width: 100%;
height: auto;
display: block;
} .faq-section {
margin-top: 40px;
}
.faq-title {
font-size: 20px;
margin-bottom: 15px;
color: #1a1a1a;
}
.faq-items {
border: 1px solid #f0f0f0;
border-radius: 8px;
overflow: hidden;
}
.faq-item {
border-bottom: 1px solid #f0f0f0;
}
.faq-item:last-child {
border-bottom: none;
}
.faq-question {
padding: 15px;
background: #fafafa;
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
font-weight: 500;
}
.faq-question .toggle-icon {
transition: transform 0.3s;
}
.faq-question.active .toggle-icon {
transform: rotate(180deg);
}
.faq-answer {
padding: 0 15px;
max-height: 0;
overflow: hidden;
transition: max-height 0.3s, padding 0.3s;
}
.faq-answer.show {
padding: 15px;
max-height: 1000px;
} .copyright-notice {
margin-top: 30px;
padding: 15px;
background: #fffbe6;
border-left: 3px solid #ffe58f;
font-size: 14px;
color: #666;
display: flex;
align-items: center;
} .breadcrumb-container {
padding: 0 0 15px;
margin-bottom: 30px;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.breadcrumb-nav {
padding: 0 15px;
}
.breadcrumb-list {
display: flex;
flex-wrap: wrap;
list-style: none;
margin: 0;
padding: 0;
font-size: 14px;
}
.breadcrumb-item {
display: flex;
align-items: center;
color: #6c757d;
}
.breadcrumb-item:not(:last-child)::after {
content: ">";
margin: 0 10px;
color: #adb5bd;
}
.breadcrumb-item a {
color: #007bff;
text-decoration: none;
transition: color 0.3s;
}
.breadcrumb-item a:hover {
color: #0056b3;
text-decoration: underline;
}
.breadcrumb-current {
color: #495057;
font-weight: 500;
}
@media (max-width: 768px) {
.breadcrumb-container {
padding: 10px 0;
}
.breadcrumb-list {
font-size: 13px;
}
.breadcrumb-item:not(:last-child)::after {
margin: 0 8px;
}
}