File size: 7,399 Bytes
ff72aa4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 |
/* code highlight: https://python-markdown.github.io/extensions/code_hilite/ */
.codehilite .hll { background-color: #ffffcc }
.codehilite { background: #f8f8f8; }
.codehilite .c { color: #408080; font-style: italic } /* Comment */
.codehilite .err { border: 1px solid #FF0000 } /* Error */
.codehilite .k { color: #008000; font-weight: bold } /* Keyword */
.codehilite .o { color: #666666 } /* Operator */
.codehilite .ch { color: #408080; font-style: italic } /* Comment.Hashbang */
.codehilite .cm { color: #408080; font-style: italic } /* Comment.Multiline */
.codehilite .cp { color: #BC7A00 } /* Comment.Preproc */
.codehilite .cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */
.codehilite .c1 { color: #408080; font-style: italic } /* Comment.Single */
.codehilite .cs { color: #408080; font-style: italic } /* Comment.Special */
.codehilite .gd { color: #A00000 } /* Generic.Deleted */
.codehilite .ge { font-style: italic } /* Generic.Emph */
.codehilite .gr { color: #FF0000 } /* Generic.Error */
.codehilite .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.codehilite .gi { color: #00A000 } /* Generic.Inserted */
.codehilite .go { color: #888888 } /* Generic.Output */
.codehilite .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
.codehilite .gs { font-weight: bold } /* Generic.Strong */
.codehilite .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.codehilite .gt { color: #0044DD } /* Generic.Traceback */
.codehilite .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
.codehilite .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
.codehilite .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
.codehilite .kp { color: #008000 } /* Keyword.Pseudo */
.codehilite .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
.codehilite .kt { color: #B00040 } /* Keyword.Type */
.codehilite .m { color: #666666 } /* Literal.Number */
.codehilite .s { color: #BA2121 } /* Literal.String */
.codehilite .na { color: #7D9029 } /* Name.Attribute */
.codehilite .nb { color: #008000 } /* Name.Builtin */
.codehilite .nc { color: #0000FF; font-weight: bold } /* Name.Class */
.codehilite .no { color: #880000 } /* Name.Constant */
.codehilite .nd { color: #AA22FF } /* Name.Decorator */
.codehilite .ni { color: #999999; font-weight: bold } /* Name.Entity */
.codehilite .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
.codehilite .nf { color: #0000FF } /* Name.Function */
.codehilite .nl { color: #A0A000 } /* Name.Label */
.codehilite .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
.codehilite .nt { color: #008000; font-weight: bold } /* Name.Tag */
.codehilite .nv { color: #19177C } /* Name.Variable */
.codehilite .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
.codehilite .w { color: #bbbbbb } /* Text.Whitespace */
.codehilite .mb { color: #666666 } /* Literal.Number.Bin */
.codehilite .mf { color: #666666 } /* Literal.Number.Float */
.codehilite .mh { color: #666666 } /* Literal.Number.Hex */
.codehilite .mi { color: #666666 } /* Literal.Number.Integer */
.codehilite .mo { color: #666666 } /* Literal.Number.Oct */
.codehilite .sa { color: #BA2121 } /* Literal.String.Affix */
.codehilite .sb { color: #BA2121 } /* Literal.String.Backtick */
.codehilite .sc { color: #BA2121 } /* Literal.String.Char */
.codehilite .dl { color: #BA2121 } /* Literal.String.Delimiter */
.codehilite .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
.codehilite .s2 { color: #BA2121 } /* Literal.String.Double */
.codehilite .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
.codehilite .sh { color: #BA2121 } /* Literal.String.Heredoc */
.codehilite .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
.codehilite .sx { color: #008000 } /* Literal.String.Other */
.codehilite .sr { color: #BB6688 } /* Literal.String.Regex */
.codehilite .s1 { color: #BA2121 } /* Literal.String.Single */
.codehilite .ss { color: #19177C } /* Literal.String.Symbol */
.codehilite .bp { color: #008000 } /* Name.Builtin.Pseudo */
.codehilite .fm { color: #0000FF } /* Name.Function.Magic */
.codehilite .vc { color: #19177C } /* Name.Variable.Class */
.codehilite .vg { color: #19177C } /* Name.Variable.Global */
.codehilite .vi { color: #19177C } /* Name.Variable.Instance */
.codehilite .vm { color: #19177C } /* Name.Variable.Magic */
.codehilite .il { color: #666666 } /* Literal.Number.Integer.Long */
.project_cover {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 650px;
border: 1px solid rgba(229, 231, 235, 0.6); /* 在边框中添加一点透明度 */
border-radius: 16px; /* 增加边框圆角 */
padding: 40px; /* 增加内部间距 */
background-color: #ffffff; /* 添加背景颜色 */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 添加轻微的阴影效果 */
}
.project_img {
overflow: hidden;
position: center;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: auto;
/* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15), 0 6px 20px rgba(0, 0, 0, 0.5); */
}
.project_img img {
width: 80%;
height: 80%;
}
.show_image {
justify-content: center;
align-items: center;
}
.show_image img {
width: 50%;
height: 50%;
}
.project_label {
font-size: 18px; /* 标题字体大小 */
color: #333; /* 字体颜色,这里使用深灰色 */
font-weight: bold; /* 字体加粗 */
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* 文字阴影 */
transition: all 0.3s ease; /* 平滑过渡动画 */
padding: 10px; /* 内填充 */
margin-bottom: 20px; /* 底部外边距 */
border-bottom: 2px solid #ddd; /* 底部边框样式 */
}
.project_name {
font-size: 30px; /* 调整字体大小 */
color: #333333; /* 字体颜色更深,增加对比度 */
margin-top: 20px; /* 调整名称顶部的间距 */
/* font-weight: bold; 字体加粗 */
/* text-transform: uppercase; 文字大写 */
align-items: center;
justify-content: center;
text-align: center; /* 文字居中 */
letter-spacing: 1.5px; /* 增加字母间距 */
transition: all 0.3s ease; /* 平滑过渡动画 */
}
.project_desc {
color: #444444; /* 字体颜色更深 */
font-size: 18px; /* 增加字体大小 */
margin: 20px 0; /* 增加上下间距 */
text-align: center; /* 文字居中 */
line-height: 1.5; /* 增加行高,提升可读性 */
transition: all 0.3s ease; /* 平滑过渡动画 */
}
.markdown-body .message {
white-space: pre-wrap;
}
.markdown-body details {
white-space: nowrap;
}
.markdown-body .bot details:not(:last-child) {
margin-bottom: 1px;
}
.markdown-body summary {
background-color: #4b5563;
color: #eee;
padding: 0 4px;
border-radius: 4px;
font-size: 0.9em;
}
.project_intro {
display: grid;
place-items: center; /* 完美居中 */
height: 100px; /* 高度 */
width:
font-size: 15px; /* 正文字体大小 */
/* text-align: center; 文字居中 */
color: #555; /* 正文字体颜色,这里使用较浅的灰色 */
border-radius: 8px; /* 边框圆角 */
transition: transform 0.3s ease; /* 平滑过渡动画 */
}
/* 鼠标悬停时的动画效果 */
.project_desc:hover,
.project_name:hover,
.project_label:hover,
.project_intro:hover {
transform: translateY(-5px); /* 向上移动 */
} |