Skip to content

Commit

Permalink
fix: hero style (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangsizhu0504 authored Nov 20, 2023
1 parent acd8ddb commit 64d213a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/pages/home/hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function () {
<div className="overlay opacity-90 z-index-n1"></div>
<div className="container-fluid px-7 pb-2 cover-container">
<div className="row justify-content-center">
<div className="col-md-6 col-8 align-self-center pe-5" data-aos="fade-right">
<div className="col-md-6 col-8 align-self-center pe-0" data-aos="fade-right">
<div className="text-start mt-0">
<div className="mb-5 system_info pt-0">
<div className=" fw-bold mb-3">
Expand Down
37 changes: 35 additions & 2 deletions src/pages/home/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -1687,6 +1687,38 @@ hr {
color: #5e44ee;
}

@media (min-width: 576px) {

.system_info .project_title {
font-size: 3rem;
}
}

@media (min-width: 768px) {

.system_info .project_title {
font-size: 3.5rem;
}
}

@media (min-width: 992px) {
.system_info .project_title {
font-size: 3.5rem;
}
}

@media (min-width: 1200px) {
.system_info .project_title {
font-size: 4rem;
}
}

@media (min-width: 1400px) {
.system_info .project_title {
font-size: 4.5rem;
}
}

.system_info h5 {
font-weight: 500;
font-size: 1.1rem;
Expand Down Expand Up @@ -2011,11 +2043,12 @@ hr {
background-color: #141618;
border: 1px solid #333;
}

.incubating {
background-color: hsla(0,0%,100%,.15);
background-color: hsla(0, 0%, 100%, .15);

&:hover {
background-color: hsla(0,0%,100%,.25);
background-color: hsla(0, 0%, 100%, .25);
}

color: #fff;
Expand Down

0 comments on commit 64d213a

Please sign in to comment.