add links rss
This commit is contained in:
@@ -6935,3 +6935,74 @@ i.iconfont.icon-people{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* Mac-style code blocks */
|
||||
.entry-content pre {
|
||||
position: relative;
|
||||
margin: 1.8em 0;
|
||||
padding: 54px 22px 22px;
|
||||
border: 1px solid rgba(255, 255, 255, .08);
|
||||
border-radius: 8px;
|
||||
background: #1f2329;
|
||||
color: #d7dde8;
|
||||
box-shadow: 0 14px 34px rgba(15, 23, 42, .16);
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.entry-content pre:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 38px;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, .08);
|
||||
border-radius: 8px 8px 0 0;
|
||||
background: linear-gradient(#3a3f4b, #2b3039);
|
||||
}
|
||||
|
||||
.entry-content pre:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 14px;
|
||||
left: 16px;
|
||||
width: 11px;
|
||||
height: 11px;
|
||||
border-radius: 50%;
|
||||
background: #ff5f57;
|
||||
box-shadow: 19px 0 #ffbd2e, 38px 0 #28c840;
|
||||
}
|
||||
|
||||
.entry-content pre code {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
||||
font-size: 14px;
|
||||
line-height: 1.75;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
@media (max-width: 860px) {
|
||||
.entry-content pre {
|
||||
padding: 50px 16px 18px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.entry-content pre:before {
|
||||
height: 36px;
|
||||
border-radius: 6px 6px 0 0;
|
||||
}
|
||||
|
||||
.entry-content pre:after {
|
||||
top: 13px;
|
||||
left: 14px;
|
||||
}
|
||||
|
||||
.entry-content pre code {
|
||||
font-size: 13px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user