color.css

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/* ============================================================
June's Blog - 颜色系统

白天主题色: #E68282 (粉色)
夜间主题色: #f2b94b (金黄色)

核心变量:
- --june: 主题强调色,所有 hover/active 状态统一使用
- --june-theme: 等同 --june
- 暗色模式通过 [data-theme="dark"] 覆盖变量自动适配
============================================================ */

/* ======== 全局常量 ======== */
:root {
--june: #E68282;
--june-theme: var(--june);
--june-theme-op: rgba(230, 130, 130, 0.14);
--june-main: var(--june-theme);
--june-main-op: var(--june-theme-op);

--june-white: #fff;
--june-black: #000;
--june-none: rgba(0, 0, 0, 0);
--june-gray: #999999;
--june-gray-op: #9999992b;
--june-light-grey: #F2F2F2;
--june-yellow: #ffc93e;
--june-orange: #ff9900;
--june-purple: #E764FF;
--june-blue-main: #3b70fc;
--june-border-radius: 8px;

--june-shadow-theme: 0 8px 12px -3px var(--june-theme-op);
--june-shadow-main: 0 8px 12px -3px var(--june-main-op);
--june-shadow-blue: 0 8px 12px -3px rgba(40, 109, 234, 0.2);
--june-shadow-white: 0 8px 12px -3px rgba(255, 255, 255, 0.2);
--june-shadow-black: 0 0 12px 4px rgba(0, 0, 0, 0.05);
--june-shadow-yellow: 0px 38px 77px -26px rgba(255, 201, 62, 0.12);
--june-shadow-red: 0 8px 12px -3px #ee7d7936;
--june-shadow-green: 0 8px 12px -3px #87ee7936;
--june-shadow-border: 0 8px 16px -4px #2c2d300c;

--june-logo-color: linear-gradient(215deg, #4584ff 30%, #ff7676 70%);
--june-white-acrylic1: #fefeff !important;
--june-white-acrylic2: #fcfdff !important;
--june-black-acrylic2: #08080a !important;
--june-black-acrylic1: #0b0b0e !important;
--heo-theme: var(--june-border) !important;

--style-border: 1px solid var(--june-card-border);
--style-border-hover: 1px solid var(--june-main);
--style-border-dashed: 1px dashed var(--june-theme-op);
--style-border-avatar: 4px solid var(--june-background);
--style-border-always: 1px solid var(--june-card-border);

--layout-width: 1400px;
--aside-width: 312px;
--border-radius-small: 6px;
--border-radius-medium: 8px;
--border-radius-large: 12px;
--border-radius-xlarge: 24px;
--transition-time: 0.3s;
--global-font-size: 16px;
--middle-y-multiplier: 1.5;
--middle-scale-multiplier: 1.2;
}

/* ======== 白天模式 ======== */
[data-theme="light"] {
--june: #E68282;
--june-theme-op: rgba(230, 130, 130, 0.14);
--june-blue: #3b70fc;
--june-red: #d8213c;
--june-pink: #ff7c7c;
--june-green: #57bd6a;
--june-fontcolor: #4c4948;
--june-background: #f7f9fe;
--june-reverse: #000;
--june-maskbg: rgba(255, 255, 255, 0.6);
--june-maskbgdeep: rgba(255, 255, 255, 0.85);
--june-hovertext: var(--june);
--june-ahoverbg: #f7f7fa;
--june-lighttext: var(--june);
--june-secondtext: rgba(60, 60, 67, 0.6);
--june-scrollbar: rgba(60, 60, 67, 0.4);
--june-card-btn-bg: #edf0f7;
--june-post-blockquote-bg: #fafcff;
--june-post-tabs-bg: #f2f5f8;
--june-secondbg: #f7f7f9;
--june-shadow-nav: 0 5px 12px -5px rgba(102, 68, 68, 0.05);
--june-card-bg: #fff;
--june-shadow-lightblack: 0 5px 12px -5px rgba(102, 68, 68, 0);
--june-shadow-light2black: 0 5px 12px -5px rgba(102, 68, 68, 0);
--june-card-border: #e8e8ee;
--june-copyright-bg: #eff1f3;
--june-border: var(--june);
}

/* ======== 夜间模式 ======== */
[data-theme="dark"] {
--june: #f2b94b;
--june-theme-op: rgba(242, 185, 75, 0.14);
--june-blue: #7c9eff;
--june-red: #ff6b7a;
--june-pink: #ff9bae;
--june-green: #6dd592;
--june-fontcolor: #f2f2f8;
--june-background: #16161a;
--june-reverse: #fff;
--june-maskbg: rgba(0, 0, 0, 0.6);
--june-maskbgdeep: rgba(0, 0, 0, 0.85);
--june-hovertext: var(--june);
--june-ahoverbg: #2a2a30;
--june-lighttext: var(--june);
--june-secondtext: #8e8ea0;
--june-scrollbar: rgba(242, 185, 75, 0.25);
--june-card-btn-bg: #26262c;
--june-post-blockquote-bg: #1c1c22;
--june-post-tabs-bg: #1c1c22;
--june-secondbg: #26262c;
--june-shadow-nav: 0 5px 20px 0px rgba(0, 0, 0, 0.5);
--june-card-bg: #1e1e24;
--june-shadow-lightblack: 0 5px 12px -5px rgba(0, 0, 0, 0.3);
--june-shadow-light2black: 0 5px 12px -5px rgba(0, 0, 0, 0.3);
--june-card-border: #2e2e36;
--june-copyright-bg: #222228;
--june-border: var(--june);
}