forked from MinhQuan/PresentCorpo
init
This commit is contained in:
@@ -0,0 +1,401 @@
|
||||
/* views\aboutPage\aboutMain.css */
|
||||
/* GENERAL STYLES */
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
font-family: Arial, sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* Ensure visited links don't turn purple */
|
||||
a:visited {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* Optional: Keep hover state consistent */
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* Optional: Keep active state consistent */
|
||||
a:active {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* Hero Section */
|
||||
.hero {
|
||||
width: 100%;
|
||||
height: 450px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.hero img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
/* About Section */
|
||||
.about-section {
|
||||
padding: 40px 5%;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
.about-content {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 30px;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.about-image {
|
||||
flex: 0.5;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.about-text {
|
||||
flex: 1;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.page-intro {
|
||||
font-size: 32px;
|
||||
color: #e85c41;
|
||||
margin-bottom: 0;
|
||||
font-weight: bold;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.sub-intro {
|
||||
font-size: 28px;
|
||||
color: #006241;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 20px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.about-text p {
|
||||
margin-bottom: 20px;
|
||||
font-size: 18px;
|
||||
color: #006241;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.video-wrapper {
|
||||
position: relative;
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.about-image img {
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.play-button {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
background-color: rgba(255, 255, 255, 0.7);
|
||||
border-radius: 50%;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.play-button i {
|
||||
font-size: 30px;
|
||||
color: #e85c41;
|
||||
}
|
||||
|
||||
/* Development History Section */
|
||||
.history-section {
|
||||
padding: 40px 5%;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.history-content {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: 28px;
|
||||
color: #e85c41;
|
||||
margin-bottom: 40px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.timeline {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
position: relative;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
/* The main horizontal line */
|
||||
.timeline::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 10px;
|
||||
height: 2px;
|
||||
background-color: #e85c41;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.timeline-item {
|
||||
position: relative;
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
padding: 0 10px;
|
||||
padding-top: 30px;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/* Vertical line marks replacing dots */
|
||||
.timeline-item::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 2px;
|
||||
height: 20px;
|
||||
background-color: #e85c41;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.timeline-year {
|
||||
font-size: 20px;
|
||||
color: #006241;
|
||||
font-weight: bold;
|
||||
margin-bottom: 10px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.timeline-description {
|
||||
font-size: 16px;
|
||||
color: #333;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* Business Culture Section Styles */
|
||||
.business-culture-section {
|
||||
padding: 40px 5%;
|
||||
background-color: #fff;
|
||||
border: 1px solid #e84e0f;
|
||||
margin: 40px 5%;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.culture-content {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.culture-container {
|
||||
display: flex;
|
||||
gap: 30px;
|
||||
}
|
||||
|
||||
.culture-left,
|
||||
.culture-right {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 25px;
|
||||
}
|
||||
|
||||
.culture-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.culture-title {
|
||||
font-size: 26px;
|
||||
color: white;
|
||||
background-color: #e85c41;
|
||||
padding: 12px 25px;
|
||||
border-radius: 20px;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.culture-text {
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.culture-text p {
|
||||
font-size: 18px;
|
||||
color: #006241;
|
||||
line-height: 1.7;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.culture-image {
|
||||
overflow: hidden;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||
max-height: 180px;
|
||||
}
|
||||
|
||||
.culture-image img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.culture-image img:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
/* Management Team Section Styles */
|
||||
.management-team-section {
|
||||
padding: 40px 5%;
|
||||
background-color: #fff;
|
||||
margin: 40px 0;
|
||||
}
|
||||
|
||||
.team-content {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.team-members {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
flex-wrap: wrap;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.team-member {
|
||||
flex: 1;
|
||||
min-width: 250px;
|
||||
max-width: 350px;
|
||||
text-align: center;
|
||||
padding: 0 15px;
|
||||
margin-bottom: 30px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.team-member:not(:last-child)::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 20%;
|
||||
height: 60%;
|
||||
width: 1px;
|
||||
background-color: #e0e0e0;
|
||||
}
|
||||
|
||||
.member-image {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
overflow: hidden;
|
||||
border-radius: 50%;
|
||||
margin-bottom: 20px;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.member-image img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.member-info {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.member-name {
|
||||
font-size: 24px;
|
||||
color: #333;
|
||||
margin-bottom: 8px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.member-position {
|
||||
font-size: 18px;
|
||||
color: #30875f;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/* Responsive Design */
|
||||
@media (max-width: 768px) {
|
||||
.hero {
|
||||
height: 300px;
|
||||
}
|
||||
|
||||
.about-content {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.timeline {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 60px 0 20px;
|
||||
}
|
||||
|
||||
.timeline::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.timeline-item {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.timeline-item::before {
|
||||
top: -10px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.culture-container {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.culture-title {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.team-members {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.team-member {
|
||||
max-width: 100%;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.team-member:not(:last-child)::after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user