mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
feat(theme): home media style
This commit is contained in:
parent
19ed2a7fb3
commit
5e55b53e04
@ -3,7 +3,7 @@ home: true
|
||||
banner: /images/bg-home.jpg
|
||||
hero:
|
||||
name: 鹏展博
|
||||
profession: 前端开发工程师
|
||||
tagline: 前端开发工程师
|
||||
text: 简单介绍专业技能信息相关的描述
|
||||
actions:
|
||||
-
|
||||
|
||||
@ -71,26 +71,8 @@ const actions = computed(() => {
|
||||
padding: 0 2rem;
|
||||
}
|
||||
|
||||
@media (min-width: 960px) {
|
||||
.plume-home .container {
|
||||
max-width: 768px;
|
||||
padding-top: 8rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1440px) {
|
||||
.plume-home .container {
|
||||
max-width: 1104px;
|
||||
padding-top: 8rem;
|
||||
}
|
||||
|
||||
.plume-home .content .hero-tagline {
|
||||
font-size: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
.plume-home .content .hero-name {
|
||||
font-size: 100px;
|
||||
font-size: 72px;
|
||||
font-weight: 600;
|
||||
line-height: 1;
|
||||
color: var(--vp-c-text-hero-name);
|
||||
@ -125,6 +107,27 @@ const actions = computed(() => {
|
||||
/* background-color: rgba(0, 0, 0, 0.25); */
|
||||
}
|
||||
|
||||
@media (min-width: 960px) {
|
||||
.plume-home .container {
|
||||
max-width: 768px;
|
||||
padding-top: 8rem;
|
||||
}
|
||||
.plume-home .content .hero-name {
|
||||
font-size: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1440px) {
|
||||
.plume-home .container {
|
||||
max-width: 1104px;
|
||||
padding-top: 8rem;
|
||||
}
|
||||
|
||||
.plume-home .content .hero-tagline {
|
||||
font-size: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
.actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
@ -30,6 +30,7 @@ body {
|
||||
text-rendering: optimizeLegibility;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
transition: color var(--t-color) ease, background-color var(--t-color) ease;
|
||||
}
|
||||
|
||||
main {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user