-
Notifications
You must be signed in to change notification settings - Fork 18
[feat]: New homepage #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Update lastest code
… comprehensive community content
… comprehensive community content
.btn-primary { | ||
border-color: #028dfa; | ||
background-color: #028dfa; | ||
color: white; | ||
font-weight: 600; | ||
} | ||
|
||
.btn-primary:hover { | ||
border-color: #0275d8; | ||
background-color: #0275d8; | ||
color: white; | ||
} | ||
|
||
.btn-outline-primary { | ||
border-color: #028dfa; | ||
color: #028dfa; | ||
} | ||
|
||
.btn-outline-primary:hover { | ||
background-color: #028dfa; | ||
color: white; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
用 LESS 嵌套语法
.section-heading { | ||
position: relative; | ||
margin-bottom: 30px; | ||
padding-bottom: 15px; | ||
} | ||
|
||
.section-heading::after { | ||
position: absolute; | ||
bottom: 0; | ||
left: 0; | ||
background-color: var(--fcc-accent); | ||
width: 50px; | ||
height: 3px; | ||
content: ''; | ||
} | ||
|
||
.section-heading.text-center::after { | ||
left: 50%; | ||
transform: translateX(-50%); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
抽组件
:root { | ||
--bs-primary: var(--fcc-accent); | ||
--bs-primary-rgb: 241, 190, 50; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
与本文件最顶端的 :root
规则合并。
.navbar.bg-light { | ||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | ||
background-color: white !important; | ||
padding-top: 0.425rem !important; | ||
padding-bottom: 0.425rem !important; | ||
min-height: auto !important; | ||
} | ||
|
||
.navbar .nav-link { | ||
position: relative; | ||
transition: color 0.3s ease; | ||
padding-top: 0.375rem !important; | ||
padding-bottom: 0.375rem !important; | ||
color: #000000 !important; | ||
font-weight: 500; | ||
font-size: 0.9rem; | ||
} | ||
|
||
.navbar .nav-link:hover { | ||
color: #028dfa !important; | ||
} | ||
|
||
.navbar .nav-link::after { | ||
position: absolute; | ||
bottom: 0; | ||
left: 50%; | ||
transform: translateX(-50%); | ||
transition: all 0.3s ease; | ||
background-color: #028dfa; | ||
width: 0; | ||
height: 2px; | ||
content: ''; | ||
} | ||
|
||
.navbar .nav-link:hover::after { | ||
width: 80%; | ||
} | ||
|
||
.navbar .nav-link.active { | ||
color: #028dfa !important; | ||
} | ||
|
||
.navbar .nav-link.active::after { | ||
width: 80%; | ||
} | ||
|
||
.navbar .navbar-brand { | ||
padding-top: 0.375rem !important; | ||
padding-bottom: 0.375rem !important; | ||
color: #000000 !important; | ||
font-weight: 600; | ||
font-size: 1.1rem; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LESS 嵌套
.dropdown-menu { | ||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); | ||
border-radius: 0.25rem; | ||
background-color: white !important; | ||
min-width: 100px; | ||
} | ||
|
||
.dropdown-menu .dropdown-item { | ||
padding: 0.5rem 1rem; | ||
color: #000000 !important; | ||
font-size: 0.9rem; | ||
} | ||
|
||
.dropdown-menu .dropdown-item:hover { | ||
background-color: #f8f9fa; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.dropdown-menu { | |
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); | |
border-radius: 0.25rem; | |
background-color: white !important; | |
min-width: 100px; | |
} | |
.dropdown-menu .dropdown-item { | |
padding: 0.5rem 1rem; | |
color: #000000 !important; | |
font-size: 0.9rem; | |
} | |
.dropdown-menu .dropdown-item:hover { | |
background-color: #f8f9fa; | |
} | |
.dropdown-menu { | |
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); | |
border-radius: 0.25rem; | |
background-color: white !important; | |
min-width: 100px; | |
.dropdown-item { | |
padding: 0.5rem 1rem; | |
color: #000000 !important; | |
font-size: 0.9rem; | |
&:hover { | |
background-color: #f8f9fa; | |
} | |
} | |
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...
Checklist(清单):
Labels
Assignees
Reviewers
Built the homepage layout based on the design.
Added components for Events, Blog Posts, and Sponsors & Partners sections.