_sass/jekyll-zeta.scss in jekyll-zeta-0.7.5 vs _sass/jekyll-zeta.scss in jekyll-zeta-0.7.5.1
- old
+ new
@@ -69,11 +69,11 @@
div.highlighter-rouge code {
border-radius: 10px;
display: block;
overflow: auto;
- padding: 1rem;
+ padding: 2rem 1rem;
}
img {
width: 60%;
display: block;
@@ -174,20 +174,20 @@
nav{
/* 关键样式 */
- background-color: transparent;
- background-image: radial-gradient(transparent 1px, #ffffff 1px);
- background-size: 4px 4px;
- backdrop-filter: saturate(50%) blur(10px);
- /* 这个只是固定在页面上面 */
- position: sticky;
- top: 0px;
+// background-color: transparent;
+// background-image: radial-gradient(transparent 1px, #ffffff 1px);
+// background-size: 4px 4px;
+// backdrop-filter: saturate(50%) blur(10px);
+// /* 这个只是固定在页面上面 */
+// position: sticky;
+// top: 0px;
align-content: center;
- z-index: 1000;
+// z-index: ;
}
.navul {
padding: 0;
display: flex;
@@ -318,13 +318,16 @@
background-color: #1e131eff;
color: #e7e7b1;
box-shadow: 0px 0px 8px #000;
}
-pre>code::before {
+
+pre:has(>code)::before {
content: url('../image/dots.svg');
display: block;
- margin-top:-1rem;
+ position: absolute;
+ margin-left: 10px;
+ z-index: 1000;
}
img{
max-width: 80%;
\ No newline at end of file