ranamhamoud commited on
Commit
6037a0f
โ€ข
1 Parent(s): 2c93363

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +2 -11
style.css CHANGED
@@ -1,9 +1,6 @@
1
  h1 {
2
  text-align: center;
3
  display: block;
4
- width: 100%; /* Ensures it takes full width of its container */
5
- margin-top: 0; /* Optional: Removes default margin from top of h1 */
6
- margin-bottom: 0.5em; /* Optional: Reduces space below h1 */
7
  }
8
 
9
  #duplicate-button {
@@ -14,14 +11,8 @@ h1 {
14
  }
15
 
16
  .contain {
17
- display: flex; /* Uses Flexbox */
18
- flex-direction: column; /* Aligns children vertically */
19
- justify-content: center; /* Centers children vertically */
20
- align-items: center; /* Centers children horizontally */
21
  max-width: 900px;
22
- width: 100%; /* Takes full width */
23
- margin: auto; /* Centers horizontally */
24
  padding-top: 1.5rem;
25
- padding-bottom: 1.5rem; /* Adds padding at the bottom */
26
- min-height: 100vh; /* Minimum height to take full viewport height */
27
  }
 
1
  h1 {
2
  text-align: center;
3
  display: block;
 
 
 
4
  }
5
 
6
  #duplicate-button {
 
11
  }
12
 
13
  .contain {
 
 
 
 
14
  max-width: 900px;
15
+ margin: auto;
 
16
  padding-top: 1.5rem;
17
+ min-height: 500px;
 
18
  }