Keiraj commited on
Commit
6680aa5
·
verified ·
1 Parent(s): cfe96f9

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +50 -43
style.css CHANGED
@@ -1,94 +1,101 @@
1
- /* Global Reset */
2
  * {
3
  box-sizing: border-box;
4
- background-color:#af7db3 !important; /* Soft pastel pink */
5
  font-family: "Comic Sans MS", cursive, sans-serif; /* Playful font */
 
6
  }
7
 
8
- /* Full Page Styling */
9
- html, body {
10
- height: 100vh !important;
11
- width: 100%;
12
- overflow-x: hidden;
13
- padding: 0 !important;
 
 
14
  text-align: center;
 
 
 
15
  }
16
 
17
  /* Title Styling */
18
  .title {
19
  font-size: 36px;
20
  font-weight: bold;
21
- text-align: center;
22
- background: linear-gradient(to right, #ff85a2 0%, #ff4da6 100%);
23
- -webkit-background-clip: text;
24
- -webkit-text-fill-color: transparent;
25
- padding: 20px 0;
26
  }
27
 
28
- /* FULLY WHITE Input Box */
29
- input[type="text"], textarea, .gradio-input, .stTextInput > div {
30
- background-color: white !important; /* FORCE white */
31
- border: 2px solid #ff69b4 !important; /* Pink border */
32
- border-radius: 20px;
 
 
 
 
 
 
33
  padding: 10px;
34
- color: black !important; /* Normal text */
35
  text-align: center; /* Center text */
36
- width: 100% !important;
37
  max-width: 300px;
38
- margin: 0 auto; /* Center it */
39
- }
40
-
41
- /* Remove Gradio's Background Inside Input */
42
- .gradio-container input {
43
- background-color: white !important; /* Make sure it's white */
44
  }
45
 
46
  /* Cute Buttons */
47
  button {
48
  border-radius: 20px !important;
49
- background-color: #ff85a2 !important;
50
  color: white !important;
51
  font-size: 18px !important;
52
  padding: 10px 20px !important;
53
  transition: all 0.3s ease-in-out;
54
  display: block;
55
  margin: 10px auto;
 
56
  }
57
 
58
  button:hover {
59
- background-color: #ff4da6 !important;
60
  transform: scale(1.05);
61
  }
62
 
63
  /* Cute Output Styling */
64
  .result {
65
- color: #ff1493;
66
- font-size: 24px;
67
- text-align: center;
68
  font-weight: bold;
69
  padding-top: 10px;
70
- text-shadow: 2px 2px 5px rgba(255, 20, 147, 0.5);
71
- }
72
-
73
- /* Cute Animation */
74
- @keyframes sparkle {
75
- 0% { transform: scale(1); }
76
- 50% { transform: scale(1.1); }
77
- 100% { transform: scale(1); }
78
  }
79
 
80
- .sparkle {
81
- display: inline-block;
82
- animation: sparkle 1s infinite;
 
 
 
83
  }
84
 
85
  /* Responsive Tweaks */
86
  @media (max-width: 768px) {
 
 
 
 
87
  .title {
88
  font-size: 28px;
89
  }
 
 
 
 
90
 
91
  .result {
92
- font-size: 20px;
93
  }
94
  }
 
1
+ /* Full Page Background - Dark Pink */
2
  * {
3
  box-sizing: border-box;
4
+ background-color: #d63384 !important; /* Dark Pink Background */
5
  font-family: "Comic Sans MS", cursive, sans-serif; /* Playful font */
6
+ color: white; /* Default text color */
7
  }
8
 
9
+ /* Centered Box */
10
+ .container-box {
11
+ background-color: #f78fb3 !important; /* Lighter Pink */
12
+ border: 3px solid white !important; /* White Border */
13
+ border-radius: 20px;
14
+ padding: 30px;
15
+ width: 50%;
16
+ max-width: 400px;
17
  text-align: center;
18
+ margin: auto;
19
+ margin-top: 10vh;
20
+ box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
21
  }
22
 
23
  /* Title Styling */
24
  .title {
25
  font-size: 36px;
26
  font-weight: bold;
27
+ margin-bottom: 10px;
 
 
 
 
28
  }
29
 
30
+ /* Description */
31
+ .description {
32
+ font-size: 16px;
33
+ margin-bottom: 20px;
34
+ }
35
+
36
+ /* Input Box - White with Dark Pink Border */
37
+ input[type="text"], .gradio-input {
38
+ background-color: white !important; /* White Input */
39
+ border: 2px solid #d63384 !important; /* Dark Pink Border */
40
+ border-radius: 10px;
41
  padding: 10px;
42
+ color: black !important; /* Input text color */
43
  text-align: center; /* Center text */
44
+ width: 80%;
45
  max-width: 300px;
46
+ margin: 10px auto;
 
 
 
 
 
47
  }
48
 
49
  /* Cute Buttons */
50
  button {
51
  border-radius: 20px !important;
52
+ background-color: #d63384 !important; /* Dark Pink */
53
  color: white !important;
54
  font-size: 18px !important;
55
  padding: 10px 20px !important;
56
  transition: all 0.3s ease-in-out;
57
  display: block;
58
  margin: 10px auto;
59
+ border: 2px solid white;
60
  }
61
 
62
  button:hover {
63
+ background-color: #b82e72 !important; /* Slightly Darker Pink */
64
  transform: scale(1.05);
65
  }
66
 
67
  /* Cute Output Styling */
68
  .result {
69
+ color: white;
70
+ font-size: 20px;
 
71
  font-weight: bold;
72
  padding-top: 10px;
73
+ text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.3);
 
 
 
 
 
 
 
74
  }
75
 
76
+ /* Center Content */
77
+ .centered {
78
+ display: flex;
79
+ justify-content: center;
80
+ align-items: center;
81
+ height: 100vh;
82
  }
83
 
84
  /* Responsive Tweaks */
85
  @media (max-width: 768px) {
86
+ .container-box {
87
+ width: 80%;
88
+ }
89
+
90
  .title {
91
  font-size: 28px;
92
  }
93
+
94
+ .description {
95
+ font-size: 14px;
96
+ }
97
 
98
  .result {
99
+ font-size: 18px;
100
  }
101
  }