ShubhanshuBansod commited on
Commit
710ae92
·
verified ·
1 Parent(s): 7e2f9e0

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -5
app.py CHANGED
@@ -83,30 +83,36 @@ st.markdown('''
83
  margin-top: 1.5rem !important;
84
  }
85
 
86
- /* Game Board Container */
87
  .board-container {
88
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
89
  border-radius: 20px;
90
- padding: 2rem;
91
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
92
  inset 0 0 30px rgba(255, 215, 0, 0.1);
93
  border: 3px solid rgba(255, 215, 0, 0.3);
94
  margin: 1rem 0;
95
  text-align: center;
 
 
 
96
  }
97
 
 
98
  .board-display {
99
  font-family: 'Courier New', monospace !important;
100
- font-size: 1.4rem !important;
101
- line-height: 1.8 !important;
102
  color: #FFD700 !important;
103
  background: linear-gradient(135deg, rgba(15, 12, 41, 0.8), rgba(48, 43, 99, 0.8)) !important;
104
  border: 2px solid rgba(255, 215, 0, 0.4) !important;
105
  border-radius: 12px !important;
106
- padding: 1.5rem !important;
107
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3) !important;
108
  overflow-x: auto !important;
109
  white-space: pre !important;
 
 
110
  }
111
 
112
  /* Buttons - Gaming Style */
 
83
  margin-top: 1.5rem !important;
84
  }
85
 
86
+ /* Game Board Container - COMPACT */
87
  .board-container {
88
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
89
  border-radius: 20px;
90
+ padding: 1rem;
91
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
92
  inset 0 0 30px rgba(255, 215, 0, 0.1);
93
  border: 3px solid rgba(255, 215, 0, 0.3);
94
  margin: 1rem 0;
95
  text-align: center;
96
+ width: fit-content;
97
+ margin-left: auto;
98
+ margin-right: auto;
99
  }
100
 
101
+ /* Board Display - COMPACT FONT */
102
  .board-display {
103
  font-family: 'Courier New', monospace !important;
104
+ font-size: 0.85rem !important;
105
+ line-height: 1.2 !important;
106
  color: #FFD700 !important;
107
  background: linear-gradient(135deg, rgba(15, 12, 41, 0.8), rgba(48, 43, 99, 0.8)) !important;
108
  border: 2px solid rgba(255, 215, 0, 0.4) !important;
109
  border-radius: 12px !important;
110
+ padding: 0.8rem !important;
111
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3) !important;
112
  overflow-x: auto !important;
113
  white-space: pre !important;
114
+ width: fit-content !important;
115
+ margin: 0 auto !important;
116
  }
117
 
118
  /* Buttons - Gaming Style */