/** * 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 . */ /* * skin style * * @author Liyuan Li * @version 0.1.0.0, Dec 7, 2018 */ @import "../../../scss/reset"; @import "../../../scss/reset-content"; @import "../../../scss/function"; @import "../../../scss/tooltipped"; @import "../../../scss/comment"; @import "../../../scss/nprogress"; @import "icon"; $red: #991a1a !default; $gray: #999 !default; // reset body { &::-webkit-scrollbar { display: none; } } a { transition: all .3s; } .ft__red { color: $red; } .ft__gray { color: $gray; } .content-reset { color: #555; font-size: 14px; a { color: $red; } } // header .header { top: 0; background-color: #2a2a2a; color: #fff; position: fixed; right: 0; height: 100%; width: 50px; display: flex; flex-direction: column; a, span { color: #fff; padding: 10px 0; display: block; text-align: center; font-size: 16px; width: 100%; img { height: 17px; width: 17px; } &.current, &:hover { text-decoration: none; color: $gray; } } } // framework .wrapper { max-width: 920px; margin: 0 auto; padding: 0 20px; } // footer .footer { color: $gray; padding: 30px 0; line-height: 1.6em; font-size: 0.85em; a { color: $red; } } // article .article { &__item { margin: 50px 0; border-bottom: 1px dashed #d9d9d9; text-align: justify; } &__title { padding: 20px 0; a { text-decoration: none; font-size: 25px; font-weight: bold; color: #555; transition: color 0.2s; &:hover { color: $red; } } } &__content { margin: 20px 0; & > p:last-child { margin-bottom: 0 } } &__more { margin-bottom: 70px; text-decoration: none; color: $red; display: block; } } .pagination { margin: 20px 0 40px; &__item { padding: 10px 10px; color: $gray; display: inline-block; &--current { color: #991a1a; font-weight: bold; } } a.pagination__item:hover { text-decoration: none; background: $red; color: #fff; } } // other page .tags { line-height: 32px; margin: 20px 0 70px; &--align a { width: 180px; margin-right: 0 !important; } a { margin-right: 20px; float: left; } }