halo-theme-dream
Version:
梦之城,童话梦境,动漫类型博客主题。
2,357 lines (1,990 loc) • 94.9 kB
text/less
@charset "utf-8";
/* CSS Document */
// 移动设备最大宽度
@mobile-max-width: 768px;
// 平板最小宽度
@table-min-width: 769px;
// 笔记本电脑最小宽度
@laptop-min-width: 1024px;
// 桌面设备最小宽度
@desktop-min-width: 1216px;
// 显示器最小宽度
@display-min-width: 1700px;
// 宽屏设备最小宽度
@widescreen-min-width: 2200px;
* {
margin: 0;
padding: 0;
box-sizing: border-box;
outline: 0;
-webkit-tap-highlight-color: transparent;
}
body > .footer, body > .navbar, body > .section {
opacity: 0;
transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.navbar-above {
transform: translateY(-100%);
}
.load-block {
transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}
.card, .load-block {
opacity: 0;
transform: scale(0.8);
transform-origin: center top;
}
.tips {
margin-bottom: -0.6rem;
background-color: rgb(221 234 255 / 90%) !important;
padding: 0.8rem;
border: none !important;
color: var(--theme) !important;
font-size: 1.15em;
&::before {
content: "\f2a2";
font: normal normal normal 14px/1 remixicon;
margin-right: 0.5rem;
font-size: 1.2em;
}
.click-close {
margin-left: 5px;
cursor: pointer;
font-size: 18px;
line-height: 1.2em;
float: right;
&:hover {
color: #333;
}
}
}
html {
box-sizing: border-box;
font-size: 14px;
background-color: var(--bg-f);
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
min-width: 300px;
text-rendering: optimizeLegibility;
text-size-adjust: 100%;
&.loaded {
body > .footer, body > .navbar, body > .section {
opacity: 1;
}
.navbar-above {
transform: translateY(0);
}
.card, .load-block {
opacity: 1;
transform: none;
}
}
&.pjax-loading .column-main .card, &.pjax-loading .load-block {
opacity: 0.8;
transform: scale(0.8);
transform-origin: center top;
}
&.disable-scroll {
overflow: hidden
}
&:not(.disable-scroll) {
body.move-up .navbar-above {
transform: translate3d(0, -100%, 0);
}
.actions.show {
right: 16px;
}
}
&.clean {
background-color: var(--style-a);
.card {
box-shadow: none;
border: 1px solid var(--light-b);
background: none;
&:hover {
background: none;
}
}
.footer {
backdrop-filter: none;
&:before {
content: none;
}
}
.pagination-link:not(.is-current), .pagination-previous, .pagination-next {
box-shadow: none;
border: 1px solid var(--light-b);
}
}
}
body {
margin: 0 !important;
justify-content: space-between;
-webkit-box-orient: vertical;
-ms-flex-direction: column;
flex-direction: column;
min-height: 100vh;
display: flex;
font-size: 1em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
padding-bottom: env(safe-area-inset-bottom);
scroll-behavior: smooth;
overflow-x: hidden;
overflow-y: overlay;
&::-webkit-scrollbar-thumb {
background: var(--theme);
background-image: -webkit-linear-gradient(45deg, hsla(0, 0%, 100%, 0.4) 25%, transparent 0, transparent 50%, hsla(0, 0%, 100%, 0.4) 0, hsla(0, 0%, 100%, 0.4) 75%, transparent 0, transparent);
}
&:before {
content: '';
position: fixed;
z-index: -1;
top: 0;
right: 0;
bottom: 0;
left: 0;
transition: opacity 1s;
background-size: cover !important;
}
&:after {
content: "";
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -10;
pointer-events: none
}
}
::-webkit-scrollbar {
height: 8px;
width: 8px;
}
::-webkit-scrollbar-thumb {
background: rgba(160, 160, 160, .2);
border-radius: 2em;
}
::-webkit-scrollbar-track {
background: 0 0;
border-radius: 2em;
}
::-moz-selection {
color: #fff;
background: var(--theme)
}
::selection {
color: #fff;
background: var(--theme)
}
input[type=text] {
-webkit-appearance: none;
border-radius: 0;
font-size: 13px;
font-weight: 500
}
iframe {
display: block;
border: 0;
margin: 0 auto
}
textarea {
font-size: 14px;
resize: none;
-webkit-appearance: none
}
li, ol, ul {
list-style: none
}
img {
border: 0;
vertical-align: middle;
}
img:not([src]), img[src=""] {
border: 0;
opacity: 0
}
canvas, svg {
vertical-align: middle
}
button {
cursor: pointer;
-webkit-appearance: none;
font-size: 13px
}
table {
border-collapse: collapse;
border-spacing: 0
}
blockquote, body, dd, dl, dt, fieldset, figure, h1, h2, h3, h4, h5, h6, hr, html, iframe, legend, li, ol, p, pre, textarea, ul {
margin: 0;
padding: 0;
}
h1, h2, h3, h4, h5, h6 {
font-size: 100%;
font-weight: 500;
margin-bottom: 10px;
}
button, input, select {
margin: 0;
}
audio {
max-width: 100%;
}
body, button, input, select, textarea {
font-family: "Dream Font", BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
code, pre {
-moz-osx-font-smoothing: auto;
font-family: monospace;
}
section {
flex: 1;
}
a {
color: var(--theme);
cursor: pointer;
text-decoration: none;
word-break: break-all;
&:hover {
color: var(--dark-c);
}
}
code {
background-color: #f5f5f5;
color: #ff3860;
font-size: .875em;
font-weight: 400;
padding: .25em .5em;
}
hr {
background-color: var(--light-b);
border: none;
display: block;
height: 1px;
margin: 11.2px 0;
}
input[type=checkbox], input[type=radio] {
vertical-align: baseline;
}
small {
font-size: .875em;
}
span {
font-style: inherit;
font-weight: inherit;
}
strong {
font-weight: 700;
}
fieldset {
border: none;
}
pre {
-webkit-overflow-scrolling: touch;
background-color: #f5f5f5;
color: var(--main);
font-size: .875em;
overflow-x: auto;
white-space: pre;
word-wrap: normal;
padding: 1.25rem 1.5rem;
code {
background-color: transparent;
color: currentColor;
font-size: 1em;
padding: 0;
}
}
table td, table th {
vertical-align: top;
}
.container {
flex-grow: 1;
margin: 0 auto;
position: relative;
width: auto;
}
.canvas_effects {
position: fixed;
margin: 0;
padding: 0;
border: 0;
outline: 0;
left: 0;
top: 0;
width: 100%;
height: 100%;
pointer-events: none;
&.universe {
background: radial-gradient(1600px at 70% 120%, #212750 10%, #020409 100%);
}
&.night {
display: none;
}
}
/** 通用样式 开始 */
.tag {
align-items: center;
background-color: var(--bg-c);
border-radius: 4px;
color: var(--dark-c);
display: inline-flex;
font-size: .75em;
height: 2em;
justify-content: center;
line-height: 1.5;
padding-left: 0.75em;
padding-right: 0.75em;
white-space: nowrap;
}
.button {
-moz-appearance: none;
-webkit-appearance: none;
align-items: center;
border: 1px solid transparent;
border-radius: 4px;
box-shadow: none;
display: inline-flex;
font-size: 1rem;
height: 2.25em;
justify-content: flex-start;
line-height: 1.5;
padding: calc(.375em - 1px) calc(.625em - 1px);
position: relative;
vertical-align: top;
&.is-link {
border-color: transparent;
color: #fff;
background-color: var(--theme);
&:hover {
opacity: 0.8;
}
}
&.is-rounded {
border-radius: 290486px;
padding-left: 1em;
padding-right: 1em;
}
&.is-transparent {
background: 0 0;
border-color: transparent;
color: var(--dark-c);
&.is-hovered, &:hover {
background-color: var(--bg-c);
}
}
&.is-large {
font-size: 1.5rem;
}
}
.level {
align-items: center;
justify-content: space-between;
&-item {
display: flex;
flex-basis: auto;
flex-grow: 0;
flex-shrink: 0;
justify-content: center;
}
}
.title {
color: var(--dark-c);
font-size: 1.6rem;
font-weight: 400;
line-height: 1.25;
.top {
background-image: -webkit-linear-gradient(0deg, rgb(57 169 255 / 80%) 0, rgb(155 79 255 / 80%) 100%);
border-radius: 2px 6px;
color: #fff;
padding: 0 6px;
font-size: 12px;
line-height: 20px;
vertical-align: 3px;
margin-right: 5px;
display: inline-block;
user-select: none;
}
}
.is-invisible {
visibility: hidden !important;
}
.image {
display: block;
position: relative;
}
.breadcrumb {
display: flex;
align-items: center;
justify-content: flex-start;
font-size: 0.8rem;
flex-shrink: 0;
li {
i {
margin-right: 3px;
}
&:not(:first-child)::before {
content: "/";
color: var(--light-d);
padding: 0 5px;
}
}
}
.has-link-grey {
line-height: 1.85rem;
color: var(--theme);
background-image: linear-gradient(transparent calc(100% - 1px), var(--theme) 1px);
background-repeat: no-repeat;
background-size: 0 100%;
transition: all .35s ease-in-out;
&:hover {
color: var(--theme) !important;
background-size: 100% 100%;
}
}
.is-hidden-all {
display: none !important;
}
.card:not(.is-hidden-all) ~ .card {
margin-top: 1.4rem !important;
}
.indent {
text-indent: 2em;
}
.dream-emoji {
width: 1.4em;
height: 1.4em;
margin: auto 1px;
vertical-align: text-bottom;
}
.menu-list {
line-height: 1.25;
a {
border-radius: 2px;
color: var(--main);
display: block;
padding: 0.5em 0.75em;
&:hover {
background-color: var(--bg-c);
}
&.level {
display: flex;
}
&.is-active {
background-color: var(--bg-e);
color: var(--light-a);
}
}
i {
margin-right: 0.5em;
}
li ul {
margin: 0.5em 0 0.75em 0.75em;
padding-left: 0.5em;
border-left: 1px solid var(--light-c);
}
& > li > a:not(.is-active) + .menu-list {
display: none;
}
}
.expand-done {
background: var(--bg-k);
position: absolute;
bottom: 0;
left: 0;
right: 0;
text-align: center;
height: 1.8rem;
cursor: pointer;
i {
display: inline-block;
color: var(--dark-b);
font-size: 1.6rem;
animation: code-expand 2.4s infinite;
text-shadow: 0 -1px 5px var(--light-d);
transition: all 0.3s;
}
}
.fold {
max-height: 320px;
.expand-done {
background: linear-gradient(180deg, rgba(0, 0, 0, 0.0), rgb(77 77 77 / 40%));
i {
transform: rotatex(180deg);
}
}
}
.loading::after {
content: '';
display: block;
width: 70px;
height: 70px;
margin: 12px auto;
background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTciIGhlaWdodD0iNTciIHZpZXdCb3g9IjAgMCA1NyA1NyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBzdHJva2U9IiM0MDllZmYiPg0KICAgIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+DQogICAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEgMSkiIHN0cm9rZS13aWR0aD0iMiI+DQogICAgICAgICAgICA8Y2lyY2xlIGN4PSI1IiBjeT0iNTAiIHI9IjUiPg0KICAgICAgICAgICAgICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImN5Ig0KICAgICAgICAgICAgICAgICAgICAgYmVnaW49IjBzIiBkdXI9IjIuMnMiDQogICAgICAgICAgICAgICAgICAgICB2YWx1ZXM9IjUwOzU7NTA7NTAiDQogICAgICAgICAgICAgICAgICAgICBjYWxjTW9kZT0ibGluZWFyIg0KICAgICAgICAgICAgICAgICAgICAgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIC8+DQogICAgICAgICAgICAgICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iY3giDQogICAgICAgICAgICAgICAgICAgICBiZWdpbj0iMHMiIGR1cj0iMi4ycyINCiAgICAgICAgICAgICAgICAgICAgIHZhbHVlcz0iNTsyNzs0OTs1Ig0KICAgICAgICAgICAgICAgICAgICAgY2FsY01vZGU9ImxpbmVhciINCiAgICAgICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPg0KICAgICAgICAgICAgPC9jaXJjbGU+DQogICAgICAgICAgICA8Y2lyY2xlIGN4PSIyNyIgY3k9IjUiIHI9IjUiPg0KICAgICAgICAgICAgICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImN5Ig0KICAgICAgICAgICAgICAgICAgICAgYmVnaW49IjBzIiBkdXI9IjIuMnMiDQogICAgICAgICAgICAgICAgICAgICBmcm9tPSI1IiB0bz0iNSINCiAgICAgICAgICAgICAgICAgICAgIHZhbHVlcz0iNTs1MDs1MDs1Ig0KICAgICAgICAgICAgICAgICAgICAgY2FsY01vZGU9ImxpbmVhciINCiAgICAgICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPg0KICAgICAgICAgICAgICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImN4Ig0KICAgICAgICAgICAgICAgICAgICAgYmVnaW49IjBzIiBkdXI9IjIuMnMiDQogICAgICAgICAgICAgICAgICAgICBmcm9tPSIyNyIgdG89IjI3Ig0KICAgICAgICAgICAgICAgICAgICAgdmFsdWVzPSIyNzs0OTs1OzI3Ig0KICAgICAgICAgICAgICAgICAgICAgY2FsY01vZGU9ImxpbmVhciINCiAgICAgICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPg0KICAgICAgICAgICAgPC9jaXJjbGU+DQogICAgICAgICAgICA8Y2lyY2xlIGN4PSI0OSIgY3k9IjUwIiByPSI1Ij4NCiAgICAgICAgICAgICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJjeSINCiAgICAgICAgICAgICAgICAgICAgIGJlZ2luPSIwcyIgZHVyPSIyLjJzIg0KICAgICAgICAgICAgICAgICAgICAgdmFsdWVzPSI1MDs1MDs1OzUwIg0KICAgICAgICAgICAgICAgICAgICAgY2FsY01vZGU9ImxpbmVhciINCiAgICAgICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPg0KICAgICAgICAgICAgICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImN4Ig0KICAgICAgICAgICAgICAgICAgICAgZnJvbT0iNDkiIHRvPSI0OSINCiAgICAgICAgICAgICAgICAgICAgIGJlZ2luPSIwcyIgZHVyPSIyLjJzIg0KICAgICAgICAgICAgICAgICAgICAgdmFsdWVzPSI0OTs1OzI3OzQ5Ig0KICAgICAgICAgICAgICAgICAgICAgY2FsY01vZGU9ImxpbmVhciINCiAgICAgICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPg0KICAgICAgICAgICAgPC9jaXJjbGU+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4=);
background-repeat: no-repeat;
background-size: 100% 100%;
}
.bg-shadow:before {
content: '';
display: block;
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
background: linear-gradient(to top, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.05));
}
/** 通用样式 结束 */
#dprogress {
pointer-events: none;
user-select: none;
z-index: 2000;
position: fixed;
top: 0;
left: 0;
right: 0;
width: 100%;
height: 2px;
.bar {
background: var(--theme);
box-shadow: 0 0 10px 1px var(--theme);
height: 100%;
}
}
.logo-title {
font-size: 1.5em;
color: var(--theme) !important;
img {
max-height: 2rem;
}
}
.logo-img-dark {
display: none;
}
.navbar {
&-above {
position: fixed;
top: 0;
z-index: 6;
width: 100%;
background-color: var(--background);
transition: all 0.5s;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05), 0 0 1px rgba(0, 0, 0, 0.1);
.container {
display: flex;
align-items: center;
}
.navbar-item {
display: flex;
align-items: center;
padding-right: 0.75rem;
flex-grow: 0;
flex-shrink: 0;
color: #4a4a4a;
line-height: 1.5;
position: relative;
}
.navbar-nav {
display: flex;
align-items: center;
.item {
cursor: pointer;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
position: relative;
height: 3.5rem;
line-height: 3.5rem;
font-size: 15px;
padding: 0 8px;
margin-right: 10px;
user-select: none;
white-space: nowrap;
color: var(--title);
transition: color 0.35s;
> i {
display: inline-block;
margin-right: 4px;
font-size: 18px;
transition: transform 0.5s;
}
&:last-child {
margin-right: 0;
}
&::after {
opacity: 0;
position: absolute;
bottom: 0;
left: 6px;
right: 6px;
content: "";
height: 3px;
transform: scaleX(0.25);
background: var(--theme);
border-radius: 6px 6px 0 0;
transition: opacity 0.5s, transform 0.5s;
}
&.current {
color: var(--theme);
&::after {
opacity: 1;
transform: scaleX(1);
}
&:hover::after {
opacity: 1;
transform: scaleX(1);
}
}
&:hover {
color: var(--theme);
&::after {
opacity: 0.3;
transform: scaleX(0.7);
}
& + .joe-icon-arrow-down {
color: var(--theme) !important;
}
}
}
&.active-shadow {
.item.current {
text-shadow: 0 4px 20px var(--theme);
}
}
&.active-animate {
.item:hover .m-icon {
animation: dung 0.3s 0.12s ease;
}
}
.item-dropdown {
margin-right: 15px;
&-link {
a {
height: 50px;
line-height: 50px;
font-size: 15px;
padding-left: 8px;
padding-right: 3px;
transition: color 0.35s;
white-space: nowrap;
color: var(--main);
}
}
&-menu {
min-width: 90px;
max-width: 200px;
text-align: center;
a {
display: block;
height: 34px;
margin-right: 0;
line-height: 34px;
color: var(--main);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding: 0 15px;
transition: color 0.35s, background 0.35s;
&::after {
display: none;
}
&:hover,
&.current {
color: var(--theme);
background: var(--bg-a);
}
}
}
.item:hover:after {
display: none;
}
&.active {
.item-dropdown-link {
a,
i {
color: var(--theme) !important;
&::after {
display: none;
}
}
}
}
}
.item-sub-li {
position: relative;
height: 34px;
&:hover {
.item-sub {
visibility: visible;
opacity: 1;
transform: translateX(0) perspective(600px) rotateY(0);
}
}
}
.item-sub {
visibility: hidden;
z-index: 10;
transform-origin: top;
opacity: 0;
position: relative;
left: 100%;
top: -34px;
padding-left: 7px;
box-shadow: 7px 3px 8px 0px rgba(0, 0, 0, 0.15);
border-radius: 0 var(--radius-inner) var(--radius-inner) 0;
transform: translateX(-20%) perspective(600px) rotateY(-45deg);
transition: opacity 0.35s, visibility 0.35s, transform 0.35s;
&::before {
position: absolute;
top: 10px;
left: 0;
content: "";
transform: translateX(-50%);
width: 0;
height: 0;
border: 7px solid transparent;
border-right-color: var(--theme);
}
&::after {
position: absolute;
top: 0;
left: 7px;
content: "";
width: 2px;
height: 100%;
background: var(--theme);
}
li {
background: var(--bg-d);
}
}
}
&.solid {
backdrop-filter: unset;
box-shadow: unset;
border-bottom: 1px solid var(--light-b);
}
}
.navbar-search {
.submit {
width: 50px;
}
&-mobile .submit {
width: 80px;
}
.result {
position: absolute;
z-index: 2;
top: 55px;
left: 0;
right: 0;
user-select: none;
visibility: hidden;
overflow: hidden;
opacity: 0;
background: var(--bg-d);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
border-radius: var(--radius-inner);
transition: visibility 0.35s, opacity 0.35s, transform 0.35s;
transform: translate3d(0, 15px, 0);
&.active {
transform: translate3d(0, 0, 0);
opacity: 1;
visibility: visible;
}
.item {
height: 40px;
line-height: 40px;
display: flex;
align-items: center;
overflow: hidden;
padding: 0 10px;
border-bottom: 1px solid var(--light-b);
transition: background 0.35s;
&:last-child {
border-bottom: none;
}
&:nth-child(1) .sort {
background: #fe2d46;
}
&:nth-child(2) .sort {
background: #f60;
}
&:nth-child(3) .sort {
background: #faa90e;
}
&:hover {
background: var(--bg-a);
}
.sort {
color: #fff;
background: #7f7f8c;
width: 18px;
height: 18px;
line-height: 18px;
border-radius: 2px;
text-align: center;
margin-right: 8px;
font-weight: 500;
}
.text {
flex: 1;
min-width: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: var(--dark-a);
font-size: 12px;
}
.views {
color: var(--seat);
font-size: 12px;
margin-left: 5px;
}
}
}
}
.navbar-search,
.navbar-search-mobile {
position: relative;
margin-left: auto;
display: flex;
align-items: center;
.input {
background: var(--bg-a);
width: 170px;
height: 34px;
border: 1px solid transparent;
padding: 0 14px 0 16px;
color: var(--dark-a);
transition: width 0.35s, border-color 0.35s, padding-right 0.35s;
border-radius: 17px 0 0 17px;
&:focus {
background: var(--light-a);
border-color: var(--theme);
padding-right: 28px;
width: 170px;
~ .icon {
transform: translate3d(0, -50%, 0) rotateY(180deg);
}
}
}
@keyframes swag {
0% {
transform: rotate(-10deg);
}
50% {
transform: rotate(0deg);
}
100% {
transform: rotate(10deg);
}
}
.submit {
position: relative;
z-index: 1;
height: 34px;
color: #fff;
border: none;
background: var(--theme);
border-radius: 0 17px 17px 0;
i {
transform-origin: right bottom;
font-size: 18px;
}
&:hover i {
animation: swag 0.3s ease infinite alternate;
}
}
.icon {
position: absolute;
top: 50%;
right: 44px;
width: 28px;
height: 38px;
background: url(data:image/png;base64,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);
background-size: 100% 100%;
transition: transform 0.35s;
transform: translate3d(100%, -50%, 0) rotateY(180deg);
}
}
.navbar-search-mobile {
input {
flex: 1;
width: 100%;
}
}
&-slideicon {
display: none;
cursor: pointer;
font-size: 23px !important;
color: var(--main);
}
&-searchicon {
display: none;
cursor: pointer;
font-size: 23px !important;
color: var(--main);
margin-left: auto;
}
&-mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 4;
background: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(5px);
opacity: 0;
visibility: hidden;
transition: visibility 0.35s, opacity 0.35s;
&.active {
visibility: visible;
opacity: 1;
}
&.slideout {
z-index: 6;
}
}
&-slideout {
visibility: hidden;
position: fixed;
top: 0;
bottom: 0;
left: 0;
z-index: 120;
width: 78%;
max-width: 480px;
background: var(--bg-b);
transform: translate3d(-100%, 0, 0);
transition: transform 0.35s, visibility 0.35s;
&-wrap {
position: relative;
padding: 35px 15px 15px;
height: 100%;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
overscroll-behavior: contain;
&::-webkit-scrollbar {
display: none;
}
}
&.active {
visibility: visible;
transform: translate3d(0, 0, 0);
}
&-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 150px;
object-fit: cover;
z-index: -1;
}
&-author {
margin-bottom: 15px;
.avatar {
width: 50px;
height: 50px;
margin: 10px auto;
display: block;
border-radius: var(--radius-inner);
}
.info {
overflow: hidden;
line-height: 25px;
text-align: center;
display: block;
.level {
height: 23px;
margin-left: 2px;
}
.link,
.motto {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.link {
display: block;
font-size: 15px;
font-weight: 500;
color: var(--main);
}
.motto {
font-size: 12px;
color: var(--main);
}
}
}
&-menu {
background: var(--light-a);
padding: 10px 15px;
border-radius: var(--radius-wrap);
overflow: hidden;
box-shadow: var(--box-shadow);
&:not(:last-child) {
margin-bottom: 15px;
}
&.is-toc {
display: none;
}
.menu-list > li > a:not(.is-active) + .menu-list {
display: block;
}
.item {
display: flex;
align-items: center;
color: var(--main);
padding: 5px 0;
i {
color: var(--main);
margin-right: 5px;
}
strong {
font-weight: 500;
color: var(--theme);
}
}
.link {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 0;
color: var(--main);
transition: color 0.15s;
a {
transition: color 0.15s;
color: var(--main);
}
i {
color: var(--dark-b);
transition: transform 0.15s, fill 0.15s;
}
&.in {
color: var(--theme);
a {
color: var(--theme);
}
i {
color: var(--theme);
transform: rotate(90deg);
}
}
}
.current {
a {
color: var(--theme);
font-weight: 500;
font-size: 15px;
}
}
.slides {
display: none;
border-left: 1px solid var(--light-b);
padding-left: 15px;
.link {
color: var(--main);
}
.current {
color: var(--theme);
font-weight: 500;
font-size: 15px;
}
}
}
&.slideout-toc {
.not-toc {
display: none;
}
.is-toc {
display: block;
}
}
}
&-searchout {
position: fixed;
top: 3.5rem;
left: 0;
right: 0;
z-index: 5;
background: var(--background);
transform: translate3d(0, -100%, 0);
transition: transform 0.35s, visibility 0.35s;
visibility: hidden;
.search-container {
padding: 10px 15px !important;
flex-direction: row;
}
&.active {
visibility: visible;
transform: translate3d(0, 0, 0);
}
&-inner {
padding: 15px 0;
width: 100%;
.search {
width: 100%;
display: flex;
align-items: center;
input {
flex: 1;
height: 36px;
padding: 0 10px;
border: 1px solid var(--light-b);
border-right: none;
border-radius: 2px 0 0 2px;
color: var(--main);
background: var(--bg-a);
}
button {
padding: 0 16px;
height: 36px;
border: none;
background: var(--theme);
color: #fff;
border-radius: 0 2px 2px 0;
}
}
.tag-search {
color: var(--main);
padding: 14px 0 10px;
font-size: 14px;
display: flex;
align-items: center;
i {
margin-right: 5px;
}
}
.cloud {
display: flex;
flex-wrap: wrap;
margin: 0 -5px -5px;
max-height: 250px;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
overscroll-behavior: contain;
.item {
padding: 4px;
a {
display: block;
padding: 0 10px;
height: 24px;
line-height: 24px;
border-radius: 2px;
font-size: 12px;
color: #fff;
}
}
}
}
}
}
.swiper {
border: none !important;
&-initialized {
&:hover {
.swiper-button-next {
opacity: 1;
right: 10px;
}
.swiper-button-prev {
opacity: 1;
left: 10px;
}
}
}
}
.swiper-vertical > .swiper-wrapper {
flex-direction: column;
}
.swiper-wrapper {
position: relative;
width: 100%;
height: 100%;
display: flex;
transition-property: transform;
box-sizing: content-box;
}
.swiper-android .swiper-slide,
.swiper-wrapper {
transform: translate3d(0px, 0, 0);
}
.swiper-pointer-events {
touch-action: pan-y;
&.swiper-vertical {
touch-action: pan-x;
}
}
.swiper-slide {
flex-shrink: 0;
position: relative;
padding-bottom: 40%;
overflow: hidden;
transition: none !important;
&-details {
width: 100%;
position: absolute;
bottom: 15%;
padding: 0 50px;
color: #f5f5f5;
&-title {
text-align: center;
font-size: 1.5rem;
font-weight: 600;
text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
line-height: 1.5;
word-break: break-all;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.breadcrumb {
font-size: 1rem;
justify-content: center;
}
}
}
.swiper-slide-invisible-blank {
visibility: hidden;
}
/* Auto Height */
.swiper-autoheight,
.swiper-autoheight .swiper-slide {
height: auto;
}
.swiper-autoheight .swiper-wrapper {
align-items: flex-start;
transition-property: transform, height;
}
.swiper-css-mode > .swiper-wrapper {
overflow: auto;
scrollbar-width: none;
-ms-overflow-style: none;
&::-webkit-scrollbar {
display: none;
}
& > .swiper-slide {
scroll-snap-align: start start;
}
}
.swiper-horizontal.swiper-css-mode > .swiper-wrapper {
scroll-snap-type: x mandatory;
}
.swiper-vertical.swiper-css-mode > .swiper-wrapper {
scroll-snap-type: y mandatory;
}
.swiper-centered > .swiper-wrapper::before {
content: '';
flex-shrink: 0;
order: 9999;
}
.swiper-centered > .swiper-wrapper > .swiper-slide {
scroll-snap-align: center center;
}
.swiper-virtual.swiper-css-mode .swiper-wrapper::after {
content: '';
position: absolute;
left: 0;
top: 0;
pointer-events: none;
}
.swiper-button-prev,
.swiper-button-next {
position: absolute;
top: 50%;
width: 27px;
height: 44px;
margin-top: -22px;
cursor: pointer;
text-align: center;
color: #fff;
background: rgba(0, 0, 0, .1);
border-radius: 2px;
opacity: 0;
overflow: hidden;
transition: all 0.3s;
&:after {
font-family: remixicon;
font-size: 36px;
margin-left: -4px;
letter-spacing: 0;
text-transform: none;
font-variant: initial;
line-height: 44px;
}
&:hover {
background: rgba(0, 0, 0, .3);
}
&.swiper-button-disabled {
opacity: 0.35;
cursor: auto;
pointer-events: none;
}
}
.swiper-button-prev,
.swiper-rtl .swiper-button-next {
left: -15px;
right: auto;
&:after {
content: '\ea64';
}
}
.swiper-button-next,
.swiper-rtl .swiper-button-prev {
right: -15px;
left: auto;
&:after {
content: '\ea6e';
}
}
.swiper-button-lock {
display: none;
}
.swiper-pagination {
position: absolute;
text-align: center;
transition: 300ms opacity;
transform: translate3d(0, 0, 0);
&.swiper-pagination-hidden {
opacity: 0;
}
}
/* Common Styles */
.swiper-pagination-fraction,
.swiper-pagination-custom,
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
bottom: 10px;
left: 0;
width: 100%;
}
/* Bullets */
.swiper-pagination-bullets-dynamic {
overflow: hidden;
font-size: 0;
.swiper-pagination-bullet {
transform: scale(0.33);
position: relative;
}
.swiper-pagination-bullet-active {
transform: scale(1);
}
.swiper-pagination-bullet-active-main {
transform: scale(1);
}
.swiper-pagination-bullet-active-prev {
transform: scale(0.66);
}
.swiper-pagination-bullet-active-prev-prev {
transform: scale(0.33);
}
.swiper-pagination-bullet-active-next {
transform: scale(0.66);
}
.swiper-pagination-bullet-active-next-next {
transform: scale(0.33);
}
}
.swiper-pagination-bullet {
width: 15px;
height: 6px;
display: inline-block;
border-radius: 8px;
background: #f6f6f6;
opacity: 0.2;
transition: all 0.3s;
&:only-child {
display: none !important;
}
&-active {
width: 30px;
opacity: 1;
background: #fff;
}
}
button.swiper-pagination-bullet {
border: none;
margin: 0;
padding: 0;
box-shadow: none;
-webkit-appearance: none;
appearance: none;
}
.swiper-pagination-clickable .swiper-pagination-bullet {
cursor: pointer;
}
.swiper-vertical > .swiper-pagination-bullets,
.swiper-pagination-vertical.swiper-pagination-bullets {
right: 10px;
top: 50%;
transform: translate3d(0px, -50%, 0);
}
.swiper-vertical > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet {
margin: var(--swiper-pagination-bullet-vertical-gap, 6px) 0;
display: block;
}
.swiper-vertical > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
top: 50%;
transform: translateY(-50%);
width: 8px;
}
.swiper-vertical > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,
.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
display: inline-block;
transition: 200ms transform, 200ms top;
}
.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);
}
.swiper-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
left: 50%;
transform: translateX(-50%);
white-space: nowrap;
}
.swiper-horizontal > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
transition: 200ms transform, 200ms left;
}
.swiper-horizontal.swiper-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
transition: 200ms transform, 200ms right;
}
/* Progress */
.swiper-pagination-progressbar {
background: rgba(0, 0, 0, 0.25);
position: absolute;
.swiper-pagination-progressbar-fill {
background: var(--theme);
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
transform: scale(0);
transform-origin: left top;
}
}
.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
transform-origin: right top;
}
.swiper-horizontal > .swiper-pagination-progressbar,
.swiper-pagination-progressbar.swiper-pagination-horizontal,
.swiper-vertical > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,
.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite {
width: 100%;
height: 4px;
left: 0;
top: 0;
}
.swiper-vertical > .swiper-pagination-progressbar,
.swiper-pagination-progressbar.swiper-pagination-vertical,
.swiper-horizontal > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,
.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite {
width: 4px;
height: 100%;
left: 0;
top: 0;
}
.swiper-pagination-lock {
display: none;
}
/* Scrollbar */
.swiper-scrollbar {
border-radius: 10px;
position: relative;
-ms-touch-action: none;
background: rgba(0, 0, 0, 0.1);
}
.swiper-horizontal > .swiper-scrollbar {
position: absolute;
left: 1%;
bottom: 3px;
z-index: 50;
height: 5px;
width: 98%;
}
.swiper-vertical > .swiper-scrollbar {
position: absolute;
right: 3px;
top: 1%;
z-index: 50;
width: 5px;
height: 98%;
}
.swiper-scrollbar-drag {
height: 100%;
width: 100%;
position: relative;
background: rgba(0, 0, 0, 0.5);
border-radius: 10px;
left: 0;
top: 0;
}
.swiper-scrollbar-cursor-drag {
cursor: move;
}
.swiper-scrollbar-lock {
display: none;
}
.swiper-zoom-container {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
.swiper-zoom-container > img,
.swiper-zoom-container > svg,
.swiper-zoom-container > canvas {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
.swiper-slide-zoomed {
cursor: move;
}
.swiper-lazy-preloader {
width: 42px;
height: 42px;
position: absolute;
left: 50%;
top: 50%;
margin-left: -21px;
margin-top: -21px;
z-index: 10;
transform-origin: 50%;
animation: swiper-preloader-spin 1s infinite linear;
box-sizing: border-box;
border: 4px solid var(--theme);
border-radius: 50%;
border-top-color: transparent;
}
.swiper-lazy-preloader-white {
--swiper-preloader-color: #fff;
}
.swiper-lazy-preloader-black {
--swiper-preloader-color: #000;
}
@keyframes swiper-preloader-spin {
100% {
transform: rotate(360deg);
}
}
/* a11y */
.swiper .swiper-notification {
position: absolute;
left: 0;
top: 0;
pointer-events: none;
opacity: 0;
z-index: -1000;
}
.swiper-free-mode > .swiper-wrapper {
transition-timing-function: ease-out;
margin: 0 auto;
}
.swiper-grid > .swiper-wrapper {
flex-wrap: wrap;
}
.swiper-grid-column > .swiper-wrapper {
flex-wrap: wrap;
flex-direction: column;
}
.swiper-fade.swiper-free-mode .swiper-slide {
transition-timing-function: ease-out;
}
.swiper-fade .swiper-slide {
pointer-events: none;
transition-property: opacity;
}
.swiper-fade .swiper-slide .swiper-slide {
pointer-events: none;
}
.swiper-fade .swiper-slide-active,
.swiper-fade .swiper-slide-active .swiper-slide-active {
pointer-events: auto;
}
.swiper-cube {
overflow: visible;
}
.swiper-cube .swiper-slide {
pointer-events: none;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
z-index: 1;
visibility: hidden;
transform-origin: 0 0;
width: 100%;
height: 100%;
}
.swiper-cube .swiper-slide .swiper-slide {
pointer-events: none;
}
.swiper-cube.swiper-rtl .swiper-slide {
transform-origin: 100% 0;
}
.swiper-cube .swiper-slide-active,
.swiper-cube .swiper-slide-active .swiper-slide-active {
pointer-events: auto;
}
.swiper-cube .swiper-slide-active,
.swiper-cube .swiper-slide-next,
.swiper-cube .swiper-slide-prev,
.swiper-cube .swiper-slide-next + .swiper-slide {
pointer-events: auto;
visibility: visible;
}
.swiper-cube .swiper-slide-shadow-top,
.swiper-cube .swiper-slide-shadow-bottom,
.swiper-cube .swiper-slide-shadow-left,
.swiper-cube .swiper-slide-shadow-right {
z-index: 0;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.swiper-cube .swiper-cube-shadow {
position: absolute;
left: 0;
bottom: 0px;
width: 100%;
height: 100%;
opacity: 0.6;
z-index: 0;
}
.swiper-cube .swiper-cube-shadow:before {
content: '';
background: #000;
position: absolute;
left: 0;
top: 0;
bottom: 0;
right: 0;
filter: blur(50px);
}
.swiper-flip {
overflow: visible;
}
.swiper-flip .swiper-slide {
pointer-events: none;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
z-index: 1;
}
.swiper-flip .swiper-slide .swiper-slide {
pointer-events: none;
}
.swiper-flip .swiper-slide-active,
.swiper-flip .swiper-slide-active .swiper-slide-active {
pointer-events: auto;
}
.swiper-flip .swiper-slide-shadow-top,
.swiper-flip .swiper-slide-shadow-bottom,
.swiper-flip .swiper-slide-shadow-left,
.swiper-flip .swiper-slide-shadow-right {
z-index: 0;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.swiper-creative .swiper-slide {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
overflow: hidden;
transition-property: transform, opacity, height;
}
.swiper-cards {
overflow: visible;
}
.swiper-cards .swiper-slide {
transform-origin: center bottom;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
overflow: hidden;
}
.banner {
width: 100%;
height: 54vh;
position: relative;
margin-bottom: -4rem;
background-position: center;
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
&:before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAKUlEQVQImU3IMREAIAgAwJfNkQCEsH8cijjpMf6vnXlQaIiJFx+omEBfmqIEZLe2jzcAAAAASUVORK5CYII=);
}
.banner-info {
position: absolute;
color: #fff;
text-align: center;
margin: 0 18px;
&-title {
font-size: 2.4rem;
font-weight: bold;
line-height: 2;
letter-spacing: 0.6rem;
text-shadow: rgb(28 31 33) -3px 2px 6px;
}
&-desc {
font-size: 1.4rem;
line-height: 1.4;
max-width: 600px;
&:after {
content: '_';
margin-left: 0.3rem;
animation: flicker 1s steps(2, jump-none) infinite;
}
}
}
.banner-waves {
width: 100%;
height: 4rem;
position: absolute;
left: 0;
bottom: 0;
fill: var(--background);
.parallax > use {
animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
&:first-child {
animation-delay: -2s;
animation-duration: 7s;
opacity: 0.9;
}
&:nth-child(2) {
animation-delay: -3s;
animation-duration: 10s;
opacity: 0.8;
}
&:nth-child(3) {
animation-delay: -4s;
animation-duration: 13s;
opacity: 0.9;
}
&:nth-child(4) {
animation-delay: -5s;
animation-duration: 20s;
}
}
}
}
.item-dropdown {
position: relative;
&-link {
display: flex;
align-items: center;
&-icon {
transition: transform 0.35s;
margin-left: -10px;
}
}
&-menu {
position: absolute;
left: 50%;
visibility: hidden;
z-index: 5;
border-top: 3px solid var(--theme);
transform-origin: top;
background: var(--bg-d);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
border-radius: 0 0 var(--radius-inner) var(--radius-inner);
padding: 10px 0;
opacity: 0;
transform: translateX(-50%) perspective(600px) rotateX(-45deg);
transition: opacity 0.35s, visibility 0.35s, transform 0.35s;
&::before {
content: "";
position: absolute;
top: -10px;
left: 50%;
transform: translateX(-50%);
width: 0;
height: 0;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
border-bottom: 7px solid var(--theme);
}
}
&.active {
.item-dropdown-link-icon {
transform: rotate(-180deg);
}
.item-dropdown-menu {
visibility: visible;
opacity: 1;
transform: translateX(-50%) perspective(600px) rotateX(0);
}
}
}
.model {
display: flex;
gap: 1rem;
.card.widget {
flex-grow: 1;
min-height: 140px;
position: relative;
background-position: 50% 50% !important;
background-size: cover !important;
& + .card.widget {
margin-top: 0 !important;
}
&[style] {
border: 0;
}
&:hover {
.tag {
transform: translateX(10px);
}
}
.title {
width: 100%;
position: absolute;
bottom: 10px;
color: #f6f6f6;
font-size: 1.15rem;
font-weight: 600;
text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
padding: 0 5px;
word-break: break-all;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.tag {
position: absolute;
top: 10px;
left: 0;
color: #f6f6f6;
font-size: 1rem;
padding: 2px 12px;
background: var(--theme);
transform: translateX(-105%);
transition: transform 0.2s;
height: unset;
line-height: normal;
}
}
&-index {
display: flex;
max-width: 100%;
margin-bottom: 1rem;
.swiper {
width: 70%;
&-slide {
height: 100%;
}
}
&-side {
width: 30%;
flex-direction: column;
}
}
&-attach {
display: grid;
gap: 1rem;
margin-bottom: 1rem;
align-items: unset;
&-2 {
grid-template-columns: repeat(2, 1fr);
}
&-3 {
grid-template-columns: repeat(3, 1fr);
}
&-4 {
grid-template-columns: repeat(4, 1fr);
}
}
}
.section {
padding: 6rem 0.75rem 3rem 0.75rem;
.container > .tips {
margin-bottom: 1rem;
}
.card {
transition: background-color 0.5s ease, opacity 0.3s ease-out, transform 0.3s ease-out, backdrop-filter 0.3s ease-out;
color: var(--dark-c);
max-width: 100%;
position: relative;
word-wrap: break-word;
word-break: break-all;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05), 0 0 1px rgba(0, 0, 0, 0.1);
background-color: var(--background);
border-radius: var(--radius-wrap);
&:hover {
background-color: var(--background-hover);
.thumbnail-image, &.card-cover .cover-image, .small-image {
transform: scale(1.1);
filter: brightness(0.9);
}
}
& + .column-right-shadow {
margin-top: 1.4rem;
}
&[style="height: 0px;"] {
display: none;
}
&.card-transparent {
box-shadow: none !important;
background: 0 0 !important;
backdrop-filter: none !important;
border: none !important;
}
&-image {
border-radius: var(--radius-wrap) var(--radius-wrap) 0 0;
}
&-tab {
height: 52px;
border-bottom: 1px solid var(--light-b);
margin-bottom: 15px;
div {
position: absolute;
top: 15px;
left: -10px;
background: var(--theme);
color: #fff;
padding: 0 12px;
height: 30px;
line-height: 30px;
font-size: 1.1rem;
font-weight: 500;
border-radius: 2px 2px 2px 0;
box-shadow: 2px 5px 10px rgb(49 58 70 / 15%);
user-select: none;
&::before {
content: '';
position: absolute;
bottom: -10px;
left: -10px;
border-style: solid;
border-width: 10px;
border-color: var(--theme) transparent transparent;
transform: rotate(90deg);
}
}
}
&-title {
font-size: 15.4px;
text-transform: uppercase;
font-weight: 500;
border-bottom: 1px solid var(--light-b);
align-items: center;
heig