simran19 commited on
Commit
9f033ef
·
verified ·
1 Parent(s): 2343d41

Update templates/index.css

Browse files
Files changed (1) hide show
  1. templates/index.css +6 -10
templates/index.css CHANGED
@@ -1,33 +1,29 @@
1
  html, body {
2
  height: 100%;
3
  margin: 0;
 
4
  }
5
 
6
  body {
7
- display: flex;
8
- justify-content: center; /* horizontal center */
9
- align-items: center; /* vertical center */
10
- height: 100vh; /* full viewport height */
11
- width:400px;
12
- margin:50px auto;
13
- padding:20px;
14
  background-image:url('https://cdn-uploads.huggingface.co/production/uploads/68c9040752743c0e389c6079/3Bwo1Og_FLJVaDbXqihW8.gif');
15
- background-size:cover;background-position:center;color:white ; border-radius:10px;
16
  }
17
 
18
  .form-group input, .form-group label {
19
  background: transparent;
20
  color: white;
21
  border: 1px solid white;
 
 
 
22
  }
23
  .page-container {
24
  width: 450px; /* Fixed width */
25
- margin: 50px auto; /* Center horizontally with margin top/bottom */
26
- padding: 30px 40px; /* Padding inside the box */
27
  background: white; /* Background color (or use an image) */
28
  border-radius: 15px; /* Rounded corners */
29
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Soft shadow */
30
  color: #333; /* Text color */
31
  font-family: Arial, sans-serif;
 
32
  }
33
 
 
1
  html, body {
2
  height: 100%;
3
  margin: 0;
4
+ font-family: Arial, sans-serif;
5
  }
6
 
7
  body {
 
 
 
 
 
 
 
8
  background-image:url('https://cdn-uploads.huggingface.co/production/uploads/68c9040752743c0e389c6079/3Bwo1Og_FLJVaDbXqihW8.gif');
9
+ background-size:cover;background-position:center;color:white ; background-repeat: no-repeat; border-radius:10px;
10
  }
11
 
12
  .form-group input, .form-group label {
13
  background: transparent;
14
  color: white;
15
  border: 1px solid white;
16
+ display:block;
17
+ width:100%;
18
+
19
  }
20
  .page-container {
21
  width: 450px; /* Fixed width */
 
 
22
  background: white; /* Background color (or use an image) */
23
  border-radius: 15px; /* Rounded corners */
24
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Soft shadow */
25
  color: #333; /* Text color */
26
  font-family: Arial, sans-serif;
27
+ text-align: center;
28
  }
29