配色细节修改
This commit is contained in:
parent
e439dd1948
commit
ed30d8779f
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "hexo_blog",
|
"name": "hexo_blog",
|
||||||
"version": "1.0.6",
|
"version": "1.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"hexo": {
|
"hexo": {
|
||||||
"version": "3.8.0"
|
"version": "3.8.0"
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "yilia",
|
"name": "yilia",
|
||||||
"version": "5.1.0",
|
"version": "5.1.1",
|
||||||
"description": "Hexo响应式主题",
|
"description": "Hexo响应式主题",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "webpack --progress --mode development",
|
"dev": "webpack --progress --mode development",
|
||||||
|
|||||||
@ -24,6 +24,7 @@ $colorBg: #f0eae3 !default;
|
|||||||
$colorBorder: #dbdbdb !default;
|
$colorBorder: #dbdbdb !default;
|
||||||
$colorLink: #08c !default;
|
$colorLink: #08c !default;
|
||||||
$colorPlaceholder: #999 !default; // input placeholder color
|
$colorPlaceholder: #999 !default; // input placeholder color
|
||||||
|
$tagcolorList: #88acdb #ffa07a #ca5757 #76becc #7e608d #6fc0e4 #bc8f8f; // 标签颜色组
|
||||||
$colorDisabled: (text: #999, bg: #e3e3e3, border: #dbdbdb) !default; // textColor bgColor borderColor
|
$colorDisabled: (text: #999, bg: #e3e3e3, border: #dbdbdb) !default; // textColor bgColor borderColor
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -115,4 +115,19 @@ body.night {
|
|||||||
.category-list li.category-list-item {
|
.category-list li.category-list-item {
|
||||||
border-color: $borderColor_night;
|
border-color: $borderColor_night;
|
||||||
}
|
}
|
||||||
|
// 标签颜色组
|
||||||
|
.tagcloud {
|
||||||
|
@for $index from 1 to length($tagcolorList)+1 {
|
||||||
|
a.color#{$index}{
|
||||||
|
background: darken(nth($tagcolorList,$index), 25%);
|
||||||
|
&::before{
|
||||||
|
border-right-color: darken(nth($tagcolorList,$index), 25%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 滚动条
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
background-color: $articleBg_night;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@ -2,12 +2,12 @@
|
|||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
width: 10px;
|
width: 10px;
|
||||||
height: 10px;
|
height: 10px;
|
||||||
|
background-color: $colorBg;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-button {
|
::-webkit-scrollbar-button {
|
||||||
width: 0;
|
width: 0;
|
||||||
height: 0;
|
height: 0;
|
||||||
background-color: $colorBg;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-button:start:increment,::-webkit-scrollbar-button:end:decrement {
|
::-webkit-scrollbar-button:start:increment,::-webkit-scrollbar-button:end:decrement {
|
||||||
|
|||||||
@ -14,7 +14,7 @@
|
|||||||
position:relative;
|
position:relative;
|
||||||
border-radius:0 5px 5px 0;
|
border-radius:0 5px 5px 0;
|
||||||
margin: 5px 9px 5px 8px;
|
margin: 5px 9px 5px 8px;
|
||||||
font-family: Menlo, Monaco, "Andale Mono", "lucida console", "Courier New", monospace;
|
font-family: Menlo, Monaco, "Andale Mono", "lucida console";
|
||||||
&:hover{
|
&:hover{
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
@ -39,14 +39,12 @@
|
|||||||
left: 2px;
|
left: 2px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 标签背景色
|
|
||||||
$tagcolorlist: #88acdb #ffa07a #f08080 #76becc #918597 #6fc0e4 #bc8f8f;
|
|
||||||
|
|
||||||
@for $index from 1 to length($tagcolorlist)+1 {
|
@for $index from 1 to length($tagcolorList)+1 {
|
||||||
a.color#{$index}{
|
a.color#{$index}{
|
||||||
background: nth($tagcolorlist,$index);
|
background: nth($tagcolorList,$index);
|
||||||
&::before{
|
&::before{
|
||||||
border-right-color: nth($tagcolorlist,$index);
|
border-right-color: nth($tagcolorList,$index);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user