Nyanpre commited on
Commit
e0fc92d
·
verified ·
1 Parent(s): 6571d56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -1
app.py CHANGED
@@ -104,7 +104,7 @@ h1 {
104
  text-align: center !important;
105
  }
106
 
107
- /* 4. 結果ボックスと終結文の間を-5px */
108
  #oracle-box {
109
  color: #000 !important;
110
  background: #fff !important;
@@ -118,6 +118,13 @@ h1 {
118
  margin: 0px auto -5px auto !important;
119
  }
120
 
 
 
 
 
 
 
 
121
  /* 5. 終結文とボタンの間を-5px */
122
  #peace-msg {
123
  font-size: 20px !important;
@@ -135,6 +142,11 @@ h1 {
135
  border: 2px solid #000 !important;
136
  }
137
 
 
 
 
 
 
138
  #draw-btn { margin: 0px auto -5px auto !important; }
139
  #share-btn { margin: 0px auto 10px auto !important; }
140
  """
 
104
  text-align: center !important;
105
  }
106
 
107
+ /* 4. 結果ボックス(基本:ライトモード) */
108
  #oracle-box {
109
  color: #000 !important;
110
  background: #fff !important;
 
118
  margin: 0px auto -5px auto !important;
119
  }
120
 
121
+ /* ★ダークモード時の色指定を追加 */
122
+ .dark #oracle-box {
123
+ color: #fff !important;
124
+ background: #000 !important;
125
+ border: 4px solid #fff !important;
126
+ }
127
+
128
  /* 5. 終結文とボタンの間を-5px */
129
  #peace-msg {
130
  font-size: 20px !important;
 
142
  border: 2px solid #000 !important;
143
  }
144
 
145
+ /* ★ダークモード時のボタン枠線を追加 */
146
+ .dark .action-btn {
147
+ border: 2px solid #fff !important;
148
+ }
149
+
150
  #draw-btn { margin: 0px auto -5px auto !important; }
151
  #share-btn { margin: 0px auto 10px auto !important; }
152
  """