Kabatubare commited on
Commit
6a2189f
1 Parent(s): 713b909

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +19 -8
style.css CHANGED
@@ -1,16 +1,34 @@
1
  /* style.css */
2
- body {
 
 
 
3
  background-color: #000; /* Black background */
4
  color: #fff; /* White text */
5
  font-family: Arial, sans-serif;
6
  }
7
 
 
 
 
 
 
 
 
 
 
 
 
8
  .gradio {
9
  --color-bg: #000; /* Black background */
10
  --color-text: #fff; /* White text */
11
  --color-border: #808080; /* Grey borders */
12
  --color-primary: #ff0000; /* Red for primary elements like buttons */
13
  --color-primary-contrast: #fff; /* White text on primary elements */
 
 
 
 
14
  }
15
 
16
  /* Increasing the size of the visuals */
@@ -43,13 +61,6 @@ body {
43
  background-color: #d10000; /* A darker shade of red on hover */
44
  }
45
 
46
- /* Overall border styling for the app container */
47
- .container {
48
- border: 3px solid #ff0000; /* Red border */
49
- padding: 20px;
50
- margin-top: 20px;
51
- }
52
-
53
  /* Adjust layout for elements to follow the button directly */
54
  .row {
55
  display: flex;
 
1
  /* style.css */
2
+ body, html {
3
+ margin: 0;
4
+ padding: 0;
5
+ height: 100%;
6
  background-color: #000; /* Black background */
7
  color: #fff; /* White text */
8
  font-family: Arial, sans-serif;
9
  }
10
 
11
+ body::before {
12
+ content: "";
13
+ position: fixed;
14
+ left: 0;
15
+ right: 0;
16
+ top: 0;
17
+ bottom: 0;
18
+ border: 5px solid #ff0000; /* Red border around the entire app */
19
+ pointer-events: none; /* Allows interaction with elements beneath */
20
+ }
21
+
22
  .gradio {
23
  --color-bg: #000; /* Black background */
24
  --color-text: #fff; /* White text */
25
  --color-border: #808080; /* Grey borders */
26
  --color-primary: #ff0000; /* Red for primary elements like buttons */
27
  --color-primary-contrast: #fff; /* White text on primary elements */
28
+ box-sizing: border-box;
29
+ position: relative;
30
+ max-width: calc(100% - 10px); /* Adjusted to prevent overflow due to the border */
31
+ margin: 5px auto; /* Center the content while accounting for the border */
32
  }
33
 
34
  /* Increasing the size of the visuals */
 
61
  background-color: #d10000; /* A darker shade of red on hover */
62
  }
63
 
 
 
 
 
 
 
 
64
  /* Adjust layout for elements to follow the button directly */
65
  .row {
66
  display: flex;