Typecho Bear 主题演示站

Vetro 样式

· 默认分类 · 浏览量: · 评论数:

预览

预览

CSS

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
    --width: 720px;
    --font-main: 'Inter', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --font-scale: 1.1em;
    --background-color: #063559;
    --heading-color: #62ff88;
    --text-color: #62ff88;
    --link-color: #62ff88;
    --visited-color: #62ff88;
    --code-background-color: #0a2e49;
    --code-color: #ffffff;
    --blockquote-color: #62ff88;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--font-scale);
    margin: auto;
    padding: 20px;
    max-width: var(--width);
    text-align: left;
    background-color: var(--background-color);
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
    color: var(--text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
    color: var(--heading-color);
}

a {
    color: var(--link-color);
    cursor: pointer;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.25ch;
}

a:hover {
    text-decoration: underline;
    text-decoration-style: dashed;
}

nav a {
    margin-right: 8px;
}

header {
    padding-bottom: 0px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--text-color);
}

strong,
b {
    color: var(--heading-color);
}

button {
    margin: 0;
    cursor: pointer;
}

main {
    line-height: 1.6;
}

table {
    width: 100%;
}

hr {
    border: 0;
    border-top: 1px dashed;
}

img {
    max-width: 100%;
}

code {
    font-family: monospace;
    padding: 2px;
    background-color: var(--code-background-color);
    color: var(--code-color);
    border-radius: 3px;
}

blockquote {
    border-left: 1px solid var(--blockquote-color);
    color: var(--blockquote-color);
    padding-left: 20px;
    font-style: italic;
}

footer {
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid var(--text-color);
    margin-top: 40px;
}

.title:hover {
    text-decoration: none;
}


.title {
    text-decoration: none !important;
}

.title h1 {
    font-size: 2em;
}

.inline {
    width: auto !important;
}

.highlight,
.code {
    padding: 1px 15px;
    background-color: var(--code-background-color);
    color: var(--code-color);
    border-radius: 3px;
    margin-block-start: 1em;
    margin-block-end: 1em;
    overflow-x: auto;
}

/* blog post list */
ul.blog-posts {
    list-style-type: none;
    padding: unset;
}

ul.blog-posts li {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

ul.blog-posts li time {
    font-style: normal;
    font-size: 1em;
}

ul.blog-posts li a {
    font-size: 1.4em;
    font-weight: 700;
}

ul.blog-posts li a:visited {
    color: var(--visited-color);
}
------ THE END ------