2022-09-07 08:19:46 +01:00
|
|
|
/*
|
|
|
|
color candidates:
|
|
|
|
#CB3A56 茜色
|
|
|
|
#F05654 銀紅
|
|
|
|
#F20C00 石榴紅
|
|
|
|
#FF2D51 火紅
|
|
|
|
*/
|
|
|
|
body.type-newsletter {
|
|
|
|
--signature: #CB3A56;
|
|
|
|
--signature-bg: rgba(203, 58, 87, 0.239);
|
|
|
|
--signature-bg-dim: rgba(203, 58, 87, 0.147);
|
|
|
|
--main-border: 5px solid var(--signature);
|
|
|
|
--link-hover-color: var(--signature);
|
2022-09-07 08:25:44 +01:00
|
|
|
--icon-length: 50px;
|
2022-09-07 08:19:46 +01:00
|
|
|
|
|
|
|
|
|
|
|
/* regular page layout */
|
|
|
|
}
|
|
|
|
|
|
|
|
body.type-newsletter.kind-section {
|
|
|
|
/* section page layout */
|
|
|
|
|
|
|
|
.main {
|
|
|
|
border: var(--main-border);
|
|
|
|
background-color: var(--theme);
|
|
|
|
margin-top: var(--content-gap);
|
|
|
|
min-height: calc(100vh - var(--header-height) - var(--footer-height) - var(--content-gap));
|
|
|
|
max-width: calc(var(--nav-width));
|
|
|
|
}
|
|
|
|
|
2022-09-07 08:25:44 +01:00
|
|
|
.main-icon {
|
2022-09-07 08:19:46 +01:00
|
|
|
position: absolute;
|
|
|
|
left: 0; top: 0;
|
2022-09-07 08:25:44 +01:00
|
|
|
width: var(--icon-length);
|
|
|
|
height: var(--icon-length);
|
2022-09-07 08:19:46 +01:00
|
|
|
line-height: 45px;
|
|
|
|
border-right: var(--main-border);
|
|
|
|
border-bottom: var(--main-border);
|
|
|
|
background-color: var(--signature);
|
|
|
|
color: var(--theme);
|
|
|
|
font-size: 32px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2022-09-07 08:37:31 +01:00
|
|
|
|
|
|
|
.page-header {
|
|
|
|
h1 {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
2022-09-07 08:19:46 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
body.type-newsletter.kind-page {
|
|
|
|
.newsletter-brand {
|
|
|
|
display: flex;
|
|
|
|
background-color: var(--signature-bg-dim);
|
|
|
|
transition: var(--link-transition);
|
|
|
|
font-size: 32px;
|
|
|
|
margin-bottom: calc(var(--content-gap) * 2);
|
2022-09-07 08:25:44 +01:00
|
|
|
line-height: var(--icon-length);
|
2022-09-07 08:19:46 +01:00
|
|
|
|
|
|
|
.icon, .name {
|
2022-09-07 08:25:44 +01:00
|
|
|
height: var(--icon-length);
|
2022-09-07 08:19:46 +01:00
|
|
|
}
|
|
|
|
.icon {
|
2022-09-07 08:25:44 +01:00
|
|
|
width: var(--icon-length);
|
2022-09-07 08:19:46 +01:00
|
|
|
color: var(--theme);
|
|
|
|
text-align: center;
|
|
|
|
background-color: var(--signature);
|
|
|
|
}
|
|
|
|
.name {
|
|
|
|
padding: 0 20px;
|
|
|
|
font-weight: bolder;
|
|
|
|
color: var(--signature);
|
|
|
|
}
|
2022-09-07 08:37:31 +01:00
|
|
|
.remark {
|
2022-09-07 08:19:46 +01:00
|
|
|
color: var(--signature);
|
|
|
|
font-weight: 300;
|
|
|
|
transition: var(--link-transition);
|
|
|
|
}
|
|
|
|
.arrow {
|
|
|
|
margin-left: auto;
|
|
|
|
color: transparent;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding-right: 15px;
|
|
|
|
transition: var(--link-transition);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover, &:active {
|
|
|
|
background-color: var(--signature-bg);
|
|
|
|
.arrow {
|
|
|
|
color: var(--signature);
|
|
|
|
}
|
2022-09-07 08:37:31 +01:00
|
|
|
.remark {
|
2022-09-07 08:19:46 +01:00
|
|
|
color: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-title {
|
|
|
|
font-size: 36px;
|
|
|
|
}
|
|
|
|
.post-footer {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|