Spaces:
Running
Running
ChenyuRabbitLove
commited on
Commit
•
0392b87
1
Parent(s):
b1dacc9
refactor: add non-dark style
Browse files- css/style.css +1 -1
- theme.py +14 -0
css/style.css
CHANGED
@@ -165,7 +165,7 @@ h1::after {
|
|
165 |
}
|
166 |
|
167 |
[aria-label="Share"] {
|
168 |
-
display: none;
|
169 |
}
|
170 |
|
171 |
#adventure_slider {
|
|
|
165 |
}
|
166 |
|
167 |
[aria-label="Share"] {
|
168 |
+
display: none !important;
|
169 |
}
|
170 |
|
171 |
#adventure_slider {
|
theme.py
CHANGED
@@ -35,14 +35,28 @@ class Seafoam(Base):
|
|
35 |
super().set(
|
36 |
body_background_fill="url('https://storage.googleapis.com/wpassets.junyiacademy.org/1/2023/11/background-scaled.jpg') no-repeat center center / cover",
|
37 |
body_background_fill_dark="url('https://storage.googleapis.com/wpassets.junyiacademy.org/1/2023/11/background-scaled.jpg') no-repeat center center / cover",
|
|
|
|
|
38 |
body_text_color_dark="#333",
|
|
|
|
|
39 |
background_fill_primary_dark="rgba(255, 255, 255, 1)",
|
|
|
|
|
40 |
background_fill_secondary_dark="rgba(255, 255, 255, 0)",
|
|
|
|
|
41 |
block_background_fill_dark="rgba(255, 255, 255, 0.1)",
|
|
|
|
|
42 |
block_border_color_dark="rgba(255, 255, 255, 0.1)",
|
|
|
|
|
43 |
border_color_primary_dark="trasparent",
|
|
|
44 |
slider_color="*secondary_300",
|
45 |
slider_color_dark="*secondary_600",
|
|
|
46 |
block_title_text_weight="600",
|
47 |
block_border_width="3px",
|
48 |
block_shadow="*shadow_drop_lg",
|
|
|
35 |
super().set(
|
36 |
body_background_fill="url('https://storage.googleapis.com/wpassets.junyiacademy.org/1/2023/11/background-scaled.jpg') no-repeat center center / cover",
|
37 |
body_background_fill_dark="url('https://storage.googleapis.com/wpassets.junyiacademy.org/1/2023/11/background-scaled.jpg') no-repeat center center / cover",
|
38 |
+
|
39 |
+
body_text_color="#333",
|
40 |
body_text_color_dark="#333",
|
41 |
+
|
42 |
+
background_fill_primary="rgba(255, 255, 255, 1)",
|
43 |
background_fill_primary_dark="rgba(255, 255, 255, 1)",
|
44 |
+
|
45 |
+
background_fill_secondary="rgba(255, 255, 255, 0.0)",
|
46 |
background_fill_secondary_dark="rgba(255, 255, 255, 0)",
|
47 |
+
|
48 |
+
blcock_background_fill="rgba(255, 255, 255, 0.1)",
|
49 |
block_background_fill_dark="rgba(255, 255, 255, 0.1)",
|
50 |
+
|
51 |
+
block_border_color="rgba(255, 255, 255, 0.1)",
|
52 |
block_border_color_dark="rgba(255, 255, 255, 0.1)",
|
53 |
+
|
54 |
+
border_color_primary="trasparent",
|
55 |
border_color_primary_dark="trasparent",
|
56 |
+
|
57 |
slider_color="*secondary_300",
|
58 |
slider_color_dark="*secondary_600",
|
59 |
+
|
60 |
block_title_text_weight="600",
|
61 |
block_border_width="3px",
|
62 |
block_shadow="*shadow_drop_lg",
|