edyoshikun commited on
Commit
0ca2db3
1 Parent(s): 1f6e4a8

hugginface activates light and dark with default theme settings.

Browse files
Files changed (1) hide show
  1. style.css +9 -9
style.css CHANGED
@@ -1,6 +1,6 @@
1
  /* Default styling for light mode */
2
  .title-block, .description-block, .article-block {
3
- background-color: #f0f0f0; /* Light background for light mode */
4
  border-radius: 10px;
5
  padding: 20px;
6
  margin-bottom: 20px;
@@ -10,36 +10,36 @@
10
  .title-block {
11
  font-size: 28px;
12
  font-weight: bold;
13
- color: #333; /* Dark text for light mode */
14
  }
15
 
16
  .description-block {
17
  font-size: 18px;
18
- color: #444; /* Slightly lighter text for light mode */
19
  }
20
 
21
  .article-block {
22
  font-size: 16px;
23
  margin-top: 30px;
24
- color: #555; /* Even lighter text for light mode */
25
  }
26
 
27
  /* Dark mode styling */
28
  @media (prefers-color-scheme: dark) {
29
  .title-block, .description-block, .article-block {
30
- background-color: #2b2b2b; /* Dark background for dark mode */
31
- color: #f0f0f0; /* Light text for dark mode */
32
  }
33
 
34
  .title-block {
35
- color: #e0e0e0; /* Light text for dark mode */
36
  }
37
 
38
  .description-block {
39
- color: #d0d0d0; /* Lighter text for dark mode */
40
  }
41
 
42
  .article-block {
43
- color: #c0c0c0; /* Even lighter text for dark mode */
44
  }
45
  }
 
1
  /* Default styling for light mode */
2
  .title-block, .description-block, .article-block {
3
+ background-color: #f0f0f0 !important; /* Light background for light mode */
4
  border-radius: 10px;
5
  padding: 20px;
6
  margin-bottom: 20px;
 
10
  .title-block {
11
  font-size: 28px;
12
  font-weight: bold;
13
+ color: #333 !important; /* Dark text for light mode */
14
  }
15
 
16
  .description-block {
17
  font-size: 18px;
18
+ color: #444 !important; /* Slightly lighter text for light mode */
19
  }
20
 
21
  .article-block {
22
  font-size: 16px;
23
  margin-top: 30px;
24
+ color: #555 !important; /* Even lighter text for light mode */
25
  }
26
 
27
  /* Dark mode styling */
28
  @media (prefers-color-scheme: dark) {
29
  .title-block, .description-block, .article-block {
30
+ background-color: #2b2b2b !important; /* Dark background for dark mode */
31
+ color: #f0f0f0 !important; /* Light text for dark mode */
32
  }
33
 
34
  .title-block {
35
+ color: #e0e0e0 !important; /* Light text for dark mode */
36
  }
37
 
38
  .description-block {
39
+ color: #d0d0d0 !important; /* Lighter text for dark mode */
40
  }
41
 
42
  .article-block {
43
+ color: #c0c0c0 !important; /* Even lighter text for dark mode */
44
  }
45
  }