new
This commit is contained in:
@@ -0,0 +1,125 @@
|
||||
div.timenode {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
div.timenode:before,
|
||||
div.timenode:after {
|
||||
content: '';
|
||||
z-index: 1;
|
||||
position: absolute;
|
||||
background: rgba(68, 215, 182, 0.5);
|
||||
width: 2px;
|
||||
left: 7px;
|
||||
}
|
||||
|
||||
div.timenode:before {
|
||||
top: 0px;
|
||||
height: 6px;
|
||||
}
|
||||
|
||||
div.timenode:after {
|
||||
top: 26px;
|
||||
height: calc(100% - 26px);
|
||||
}
|
||||
|
||||
div.timenode:last-child:after {
|
||||
height: calc(100% - 26px - 16px);
|
||||
border-bottom-left-radius: 2px;
|
||||
border-bottom-right-radius: 2px;
|
||||
}
|
||||
|
||||
div.timenode .meta,
|
||||
div.timenode .body {
|
||||
max-width: calc(100% - 24px);
|
||||
}
|
||||
|
||||
div.timenode .meta {
|
||||
position: relative;
|
||||
color: var(--color-meta);
|
||||
font-size: 0.875rem;
|
||||
line-height: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
div.timenode .meta:before,
|
||||
div.timenode .meta:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
div.timenode .meta:before {
|
||||
background: rgba(68, 215, 182, 0.5);
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
div.timenode .meta:after {
|
||||
background: #44d7b6;
|
||||
margin-left: 2px;
|
||||
margin-top: 2px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 6px;
|
||||
transform: scale(0.5);
|
||||
transition: all 0.28s ease;
|
||||
-moz-transition: all 0.28s ease;
|
||||
-webkit-transition: all 0.28s ease;
|
||||
-o-transition: all 0.28s ease;
|
||||
}
|
||||
|
||||
div.timenode .meta p {
|
||||
font-weight: bold;
|
||||
margin: 0 0 0 24px;
|
||||
}
|
||||
|
||||
div.timenode .body {
|
||||
margin: 4px 0 16px 24px;
|
||||
padding: 16px;
|
||||
border-radius: 8px;
|
||||
background: var(--color-block);
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
div.timenode .body:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.timenode .body > *:first-child {
|
||||
margin-top: 0.25em;
|
||||
}
|
||||
|
||||
div.timenode .body > *:last-child {
|
||||
margin-bottom: 0.25em;
|
||||
}
|
||||
|
||||
div.timenode .body .highlight {
|
||||
border: 1px solid #e4e4e4;
|
||||
}
|
||||
|
||||
div.timenode:hover .meta {
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
div.timenode:hover .meta:before {
|
||||
background: rgba(255, 87, 34, 0.5);
|
||||
}
|
||||
|
||||
div.timenode:hover .meta:after {
|
||||
background: #ff5722;
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
div.timenode .body {
|
||||
margin: 0 0 0 24px;
|
||||
padding: 16px;
|
||||
border-radius: 8px;
|
||||
background: #f6f6f6;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
div.timenode time {
|
||||
margin-left: 20px;
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
.gallery-wrapper{
|
||||
padding-top: 30px;
|
||||
}
|
||||
.gallery-wrapper .gallery-box{
|
||||
padding: 5px !important;
|
||||
}
|
||||
|
||||
.gallery-wrapper .gallery-item {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
background-color: #fff;
|
||||
padding: 5px;
|
||||
padding-bottom: 0;
|
||||
position: relative;
|
||||
-moz-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.22);
|
||||
-webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.22);
|
||||
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.22);
|
||||
}
|
||||
|
||||
.gallery-cover-box{
|
||||
width: 100%;
|
||||
padding-top: 60%;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
background: center center no-repeat;
|
||||
-webkit-background-size: cover;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.gallery-cover-box .gallery-cover-img {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%,-50%);
|
||||
}
|
||||
.gallery-item .gallery-name{
|
||||
font-size: 14px;
|
||||
line-height: 24px;
|
||||
text-align: center;
|
||||
color: #666;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.waterfall {
|
||||
column-count: 3;
|
||||
column-gap: 1em;
|
||||
}
|
||||
.photo-wrapper{
|
||||
padding-top: 20px;
|
||||
}
|
||||
.photo-item {
|
||||
display: block;
|
||||
padding: 10px;
|
||||
padding-bottom: 0;
|
||||
margin-bottom: 14px;
|
||||
font-size: 0;
|
||||
-moz-page-break-inside: avoid;
|
||||
-webkit-column-break-inside: avoid;
|
||||
break-inside: avoid;
|
||||
background: white;
|
||||
-moz-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.22);
|
||||
-webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.22);
|
||||
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.22);
|
||||
}
|
||||
.photo-item img {
|
||||
width: 100%;
|
||||
}
|
||||
.photo-item .photo-name{
|
||||
font-size: 14px;
|
||||
line-height: 30px;
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
border-top: 1px solid #dddddd;
|
||||
}
|
||||
|
||||
/*适配移动端布局*/
|
||||
@media only screen and (max-width: 601px) {
|
||||
.waterfall {
|
||||
column-count: 2;
|
||||
column-gap: 1em;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,321 @@
|
||||
#gitment-content {
|
||||
padding: 1px 20px;
|
||||
}
|
||||
|
||||
.gitment-card {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.gitment-container {
|
||||
color: #34495e !important;
|
||||
}
|
||||
|
||||
.gitment-container .gitment-header-like-btn {
|
||||
color: #ab47bc;
|
||||
}
|
||||
|
||||
.gitment-container .gitment-header-like-btn svg {
|
||||
fill: #ab47bc;
|
||||
}
|
||||
|
||||
.gitment-header-container span {
|
||||
color: #ab47bc;
|
||||
}
|
||||
|
||||
.gitment-container .gitment-header-issue-link {
|
||||
color: #ab47bc;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.gitment-container a.gitment-header-issue-link,
|
||||
a.gitment-header-issue-link:visited {
|
||||
color: #ab47bc;
|
||||
}
|
||||
|
||||
.gitment-container .gitment-comment-main {
|
||||
border: 1px solid #e1bee7;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.gitment-container .gitment-comment-main .gitment-comment-header {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.gitment-container .gitment-comment-main .gitment-comment-like-btn {
|
||||
color: #ab47bc;
|
||||
}
|
||||
|
||||
.gitment-container .gitment-comment-main .gitment-comment-like-btn svg {
|
||||
fill: #ab47bc;
|
||||
stroke: #ab47bc;
|
||||
stroke-width: 2px;
|
||||
}
|
||||
|
||||
.gitment-editor-container .gitment-editor-avatar .gitment-github-icon {
|
||||
background-color: #ab47bc;
|
||||
}
|
||||
|
||||
.gitment-editor-container .gitment-editor-main {
|
||||
border: 1px solid #e1bee7;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.gitment-editor-container .gitment-editor-header {
|
||||
border-bottom: 0;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.gitment-editor-main::after,
|
||||
.gitment-comment-main::after {
|
||||
border-right-color: #ab47bc !important;
|
||||
}
|
||||
|
||||
.gitment-editor-main .gitment-editor-tabs {
|
||||
margin-left: 0;
|
||||
padding-left: 10px;
|
||||
background: linear-gradient(60deg, #ab47bc, #7b1fa2);
|
||||
}
|
||||
|
||||
.gitment-editor-main .gitment-editor-tabs .gitment-editor-tab {
|
||||
color: #fff;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.gitment-editor-main .gitment-editor-tabs .gitment-selected {
|
||||
background-color: rgba(255, 255, 255, 0.2);
|
||||
transition: 0.3s background-color 0.2s;
|
||||
border: 0 !important;
|
||||
color: #fff !important;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.gitment-editor-main .gitment-editor-login {
|
||||
margin-top: -40px;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.gitment-editor-main .gitment-editor-login .gitment-editor-login-link {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.gitment-comments-init-btn:disabled,
|
||||
.gitment-editor-submit:disabled {
|
||||
background-color: #DFDFDF !important;
|
||||
color: #9F9F9F !important;
|
||||
border-radius: 0.2rem;
|
||||
box-shadow: 0 2px 2px 0 rgba(153, 153, 153, 0.14), 0 3px 1px -2px rgba(153, 153, 153, 0.2), 0 1px 5px 0 rgba(153, 153, 153, 0.12) !important;
|
||||
}
|
||||
|
||||
.gitment-editor-footer .gitment-editor-submit, .gitment-comments-init-btn {
|
||||
color: #fff;
|
||||
background-color: #9c27b0;
|
||||
border-color: #9c27b0;
|
||||
border-radius: 0.2rem;
|
||||
box-shadow: 0 2px 2px 0 rgba(156, 39, 176, 0.14), 0 3px 1px -2px rgba(156, 39, 176, 0.2), 0 1px 5px 0 rgba(156, 39, 176, 0.12);
|
||||
}
|
||||
|
||||
.gitment-footer-container {
|
||||
color: #34495e !important;
|
||||
}
|
||||
|
||||
.gitment-comments-pagination .gitment-comments-page-item {
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
margin: 4px 5px;
|
||||
padding: .25rem .5rem;
|
||||
background-color: #9c27b0;
|
||||
color: #fff;
|
||||
border: 0;
|
||||
border-radius: 2px !important;
|
||||
box-shadow: 0 4px 5px 0 rgba(156, 39, 176, 0.14), 0 1px 10px 0 rgba(156, 39, 176, 0.12), 0 2px 4px -1px rgba(156, 39, 176, 0.2);
|
||||
}
|
||||
|
||||
.gitment-footer-container a {
|
||||
padding: 0 2px;
|
||||
color: #ab47bc !important;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.gitment-comment-main .gitment-markdown p {
|
||||
color: #34495e;
|
||||
}
|
||||
|
||||
.gitment-markdown p {
|
||||
margin: 2px 2px 10px;
|
||||
font-size: 1.05rem;
|
||||
line-height: 1.78rem;
|
||||
}
|
||||
|
||||
.gitment-markdown blockquote p {
|
||||
text-indent: 0.2rem;
|
||||
}
|
||||
|
||||
.gitment-markdown a {
|
||||
padding: 0 2px;
|
||||
color: #42b983;
|
||||
font-weight: 500;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.gitment-markdown img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.gitment-markdown ol li {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
|
||||
.gitment-markdown ol,
|
||||
ul {
|
||||
display: block;
|
||||
padding-left: 2em;
|
||||
word-spacing: 0.05rem;
|
||||
}
|
||||
|
||||
.gitment-markdown ul li,
|
||||
ol li {
|
||||
display: list-item;
|
||||
line-height: 1.8rem;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.gitment-markdown ul li {
|
||||
list-style-type: disc;
|
||||
}
|
||||
|
||||
.gitment-markdown ul ul li {
|
||||
list-style-type: circle;
|
||||
}
|
||||
|
||||
.gitment-markdown table, th, td {
|
||||
padding: 12px 13px;
|
||||
border: 1px solid #dfe2e5;
|
||||
}
|
||||
|
||||
.gitment-markdown table, th, td {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
table tr:nth-child(2n), thead {
|
||||
background-color: #fafafa;
|
||||
}
|
||||
|
||||
.gitment-markdown table th {
|
||||
background-color: #f2f2f2;
|
||||
min-width: 80px;
|
||||
}
|
||||
|
||||
.gitment-markdown table td {
|
||||
min-width: 80px;
|
||||
}
|
||||
|
||||
.gitment-markdown h1 {
|
||||
font-size: 1.85rem;
|
||||
font-weight: bold;
|
||||
line-height: 2.2rem;
|
||||
}
|
||||
|
||||
.gitment-markdown h2 {
|
||||
font-size: 1.65rem;
|
||||
font-weight: bold;
|
||||
line-height: 1.9rem;
|
||||
}
|
||||
|
||||
.gitment-markdown h3 {
|
||||
font-size: 1.45rem;
|
||||
font-weight: bold;
|
||||
line-height: 1.7rem;
|
||||
}
|
||||
|
||||
.gitment-markdown h4 {
|
||||
font-size: 1.25rem;
|
||||
font-weight: bold;
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
|
||||
.gitment-markdown h5 {
|
||||
font-size: 1.1rem;
|
||||
font-weight: bold;
|
||||
line-height: 1.4rem;
|
||||
}
|
||||
|
||||
.gitment-markdown h6 {
|
||||
font-size: 1rem;
|
||||
line-height: 1.3rem;
|
||||
}
|
||||
|
||||
.gitment-markdown p {
|
||||
font-size: 1rem;
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
|
||||
.gitment-markdown hr {
|
||||
margin: 12px 0;
|
||||
border: 0;
|
||||
border-top: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.gitment-markdown blockquote {
|
||||
margin: 15px 0;
|
||||
border-left: 5px solid #42b983;
|
||||
padding: 1rem 0.8rem 1rem 0.8rem;
|
||||
color: #666;
|
||||
background-color: rgba(66, 185, 131, .1);
|
||||
}
|
||||
|
||||
.gitment-markdown pre {
|
||||
padding: 1.2em;
|
||||
margin: .5em 0;
|
||||
background: #272822;
|
||||
overflow: auto;
|
||||
border-radius: 0.3em;
|
||||
tab-size: 4;
|
||||
}
|
||||
|
||||
.gitment-markdown code {
|
||||
padding: 1px 1px;
|
||||
font-size: 0.92rem;
|
||||
color: #e96900;
|
||||
background-color: #f8f8f8;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.gitment-markdown pre code {
|
||||
padding: 0;
|
||||
color: #e8eaf6;
|
||||
background-color: #272822;
|
||||
}
|
||||
|
||||
.gitment-markdown pre[class*="language-"] {
|
||||
padding: 1.2em;
|
||||
margin: .5em 0;
|
||||
}
|
||||
|
||||
.gitment-markdown code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
color: #e8eaf6;
|
||||
}
|
||||
|
||||
.gitment-markdown b,
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.gitment-markdown dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.gitment-markdown small {
|
||||
font-size: 85%;
|
||||
}
|
||||
|
||||
.gitment-markdown cite {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.gitment-markdown mark {
|
||||
background-color: #fcf8e3;
|
||||
padding: .2em;
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,249 @@
|
||||
.gitalk-card {
|
||||
margin: 1.25rem auto;
|
||||
}
|
||||
|
||||
.gitalk-card .card-content {
|
||||
padding: 1px 20px 20px 20px;
|
||||
}
|
||||
|
||||
#gitalk-container .gt-no-init a {
|
||||
color: #42b983;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#gitalk-container .gt-container .gt-btn,
|
||||
#gitalk-container .gt-btn-login,
|
||||
#gitalk-container .gt-container .gt-header-controls .gt-btn {
|
||||
border: 1px solid #4caf50;
|
||||
background-color: #4caf50;
|
||||
box-shadow: 0 2px 2px 0 rgba(76, 175, 80, 0.14), 0 3px 1px -2px rgba(76, 175, 80, 0.2), 0 1px 5px 0 rgba(76, 175, 80, 0.12);
|
||||
}
|
||||
|
||||
#gitalk-container .gt-container .gt-link {
|
||||
color: #42b983;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#gitalk-container .gt-container .gt-btn-preview {
|
||||
color: #4caf50;
|
||||
background-color: #fff !important;
|
||||
box-shadow: 0 2px 2px 0 rgba(76, 175, 80, 0.14), 0 3px 1px -2px rgba(76, 175, 80, 0.2), 0 1px 5px 0 rgba(76, 175, 80, 0.12);
|
||||
}
|
||||
|
||||
#gitalk-container .gt-container .gt-header-textarea {
|
||||
background-color: #f6f9fc;
|
||||
border: 1px solid rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
#gitalk-container .gt-container .gt-svg svg {
|
||||
fill: #42b983;
|
||||
}
|
||||
|
||||
#gitalk-container .gt-container .gt-header-controls-tip,
|
||||
#gitalk-container .gt-container a,
|
||||
#gitalk-container .gt-container .gt-comment-username {
|
||||
color: #42b983;
|
||||
}
|
||||
|
||||
#gitalk-container .gt-container .gt-ico-text {
|
||||
margin-left: 0.08rem;
|
||||
}
|
||||
|
||||
#gitalk-container .gt-container .gt-comment-body {
|
||||
color: #34495e !important;
|
||||
}
|
||||
|
||||
#gitalk-container .gt-container .gt-header-preview {
|
||||
border: 1px solid rgba(0, 0, 0, 0.02);
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
.markdown-body p {
|
||||
margin: 2px 2px 10px;
|
||||
font-size: 1.05rem;
|
||||
line-height: 1.78rem;
|
||||
}
|
||||
|
||||
.markdown-body blockquote p {
|
||||
text-indent: 0.2rem;
|
||||
}
|
||||
|
||||
.markdown-body a {
|
||||
padding: 0 2px;
|
||||
color: #42b983;
|
||||
font-weight: 500;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.markdown-body img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.markdown-body ol li {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
|
||||
.markdown-body ol,
|
||||
ul {
|
||||
display: block;
|
||||
padding-left: 2em;
|
||||
word-spacing: 0.05rem;
|
||||
}
|
||||
|
||||
.markdown-body ul li,
|
||||
ol li {
|
||||
display: list-item;
|
||||
line-height: 1.8rem;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.markdown-body ul li {
|
||||
list-style-type: disc;
|
||||
}
|
||||
|
||||
.markdown-body ul ul li {
|
||||
list-style-type: circle;
|
||||
}
|
||||
|
||||
.markdown-body table, th, td {
|
||||
padding: 12px 13px;
|
||||
border: 1px solid #dfe2e5;
|
||||
}
|
||||
|
||||
.markdown-body table, th, td {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
table tr:nth-child(2n), thead {
|
||||
background-color: #fafafa;
|
||||
}
|
||||
|
||||
.markdown-body table th {
|
||||
background-color: #f2f2f2;
|
||||
min-width: 80px;
|
||||
}
|
||||
|
||||
.markdown-body table td {
|
||||
min-width: 80px;
|
||||
}
|
||||
|
||||
.markdown-body h1 {
|
||||
font-size: 1.85rem;
|
||||
font-weight: bold;
|
||||
line-height: 2.2rem;
|
||||
}
|
||||
|
||||
.markdown-body h2 {
|
||||
font-size: 1.65rem;
|
||||
font-weight: bold;
|
||||
line-height: 1.9rem;
|
||||
}
|
||||
|
||||
.markdown-body h3 {
|
||||
font-size: 1.45rem;
|
||||
font-weight: bold;
|
||||
line-height: 1.7rem;
|
||||
}
|
||||
|
||||
.markdown-body h4 {
|
||||
font-size: 1.25rem;
|
||||
font-weight: bold;
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
|
||||
.markdown-body h5 {
|
||||
font-size: 1.1rem;
|
||||
font-weight: bold;
|
||||
line-height: 1.4rem;
|
||||
}
|
||||
|
||||
.markdown-body h6 {
|
||||
font-size: 1rem;
|
||||
line-height: 1.3rem;
|
||||
}
|
||||
|
||||
.markdown-body p {
|
||||
font-size: 1rem;
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
|
||||
.markdown-body hr {
|
||||
margin: 12px 0;
|
||||
border: 0;
|
||||
border-top: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.markdown-body blockquote {
|
||||
margin: 15px 0;
|
||||
border-left: 5px solid #42b983;
|
||||
padding: 1rem 0.8rem 1rem 0.8rem;
|
||||
color: #666;
|
||||
background-color: rgba(66, 185, 131, .1);
|
||||
}
|
||||
|
||||
.markdown-body pre {
|
||||
padding: 1.2em;
|
||||
margin: .5em 0;
|
||||
background: #272822;
|
||||
overflow: auto;
|
||||
border-radius: 0.3em;
|
||||
tab-size: 4;
|
||||
}
|
||||
|
||||
.markdown-body code {
|
||||
padding: 1px 1px;
|
||||
font-size: 0.92rem;
|
||||
color: #e96900;
|
||||
background-color: #f8f8f8;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.markdown-body pre code {
|
||||
padding: 0;
|
||||
color: #e8eaf6;
|
||||
background-color: #272822;
|
||||
}
|
||||
|
||||
.markdown-body pre[class*="language-"] {
|
||||
padding: 1.2em;
|
||||
margin: .5em 0;
|
||||
}
|
||||
|
||||
.markdown-body code[class*="language-"],
|
||||
pre[class*="language-"] {
|
||||
color: #e8eaf6;
|
||||
}
|
||||
|
||||
.markdown-body [type="checkbox"]:not(:checked), [type="checkbox"]:checked {
|
||||
position: inherit;
|
||||
margin-left: -1.3rem;
|
||||
margin-right: 0.4rem;
|
||||
margin-top: -1px;
|
||||
vertical-align: middle;
|
||||
left: unset;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.markdown-body b,
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.markdown-body dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.markdown-body small {
|
||||
font-size: 85%;
|
||||
}
|
||||
|
||||
.markdown-body cite {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.markdown-body mark {
|
||||
background-color: #fcf8e3;
|
||||
padding: .2em;
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
/* Here is your custom css styles. */
|
||||
|
||||
body{
|
||||
font-family: 'Mulish', -apple-system, 'Noto Serif SC', "PingFang SC", "Microsoft Yahei UI", "Microsoft Yahei", sans-serif;
|
||||
}
|
||||
|
||||
/* 增加每日一言模块 */
|
||||
.poem-wrap {
|
||||
position: relative;
|
||||
width: 730px;
|
||||
max-width: 80%;
|
||||
border: 2px solid #797979;
|
||||
border-top: 0;
|
||||
text-align: center;
|
||||
margin: 80px auto;
|
||||
}
|
||||
.poem-left {
|
||||
left: 0;
|
||||
}
|
||||
.poem-border {
|
||||
position: absolute;
|
||||
height: 2px;
|
||||
width: 27%;
|
||||
background-color: #797979;
|
||||
}
|
||||
.poem-right {
|
||||
right: 0;
|
||||
}
|
||||
.poem-wrap h1 {
|
||||
position: relative;
|
||||
margin-top: -20px;
|
||||
display: inline-block;
|
||||
letter-spacing: 4px;
|
||||
color: #797979;
|
||||
}
|
||||
.poem-wrap p:nth-of-type(1) {
|
||||
font-size: 25px;
|
||||
text-align: center;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.poem-wrap p {
|
||||
width: 70%;
|
||||
margin: auto;
|
||||
line-height: 30px;
|
||||
color: #797979;
|
||||
font-family: "Linux Biolinum", "Noto Serif SC", Helvetica, Arial, Menlo, Monaco, monospace, sans-serif;
|
||||
}
|
||||
.poem-wrap p:nth-of-type(2) {
|
||||
font-size: 18px;
|
||||
margin: 15px auto;
|
||||
}
|
||||
.bozhushuo {
|
||||
text-align: center;
|
||||
font-size: 19px!important;
|
||||
margin: 0 0 12px!important;
|
||||
line-height: 1.9rem;
|
||||
font-family: "Linux Biolinum", "Noto Serif SC", Helvetica, Arial, Menlo, Monaco, monospace, sans-serif;
|
||||
}
|
||||
.notice {
|
||||
margin: 30px auto;
|
||||
padding: 20px;
|
||||
border: 1px dashed #e6e6e6;
|
||||
color: #969696;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 95%;
|
||||
background: #fbfbfb50;
|
||||
border-radius: 10px;
|
||||
font-size: 16px;
|
||||
}
|
||||
.notice-content {
|
||||
display: initial;
|
||||
vertical-align: middle;
|
||||
}
|
||||
@@ -0,0 +1,191 @@
|
||||
@charset "utf-8";
|
||||
*{
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
body{
|
||||
max-width: 100%;
|
||||
min-width: 100%;
|
||||
height: 100%;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
background-size:100% 100%;
|
||||
position: absolute;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
li{
|
||||
list-style: none;
|
||||
}
|
||||
.box{
|
||||
width:200px;
|
||||
height:200px;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
background-size:100% 100%;
|
||||
position: absolute;
|
||||
margin-left: 42%;
|
||||
margin-top: 22%;
|
||||
-webkit-transform-style:preserve-3d;
|
||||
-webkit-transform:rotateX(13deg);
|
||||
-webkit-animation:move 5s linear infinite;
|
||||
}
|
||||
.minbox{
|
||||
width:100px;
|
||||
height:100px;
|
||||
position: absolute;
|
||||
left:50px;
|
||||
top:30px;
|
||||
-webkit-transform-style:preserve-3d;
|
||||
}
|
||||
.minbox li{
|
||||
width:100px;
|
||||
height:100px;
|
||||
position: absolute;
|
||||
left:0;
|
||||
top:0;
|
||||
}
|
||||
.minbox li:nth-child(1){
|
||||
background: url(../img/01.png) no-repeat 0 0;
|
||||
-webkit-transform:translateZ(50px);
|
||||
}
|
||||
.minbox li:nth-child(2){
|
||||
background: url(../img/02.png) no-repeat 0 0;
|
||||
-webkit-transform:rotateX(180deg) translateZ(50px);
|
||||
}
|
||||
.minbox li:nth-child(3){
|
||||
background: url(../img/03.png) no-repeat 0 0;
|
||||
-webkit-transform:rotateX(-90deg) translateZ(50px);
|
||||
}
|
||||
.minbox li:nth-child(4){
|
||||
background: url(../img/04.png) no-repeat 0 0;
|
||||
-webkit-transform:rotateX(90deg) translateZ(50px);
|
||||
}
|
||||
.minbox li:nth-child(5){
|
||||
background: url(../img/05.png) no-repeat 0 0;
|
||||
-webkit-transform:rotateY(-90deg) translateZ(50px);
|
||||
}
|
||||
.minbox li:nth-child(6){
|
||||
background: url(../img/06.png) no-repeat 0 0;
|
||||
-webkit-transform:rotateY(90deg) translateZ(50px);
|
||||
}
|
||||
.maxbox li:nth-child(1){
|
||||
background: url(../img/1.png) no-repeat 0 0;
|
||||
-webkit-transform:translateZ(50px);
|
||||
}
|
||||
.maxbox li:nth-child(2){
|
||||
background: url(../img/2.png) no-repeat 0 0;
|
||||
-webkit-transform:translateZ(50px);
|
||||
}
|
||||
.maxbox li:nth-child(3){
|
||||
background: url(../img/3.png) no-repeat 0 0;
|
||||
-webkit-transform:rotateX(-90deg) translateZ(50px);
|
||||
}
|
||||
.maxbox li:nth-child(4){
|
||||
background: url(../img/4.png) no-repeat 0 0;
|
||||
-webkit-transform:rotateX(90deg) translateZ(50px);
|
||||
}
|
||||
.maxbox li:nth-child(5){
|
||||
background: url(../img/5.png) no-repeat 0 0;
|
||||
-webkit-transform:rotateY(-90deg) translateZ(50px);
|
||||
}
|
||||
.maxbox li:nth-child(6){
|
||||
background: url(../img/6.png) no-repeat 0 0;
|
||||
-webkit-transform:rotateY(90deg) translateZ(50px);
|
||||
}
|
||||
.maxbox{
|
||||
width: 800px;
|
||||
height: 400px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: -20px;
|
||||
-webkit-transform-style: preserve-3d;
|
||||
|
||||
}
|
||||
.maxbox li{
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
background: #fff;
|
||||
border:1px solid #ccc;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
opacity: 0.2;
|
||||
-webkit-transition:all 1s ease;
|
||||
}
|
||||
.maxbox li:nth-child(1){
|
||||
-webkit-transform:translateZ(100px);
|
||||
}
|
||||
.maxbox li:nth-child(2){
|
||||
-webkit-transform:rotateX(180deg) translateZ(100px);
|
||||
}
|
||||
.maxbox li:nth-child(3){
|
||||
-webkit-transform:rotateX(-90deg) translateZ(100px);
|
||||
}
|
||||
.maxbox li:nth-child(4){
|
||||
-webkit-transform:rotateX(90deg) translateZ(100px);
|
||||
}
|
||||
.maxbox li:nth-child(5){
|
||||
-webkit-transform:rotateY(-90deg) translateZ(100px);
|
||||
}
|
||||
.maxbox li:nth-child(6){
|
||||
-webkit-transform:rotateY(90deg) translateZ(100px);
|
||||
}
|
||||
.box:hover ol li:nth-child(1){
|
||||
-webkit-transform:translateZ(300px);
|
||||
width: 400px;
|
||||
height: 400px;
|
||||
opacity: 0.8;
|
||||
left: -100px;
|
||||
top: -100px;
|
||||
}
|
||||
.box:hover ol li:nth-child(2){
|
||||
-webkit-transform:rotateX(180deg) translateZ(300px);
|
||||
width: 400px;
|
||||
height: 400px;
|
||||
opacity: 0.8;
|
||||
left: -100px;
|
||||
top: -100px;
|
||||
}
|
||||
.box:hover ol li:nth-child(3){
|
||||
-webkit-transform:rotateX(-90deg) translateZ(300px);
|
||||
width: 400px;
|
||||
height: 400px;
|
||||
opacity: 0.8;
|
||||
left: -100px;
|
||||
top: -100px;
|
||||
}
|
||||
.box:hover ol li:nth-child(4){
|
||||
-webkit-transform:rotateX(90deg) translateZ(300px);
|
||||
width: 400px;
|
||||
height: 400px;
|
||||
opacity: 0.8;
|
||||
left: -100px;
|
||||
top: -100px;
|
||||
}
|
||||
.box:hover ol li:nth-child(5){
|
||||
-webkit-transform:rotateY(-90deg) translateZ(300px);
|
||||
width: 400px;
|
||||
height: 400px;
|
||||
opacity: 0.8;
|
||||
left: -100px;
|
||||
top: -100px;
|
||||
}
|
||||
.box:hover ol li:nth-child(6){
|
||||
-webkit-transform:rotateY(90deg) translateZ(300px);
|
||||
width: 400px;
|
||||
height: 400px;
|
||||
opacity: 0.8;
|
||||
left: -100px;
|
||||
top: -100px;
|
||||
}
|
||||
@keyframes move{
|
||||
0%{
|
||||
-webkit-transform: rotateX(13deg) rotateY(0deg);
|
||||
}
|
||||
100%{
|
||||
-webkit-transform:rotateX(13deg) rotateY(360deg);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user