simran19 commited on
Commit
f0ba88f
·
verified ·
1 Parent(s): 17150c4

Update templates/index.css

Browse files
Files changed (1) hide show
  1. templates/index.css +23 -0
templates/index.css CHANGED
@@ -1,3 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
  .form-group{
2
  width:400px;
3
  margin:50px auto;
@@ -10,3 +22,14 @@
10
  color: white;
11
  border: 1px solid white;
12
  }
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
12
+
13
  .form-group{
14
  width:400px;
15
  margin:50px auto;
 
22
  color: white;
23
  border: 1px solid white;
24
  }
25
+ .page-container {
26
+ width: 450px; /* Fixed width */
27
+ margin: 50px auto; /* Center horizontally with margin top/bottom */
28
+ padding: 30px 40px; /* Padding inside the box */
29
+ background: white; /* Background color (or use an image) */
30
+ border-radius: 15px; /* Rounded corners */
31
+ box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Soft shadow */
32
+ color: #333; /* Text color */
33
+ font-family: Arial, sans-serif;
34
+ }
35
+