solo-skins/Medium/css/base.css
2018-09-25 12:46:29 +08:00

1443 lines
24 KiB
CSS

/**
* Solo - A small and beautiful blogging system written in Java.
* Copyright (c) 2010-2018, b3log.org & hacpai.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
/*
* skin style
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 0.1.0.0, Jan 29, 2018
*/
/* start common */
html {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
height: 100%
}
body {
margin: 0;
font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
-webkit-font-smoothing: antialiased
}
::-moz-selection {
text-shadow: none;
background: rgba(65, 131, 196, 0.4)
}
::selection {
text-shadow: none;
background: rgba(66, 133, 244, 0.4)
}
ul,
ol {
margin: 0;
padding: 0
}
h1,
h2,
h3,
h4,
h5,
h6,
dl,
dd,
p {
margin: 0
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
display: block
}
audio,
canvas,
video {
display: inline-block
}
audio:not([controls]) {
display: none
}
a {
outline: 0;
text-decoration: none;
color: #4285f4
}
a:hover {
text-decoration: underline
}
sub,
sup {
position: relative;
font-size: 75%;
line-height: 0;
vertical-align: baseline
}
sup {
top: -0.5em
}
sub {
bottom: -0.25em
}
img {
max-width: 100%;
vertical-align: middle;
border: 0;
height: auto;
-ms-interpolation-mode: bicubic
}
button,
input,
select,
textarea {
margin: 0;
font-size: 100%;
vertical-align: middle;
font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
outline: none
}
button,
input {
line-height: normal
}
button::-moz-focus-inner,
input::-moz-focus-inner {
padding: 0;
border: 0
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
cursor: pointer;
-webkit-appearance: button
}
input[type="search"] {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
-webkit-appearance: textfield
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
-webkit-appearance: none
}
textarea {
overflow: auto;
resize: vertical
}
svg {
fill: currentColor;
display: inline-block;
stroke-width: 0;
stroke: currentColor;
width: 14px;
height: 14px
}
blockquote {
margin: 0
}
.content-reset {
font-family: "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
word-wrap: break-word;
overflow: auto;
line-height: 1.5;
font-size: 16px;
word-break: break-all
}
.content-reset ul,
.content-reset ol {
padding-left: 2em;
margin-top: 0;
margin-bottom: 16px
}
.content-reset li {
margin-top: 0.25em
}
.content-reset h1,
.content-reset h2,
.content-reset h3,
.content-reset h4,
.content-reset h5,
.content-reset h6 {
margin-top: 24px;
margin-bottom: 16px;
font-weight: 600;
line-height: 1.25
}
.content-reset h1 {
padding-bottom: 0.3em;
font-size: 2em;
border-bottom: 1px solid #eee
}
.content-reset h2 {
padding-bottom: 0.3em;
font-size: 1.5em;
border-bottom: 1px solid #eee
}
.content-reset h3 {
font-size: 1.25em
}
.content-reset h4 {
font-size: 1em
}
.content-reset h5 {
font-size: 0.875em
}
.content-reset h6 {
font-size: 0.85em
}
.content-reset hr {
height: 0.25em;
padding: 0;
margin: 24px 0;
background-color: #e7e7e7;
border: 0
}
.content-reset p {
margin-top: 0;
margin-bottom: 16px
}
.content-reset blockquote {
padding: 0 1em;
color: #777;
border-left: 0.25em solid #ddd;
margin-bottom: 16px
}
.content-reset blockquote p {
margin: 0
}
.content-reset iframe {
border: 1px solid #ccc
}
.content-reset table {
width: 100%;
border: 1px solid #dedede;
margin: 15px auto;
border-collapse: collapse;
empty-cells: show
}
.content-reset thead {
text-align: center
}
.content-reset td,
.content-reset th {
height: 35px;
border: 1px solid #dedede;
padding: 0 10px
}
.content-reset th {
font-weight: bold;
text-align: center !important;
background: rgba(158, 188, 226, 0.2)
}
.content-reset tbody tr:nth-child(2n) {
background: rgba(158, 188, 226, 0.12)
}
.content-reset tr:hover {
background: #efefef
}
.content-reset code {
padding: 0.2em 0.4em;
margin: 0;
font-size: 85%;
background-color: rgba(252, 41, 41, 0.12);
border-radius: 3px;
color: #d23f31;
font-family: mononoki, Consolas, "Liberation Mono", Menlo, Courier, monospace
}
.content-reset pre > code {
padding: 0.5em;
border-radius: 0;
color: #333;
background-color: rgba(0, 0, 0, 0.04);
background-image: url(../images/code-bg.png);
background-size: 20px 20px;
border-radius: 5px
}
.content-reset kbd {
display: inline-block;
padding: 3px 5px;
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
line-height: 10px;
color: #555;
vertical-align: middle;
background-color: #fcfcfc;
border: solid 1px #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb
}
.fn-flex {
display: flex
}
.fn-flex-1 {
flex: 1;
min-width: 1px
}
.fn-clear:before, .fn-clear:after {
display: table;
content: ""
}
.fn-clear:after {
clear: both
}
.fn-left {
float: left
}
.fn-right {
float: right
}
.ft-12 {
font-size: 12px;
font-weight: normal;
}
.ft-gray {
color: rgba(0, 0, 0, 0.54);
}
.ft-fade {
color: rgba(0, 0, 0, 0.38);
}
.ft-green {
color: #03a87c !important;
transition: all 0.1s
}
.ft-green:hover {
color: #018f69 !important
}
.pipe-tooltipped {
position: relative;
cursor: pointer
}
.pipe-tooltipped::after {
position: absolute;
z-index: 1000;
display: none;
padding: 5px 8px;
font-size: 11px;
font-weight: normal;
color: #fff;
text-align: center;
text-decoration: none;
text-shadow: none;
text-transform: none;
letter-spacing: normal;
word-wrap: break-word;
white-space: pre;
pointer-events: none;
content: attr(aria-label);
background: rgba(0, 0, 0, 0.8);
border-radius: 3px;
line-height: 16px;
opacity: 0
}
.pipe-tooltipped::before {
position: absolute;
z-index: 1000001;
display: none;
width: 0;
height: 0;
color: rgba(0, 0, 0, 0.8);
pointer-events: none;
content: "";
border: 5px solid transparent;
opacity: 0
}
@keyframes tooltip-appear {
from {
opacity: 0
}
to {
opacity: 1
}
}
.pipe-tooltipped:hover::before, .pipe-tooltipped:hover::after, .pipe-tooltipped:active::before, .pipe-tooltipped:active::after, .pipe-tooltipped:focus::before, .pipe-tooltipped:focus::after {
display: inline-block;
text-decoration: none;
animation-name: tooltip-appear;
animation-duration: 0.1s;
animation-fill-mode: forwards;
animation-timing-function: ease-in;
animation-delay: 0.4s
}
.pipe-tooltipped--s::after, .pipe-tooltipped--se::after, .pipe-tooltipped--sw::after {
top: 100%;
right: 50%;
margin-top: 5px
}
.pipe-tooltipped--s::before, .pipe-tooltipped--se::before, .pipe-tooltipped--sw::before {
top: auto;
right: 50%;
bottom: -5px;
margin-right: -5px;
border-bottom-color: rgba(0, 0, 0, 0.8)
}
.pipe-tooltipped--se::after {
right: auto;
left: 50%;
margin-left: -15px
}
.pipe-tooltipped--sw::after {
margin-right: -15px
}
.pipe-tooltipped--n::after, .pipe-tooltipped--ne::after, .pipe-tooltipped--nw::after {
right: 50%;
bottom: 100%;
margin-bottom: 5px
}
.pipe-tooltipped--n::before, .pipe-tooltipped--ne::before, .pipe-tooltipped--nw::before {
top: -5px;
right: 50%;
bottom: auto;
margin-right: -5px;
border-top-color: rgba(0, 0, 0, 0.8)
}
.pipe-tooltipped--ne::after {
right: auto;
left: 50%;
margin-left: -15px
}
.pipe-tooltipped--nw::after {
margin-right: -15px
}
.pipe-tooltipped--s::after, .pipe-tooltipped--n::after {
transform: translateX(50%)
}
.pipe-tooltipped--w::after {
right: 100%;
bottom: 50%;
margin-right: 5px;
transform: translateY(50%)
}
.pipe-tooltipped--w::before {
top: 50%;
bottom: 50%;
left: -5px;
margin-top: -5px;
border-left-color: rgba(0, 0, 0, 0.8)
}
.pipe-tooltipped--e::after {
bottom: 50%;
left: 100%;
margin-left: 5px;
transform: translateY(50%)
}
.pipe-tooltipped--e::before {
top: 50%;
right: -5px;
bottom: 50%;
margin-top: -5px;
border-right-color: rgba(0, 0, 0, 0.8)
}
.tag {
background-color: rgba(0, 0, 0, 0.05);
color: rgba(0, 0, 0, 0.68);
padding: 5px 10px;
line-height: 22px;
font-weight: 400;
border-radius: 3px;
white-space: nowrap;
display: inline-block;
transition: all 0.1s;
margin: 0 8px 8px 0;
font-size: 15px
}
.tag:hover {
text-decoration: none;
background: rgba(0, 0, 0, 0.1);
color: rgba(0, 0, 0, 0.68)
}
.tag__level0 {
line-height: inherit;
font-size: 12px;
color: rgba(0, 0, 0, 0.38)
}
.tag__level1 {
line-height: inherit;
font-size: 16px;
color: rgba(0, 0, 0, 0.54)
}
.tag__level2 {
line-height: inherit;
font-size: 21px;
color: #6f6f6f
}
.tag__level3 {
line-height: inherit;
font-size: 24px;
color: #3b3e43
}
.tag__level4 {
line-height: inherit;
font-size: 30px;
color: #000
}
.module__title {
border-bottom: 1px solid rgba(0, 0, 0, 0.15);
margin-bottom: 25px;
line-height: 26px;
font-size: 22px;
position: relative;
height: 46px
}
.module__title > span {
border-bottom: 1px solid rgba(0, 0, 0, 0.54);
position: absolute;
padding-bottom: 20px;
height: 26px
}
/* star framework */
.wrapper {
max-width: 1000px;
margin: 0 auto;
box-sizing: border-box
}
.header {
padding: 0 20px;
box-sizing: border-box;
height: 64px;
text-align: center;
transition: all 0.1s;
z-index: 11;
}
.header h1 {
display: inline-block;
line-height: 61px;
width: 50%;
overflow: auto;
white-space: nowrap;
}
.header h1::-webkit-scrollbar {
display: none;
}
.header--fixed {
position: fixed;
width: 100%;
top: -64px;
background-color: #fff;
box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.15)
}
.header__logo {
float: left;
height: 32px;
width: 32px;
margin: 16px 0;
background-size: cover;
background-repeat: no-repeat;
background-position: center center
}
.header__title {
overflow: hidden;
font-size: 26px;
color: rgba(0, 0, 0, 0.84)
}
.header__title:hover {
text-decoration: none
}
.header__icon {
transition: all 0.1s;
color: rgba(0, 0, 0, 0.54);
text-decoration: none;
width: 25px;
margin-left: 10px;
float: left;
margin-top: 25px
}
.header__icon:hover {
text-decoration: none;
color: rgba(0, 0, 0, 0.68)
}
.header__icon svg {
height: 16px;
width: 16px
}
.header__icon.avatar {
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
display: inline-block;
height: 32px;
width: 32px;
border-radius: 16px;
margin-top: 16px;
margin-left: 14px
}
.header__a {
color: #03a87c;
font-size: 16px;
float: left;
margin: 16px 0 0 16px;
transition: all 0.1s;
line-height: 32px;
}
.header__a:hover {
text-decoration: none;
color: #018f69;
border-color: #018f69
}
.header__nav {
height: 50px;
padding: 0 20px;
box-sizing: border-box
}
.header__nav .wrapper {
overflow: auto;
word-wrap: normal;
white-space: nowrap
}
.header__nav .wrapper::-webkit-scrollbar {
display: none
}
.header__nav a {
color: rgba(0, 0, 0, 0.76);
font-size: 15px;
padding: 0 10px;
line-height: 50px;
text-decoration: none
}
.header__nav a img {
height: 16px;
width: 16px;
vertical-align: text-top
}
.header__nav a:first-child {
padding-left: 0
}
.header__nav--fixed {
z-index: 11;
position: fixed;
width: 100%;
top: 0;
background-color: #fff;
box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.15)
}
.footer {
margin-top: 50px;
padding: 10px 20px 25px;
font-size: 14px;
border-top: 1px solid rgba(0, 0, 0, 0.05);
color: rgba(0, 0, 0, 0.38)
}
.footer a {
color: rgba(0, 0, 0, 0.54)
}
.footer__tag {
margin-top: 50px;
}
.footer__tag > div {
margin-right: 20px
}
.footer__tag > div:last-child {
margin-right: 0
}
.footer__tag li {
list-style: none;
}
.footer__tag li a {
color: rgba(0, 0, 0, 0.54);
display: block;
line-height: 30px;
word-break: keep-all;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding: 0 25px;
}
.footer__tag li a:hover {
color: rgba(0, 0, 0, 0.68);
}
.main {
margin: 50px 20px 0
}
.main .content {
margin-top: 50px
}
.board {
padding: 12px 0;
text-align: center
}
/* star article */
.article__wrap {
margin-right: -20px
}
.article__item {
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 2px;
margin-bottom: 20px;
float: left
}
.article__item--big {
width: 318px;
margin-right: 20px
}
.article__item--big .article__main {
height: 275px;
overflow: hidden;
margin-bottom: 10px
}
.article__item--small {
width: 318px;
margin-right: 20px
}
.article__item--small .article__main {
height: 94px;
overflow: hidden;
margin-bottom: 10px
}
.article__item--mid {
width: 488px;
margin-right: 20px
}
.article__item--mid .article__main {
height: 195px;
overflow: hidden;
margin-bottom: 10px
}
.article__panel {
padding: 16px
}
.article__title {
overflow: hidden;
line-height: 24px;
font-size: 21px;
font-weight: 600;
word-break: break-all
}
.article__title a {
color: rgba(0, 0, 0, 0.84)
}
.article__title a:hover {
text-decoration: none
}
.article__title sup {
top: -6px;
font-size: 12px;
color: #03a87c;
}
.article__content {
margin-top: 4px;
font-size: 16px;
color: rgba(0, 0, 0, 0.54);
overflow: hidden;
line-height: 23px;
word-break: break-all;
}
.article__meta {
font-size: 15px;
line-height: 23px;
}
/* end article list */
/* start article */
.b3-solo-list {
display: none;
}
.post {
max-width: 740px;
margin: 50px auto 20px;
position: relative
}
.post__main {
margin: 20px 0 0 0
}
.post__title {
font-weight: 700;
font-size: 42px;
margin: 0 -20px 10px;
word-break: break-all
}
.post__title sup {
font-size: 16px;
top: -20px;
color: #03a87c;
}
.post__tags {
padding: 4px 0 22px;
border-bottom: 1px solid rgba(0, 0, 0, 0.05)
}
.post__share {
padding: 20px 0;
margin-bottom: 20px;
font-size: 16px;
}
.post__share svg {
height: 20px;
width: 20px;
vertical-align: bottom
}
.post__share #articleShare {
position: relative
}
.post__share #articleShare .article__code {
position: absolute;
height: 130px;
width: 130px;
left: -2px;
top: 22px
}
.post__share-icon {
color: rgba(0, 0, 0, 0.54);
cursor: pointer;
}
.post__share-icon:hover {
color: rgba(0, 0, 0, 0.68);
}
.post__view {
color: #03a87c;
transition: all 0.1s
}
.post__view:hover {
color: #018f69;
text-decoration: none
}
.post__side {
position: fixed;
top: 50%;
left: 10%;
width: 55px;
text-align: center;
font-size: 16px;
margin-top: -125px;
transition: opacity .1s;
opacity: 0
}
.post__side svg {
height: 25px;
width: 25px
}
.post__side .ft-green svg {
height: 55px;
width: 55px;
vertical-align: bottom;
margin-bottom: 10px
}
.post__side .article__code {
position: absolute;
height: 130px;
width: 130px;
left: 45px;
top: 90px
}
#articleSideShare {
width: 26px;
margin: 0 auto;
}
.article__bottom {
background-color: #fafafa;
padding: 40px 20px
}
.article__bottom .footer__tag {
margin-bottom: 50px;
}
.article__comment {
width: 640px;
margin: 45px auto 0;
position: relative;
}
.article__comment .comment__title {
font-size: 16px;
margin-bottom: 15px;
color: rgba(0, 0, 0, 0.68)
}
.article__comment .comment__item {
background-color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.04) 0px 1px 4px;
border: 1px solid rgba(0, 0, 0, 0.09);
border-radius: 3px;
padding: 10px 20px 10px 77px;
margin: 0 0 20px;
}
.article__comment .comment__avatar {
position: absolute;
left: 10px;
height: 57px;
width: 57px;
display: inline-block;
z-index: 10;
border: 2px solid rgb(255, 255, 255);
border-radius: 50%;
}
.article__comment .comment__body svg.ft-gray {
height: 12px;
width: 12px;
vertical-align: text-top;
margin-left: 5px;
}
.article__comment .comment__body .content-reset {
min-height: 40px;
}
.article__comment .comment__user,
.article__comment .comment__user a {
color: rgb(3, 168, 124);
}
.article__comment .comment__user a:hover {
color: rgb(1, 143, 105);
text-decoration: none;
}
.comment-body-ref {
position: absolute;
width: 559px;
box-sizing: border-box;
left: 101px;
}
.comment-body-ref .ft-green {
display: none;
}
.em00, .em01, .em02, .em03, .em04, .em05, .em06, .em07, .em08, .em09, .em10, .em11, .em12, .em13, .em14 {
cursor: pointer;
background-image: url(../../../images/emotions/emotions.png);
background-size: 120px;
float: left;
height: 24px;
margin-right: 10px;
margin-bottom: 5px;
width: 24px;
transition: all .2s ease-out;
-webkit-transition: all .2s ease-out;
-moz-transition: all .2s ease-out
}
#emotions span:hover {
transform: scale(1.2) rotate(360deg);
-webkit-transform: scale(1.2) rotate(360deg);
-moz-transform: scale(1.2) rotate(360deg)
}
.em01 {
background-position: -24px 0
}
.em02 {
background-position: -48px 0
}
.em03 {
background-position: -72px 0
}
.em04 {
background-position: -96px 0
}
.em05 {
background-position: 0 -24px
}
.em06 {
background-position: -24px -24px
}
.em07 {
background-position: -48px -24px
}
.em08 {
background-position: -72px -24px
}
.em09 {
background-position: -96px -24px
}
.em10 {
background-position: 0 -48px
}
.em11 {
background-position: -24px -48px
}
.em12 {
background-position: -48px -48px
}
.em13 {
background-position: -72px -48px
}
.em14 {
background-position: -96px -48px
}
#commentForm,
#replyForm {
width: 100%;
}
#replyForm {
margin-top: 20px;
}
.comment__textarea {
background-color: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.04) 0px 1px 4px;
border: 1px solid rgba(0, 0, 0, 0.09);
border-radius: 3px;
padding: 10px;
margin: 0 0 5px;
width: 100%;
box-sizing: border-box;
}
.captcha {
height: 35px;
margin: -5px 0 0 7px;
border: 1px solid rgba(0, 0, 0, 0.04);
border-radius: 3px;
}
#submitCommentButton,
#submitCommentButtonReply {
background-color: #fff;
border: 1px solid #03a87c;
color: #03a87c;
border-radius: 3px;
padding: 5px 10px;
transition: all 0.1s;
}
#submitCommentButton:hover,
#submitCommentButtonReply:hover {
background-color: #fff;
border-color: #018f69;
color: #018f69;
}
.article__toolbar {
box-shadow: 0 0 1px rgba(0, 0, 0, 0.54);
position: fixed;
bottom: -44px;
width: 100%;
background-color: #fff;
height: 44px;
font-size: 16px;
line-height: 44px;
transition: all 0.1s;
opacity: 0
}
.article__toolbar .wrapper {
max-width: 740px
}
.article__toolbar svg {
height: 20px;
width: 20px;
vertical-align: middle
}
.article__toolbar .fn-right {
position: absolute;
top: 0;
right: 20px
}
.article__toolbar .article__code {
position: absolute;
height: 130px;
width: 130px;
left: 50px;
bottom: 30px
}
.article__next {
border-left: 1px solid rgba(0, 0, 0, 0.38);
line-height: 14px;
margin-top: 7px;
color: rgba(0, 0, 0, 0.84);
font-size: 18px;
display: inline-block;
padding-left: 20px;
margin-left: 20px;
transition: all .2s;
float: right;
}
.article__next:hover {
text-decoration: none;
color: rgba(0, 0, 0, 0.54);
}
.pagination {
margin-top: 30px;
font-size: 16px;
border-top: 1px solid rgba(0, 0, 0, 0.15)
}
.pagination__item {
text-align: center;
border-top: 1px solid transparent;
transition: all 0.1s;
display: inline-block;
position: relative;
top: -1px;
margin: 0 10px;
padding: 0 10px;
line-height: 30px;
color: rgba(0, 0, 0, 0.54)
}
.pagination__item:hover {
border-top-color: rgba(0, 0, 0, 0.54);
color: rgba(0, 0, 0, 0.84);
text-decoration: none
}
.pagination__item--active {
background: rgba(0, 0, 0, 0.05);
border-top-color: rgba(0, 0, 0, 0.54)
}
.pagination__item--active:hover {
color: rgba(0, 0, 0, 0.54);
border-top-color: rgba(0, 0, 0, 0.54)
}
.pagination__item:first-child {
margin-left: 0
}
.pagination__item:last-child {
margin-right: 0
}
.pagination__omit {
top: -5px;
margin: 0;
border: 0;
padding: 0;
color: #ccc
}
.page__item {
display: block;
border-bottom: 1px solid rgba(0,0,0,0.05);
padding: 40px 0 35px
}
@media (max-width: 768px) {
.header {
text-align:left
}
.header__logo,
.post__side,.article__next,#articleBottomShare,#articleShare,
.article__comment .comment__avatar {
display: none
}
.post {
margin: 50px 20px 20px
}
.article__toolbar {
padding-left: 20px;
box-sizing: border-box
}
.article__item {
width: 100%;
margin-bottom: 20px
}
.article__wrap {
margin: 0
}
.article__comment {
width: 100%
}
.article__main {
height: auto !important
}
.footer .fn-right {
float: none
}
.footer__tag {
display: block
}
.footer__tag>div {
margin: 0 0 50px
}
.footer__tag>div:last-child {
margin: 0
}
.pagination__item {
margin: 0
}
.emotions span {
margin: 0;
transform: scale(0.7);
}
.article__comment .comment__item {
padding-left: 10px;
}
}
/* Make clicks pass-through */
#nprogress {
pointer-events: none;
}
#nprogress .bar {
background: #d23f31;
position: fixed;
z-index: 1031;
top: 0;
left: 0;
width: 100%;
height: 2px;
}
/* Fancy blur effect */
#nprogress .peg {
display: block;
position: absolute;
right: 0px;
width: 100px;
height: 100%;
box-shadow: 0 0 10px #d23f31, 0 0 5px #d23f31;
opacity: 1.0;
-webkit-transform: rotate(3deg) translate(0px, -4px);
-ms-transform: rotate(3deg) translate(0px, -4px);
transform: rotate(3deg) translate(0px, -4px);
}
/* Remove these to get rid of the spinner */
#nprogress .spinner {
display: block;
position: fixed;
z-index: 1031;
top: 15px;
right: 15px;
}
#nprogress .spinner-icon {
width: 18px;
height: 18px;
box-sizing: border-box;
border: solid 2px transparent;
border-top-color: #d23f31;
border-left-color: #d23f31;
border-radius: 50%;
-webkit-animation: nprogress-spinner 400ms linear infinite;
animation: nprogress-spinner 400ms linear infinite;
}
.nprogress-custom-parent {
overflow: hidden;
position: relative;
}
.nprogress-custom-parent #nprogress .spinner,
.nprogress-custom-parent #nprogress .bar {
position: absolute;
}
@-webkit-keyframes nprogress-spinner {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}
@keyframes nprogress-spinner {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}