add new waifu
BIN
public/static/bg/gbp.jpg
Normal file
|
After Width: | Height: | Size: 275 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 6.9 KiB |
|
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 8.5 KiB |
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 7.6 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 4.0 KiB |
@@ -3,15 +3,16 @@ import React, {Component, PureComponent} from 'react';
|
||||
import './Config.css';
|
||||
|
||||
const BUILTIN_IMGS={
|
||||
'static/bg/eriri.jpg': '平成著名画师(默认)',
|
||||
'static/bg/gbp.jpg': '追逐繁星(默认)',
|
||||
'static/bg/eriri.jpg': '平成著名画师',
|
||||
'static/bg/yurucamp.jpg': '露营天下第一',
|
||||
'static/bg/minecraft.jpg': '麦恩·库拉夫特',
|
||||
'static/bg/sif.jpg': '梦开始的地方',
|
||||
};
|
||||
|
||||
const DEFAULT_CONFIG={
|
||||
background_img: 'static/bg/eriri.jpg',
|
||||
background_color: '#112244',
|
||||
background_img: 'static/bg/gbp.jpg',
|
||||
background_color: '#113366',
|
||||
pressure: false,
|
||||
quote: true,
|
||||
horizontal_scroll: true,
|
||||
@@ -50,7 +51,7 @@ export function bgimg_style(img,color) {
|
||||
if(color===undefined) color=window.config.background_color;
|
||||
return {
|
||||
background: 'transparent center center',
|
||||
backgroundImage: img===null ? 'unset' : 'url('+encodeURI(img)+')',
|
||||
backgroundImage: img===null ? 'unset' : 'url("'+encodeURI(img)+'")',
|
||||
backgroundColor: color,
|
||||
backgroundSize: 'cover',
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
border-radius: 5px;
|
||||
margin: 1em 0;
|
||||
padding: .5em;
|
||||
box-shadow: 0 3px 8px rgba(0,0,0,.4);
|
||||
box-shadow: 0 2px 5px rgba(0,0,0,.4);
|
||||
}
|
||||
|
||||
.box-tip {
|
||||
@@ -144,8 +144,8 @@
|
||||
height: 10px;
|
||||
margin-bottom: -10px;
|
||||
border-radius: 50%;
|
||||
background-color: #ffbb44;
|
||||
box-shadow: 0 0 5px rgba(0,0,0,.4);
|
||||
background-color: #ffcc77;
|
||||
box-shadow: 1px 1px 5px rgba(0,0,0,.5);
|
||||
}
|
||||
|
||||
.box-content {
|
||||
|
||||
@@ -13,12 +13,12 @@ export class ColorPicker {
|
||||
if(name==='洞主')
|
||||
return 'hsl(0,0%,97%)';
|
||||
if(!window.config.color_picker)
|
||||
return 'hsl(0,0%,85%)';
|
||||
return 'hsl(0,0%,87%)';
|
||||
|
||||
if(!this.names[name]) {
|
||||
this.current_h+=golden_ratio_conjugate;
|
||||
this.current_h%=1;
|
||||
this.names[name]=`hsl(${this.current_h*360}, 40%, 87%)`;
|
||||
this.names[name]=`hsl(${this.current_h*360}, 60%, 90%)`;
|
||||
}
|
||||
return this.names[name];
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
body {
|
||||
background-size: cover;
|
||||
user-select: none;
|
||||
background-color: #124;
|
||||
background-color: #333;
|
||||
}
|
||||
|
||||
html::-webkit-scrollbar {
|
||||
|
||||