Files
iblog2/public/css/posts_style_custom.css

50 lines
1.1 KiB
CSS

.post-copyright {
position: relative;
margin-bottom: 1rem;
padding: .5rem .8rem;
border: 1px solid #eee;
-webkit-transition: box-shadow .3s ease-in-out;
-moz-transition: box-shadow .3s ease-in-out;
-o-transition: box-shadow .3s ease-in-out;
-ms-transition: box-shadow .3s ease-in-out;
transition: box-shadow .3s ease-in-out;
}
.post-copyright::before {
position: absolute;
top: .5rem;
right: .5rem;
width: .8rem;
height: .8rem;
border-radius: .8rem;
background: #49b1f5;
content: "";
}
.hljs {
border: 0;
font-family: "Consulas", "Courier New", Courier, mono, serif;
font-size: 12px;
background: #eee !important;
display: block;
padding: 1px;
margin: 0;
width: 100%;
font-weight: 200;
color: #333;
white-space: pre-wrap
}
.hljs ul {
list-style: decimal;
padding: 0px;
}
.hljs ul li {
list-style: decimal;
border-left: 3px solid #6ce26c !important;
padding: 5px!important;
margin: 0 !important;
line-height: 14px;
word-break: break-all;
word-wrap: break-word;
}
.hljs ul li:nth-of-type(even) {
color: inherit;
}