banner
老孙

老孙博客

资深网民孙先生
mastodon
email

Customizing CSS for xlog

Modify font and background
Modify the links yourself

@import url("https://cdnjs.cloudflare.com/ajax/libs/lxgw-wenkai-screen-webfont/1.7.0/lxgwwenkaiscreenr.css");

.xlog-page-index,
.xlog-page-post {
  font-family: "LXGW WenKai Screen R", sans-serif;
}
.swiper-button {
    position: absolute;
    top: 50%;
    z-index: 1;
    height: 1.5rem;
    width: 1.5rem;
    --tw-translate-y: -50%;
    transform: translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
    justify-content: center;
    border-radius: 9999px;
    --tw-bg-opacity: 1;
    background-color: #00000030;
    opacity: .8;
}
    .header {
      height: 20vh; /* Set the height to 30% of the viewport height */
      background-image: url("https://vpic2024.xingluo.eu.org/uploads/picgo/202402282219442.webp"); /* Replace with your background image path */
      filter: blur(60px);
      background-size: cover; /* Background image scales proportionally to fill the container */
      background-position: center; /* Center the background image */
    }

.dark .xlog-banner {
    background-image: url(https://vpic2024.xingluo.eu.org/uploads/picgo/202402282219442.webp);
    filter: blur(123px);
}

.xlog-banner {
    background-image: url(https://vpic2024.xingluo.eu.org/uploads/picgo/202402260904562.jpeg);
    filter: blur(98px);
}
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.