File tree Expand file tree Collapse file tree 1 file changed +59
-0
lines changed
Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Original file line number Diff line number Diff line change 88 --white-1 : # eeeeee ;
99 --white-2 : # a9abb3 ;
1010}
11+
12+ @media (prefers-color-scheme : light) {
13+ : root {
14+ --gray-1 : # 3f3f3f ;
15+ --gray-2 : # 32353a ;
16+ --gray-2_5 : # 242526 ;
17+ --gray-3 : # e8e8e8 ;
18+ --gray-4 : # eeeeee ;
19+ --gray-5 : # f5f5f5 ;
20+ --gray-6 : # a9abb3 ;
21+ --white-1 : # 242526 ;
22+ --white-2 : # 242526 ;
23+ }
24+ }
25+
26+ @media (prefers-color-scheme : dark) {
27+ : root {
28+ --gray-1 : # 3f3f3f ;
29+ --gray-2 : # 32353a ;
30+ --gray-3 : # 25282c ;
31+ --gray-4 : # 151618 ;
32+ --gray-5 : # 151618 ;
33+ --gray-6 : # 111111 ;
34+ --white-1 : # eeeeee ;
35+ --white-2 : # a9abb3 ;
36+ }
37+ }
38+
39+ [data-theme = "light" ] {
40+ --gray-1 : # 3f3f3f ;
41+ --gray-2 : # 32353a ;
42+ --gray-2_5 : # 242526 ;
43+ --gray-3 : # e8e8e8 ;
44+ --gray-4 : # eeeeee ;
45+ --gray-5 : # f5f5f5 ;
46+ --gray-6 : # a9abb3 ;
47+ --white-1 : # 242526 ;
48+ --white-2 : # 242526 ;
49+ }
50+
51+ [data-theme = "dark" ] {
52+ --gray-1 : # 3f3f3f ;
53+ --gray-2 : # 32353a ;
54+ --gray-3 : # 25282c ;
55+ --gray-4 : # 151618 ;
56+ --gray-5 : # 151618 ;
57+ --gray-6 : # 111111 ;
58+ --white-1 : # eeeeee ;
59+ --white-2 : # a9abb3 ;
60+ }
61+
1162# category-modal-bg {
1263 position : fixed;
1364 top : 0 ;
1970 display : none;
2071 visibility : hidden;
2172}
73+
2274# category-modal {
2375 position : fixed;
2476 top : 0 ;
3688 visibility : hidden;
3789 line-height : 140% ;
3890}
91+
3992# category-modal-content {
4093 display : relative;
4194 max-height : calc (100% - 5rem );
4295 overflow : auto;
4396}
97+
4498# category-modal-title {
4599 margin-bottom : 1rem ;
46100 font-size : 2rem ;
47101 padding : 1rem ;
48102}
103+
49104# category-modal-bg .open ,
50105# category-modal .open {
51106 display : block;
52107 visibility : visible;
53108}
109+
54110.modal-article ,
55111.modal-article-date {
56112 display : block;
57113 color : var (--white-2 );
58114}
115+
59116.modal-article {
60117 margin-bottom : 0.5rem ;
61118 padding : 0.5rem 1rem ;
62119 transition : all 0.2s ease-in-out;
63120}
121+
64122.modal-article-date {
65123 font-size : 0.8rem ;
66124}
125+
67126.modal-article : hover {
68127 background : var (--gray-4 );
69128}
You can’t perform that action at this time.
0 commit comments