student2222333051 commited on
Commit
ab17577
·
verified ·
1 Parent(s): 642cccf

Update styles.css

Browse files
Files changed (1) hide show
  1. styles.css +38 -4
styles.css CHANGED
@@ -1,3 +1,4 @@
 
1
  body {
2
  font-family: Arial, sans-serif;
3
  background: #f1f1f1;
@@ -9,27 +10,60 @@ h1 {
9
  }
10
 
11
  .container {
12
- width: 70%;
13
  margin: auto;
14
  background: white;
15
  padding: 20px;
16
  border-radius: 10px;
 
17
  }
18
 
19
  textarea {
20
  width: 100%;
21
- height: 150px;
 
 
 
 
22
  }
23
 
24
  button {
25
  padding: 10px 20px;
26
  margin-top: 10px;
27
  cursor: pointer;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  }
29
 
30
  #summaryBox {
31
- background: #eee;
32
  padding: 15px;
33
  border-radius: 5px;
34
- min-height: 80px;
 
 
 
 
 
 
 
 
 
 
 
35
  }
 
1
+ /* styles.css */
2
  body {
3
  font-family: Arial, sans-serif;
4
  background: #f1f1f1;
 
10
  }
11
 
12
  .container {
13
+ max-width: 900px;
14
  margin: auto;
15
  background: white;
16
  padding: 20px;
17
  border-radius: 10px;
18
+ box-shadow: 0 4px 12px rgba(0,0,0,0.06);
19
  }
20
 
21
  textarea {
22
  width: 100%;
23
+ height: 180px;
24
+ padding: 10px;
25
+ border-radius: 6px;
26
+ border: 1px solid #ddd;
27
+ resize: vertical;
28
  }
29
 
30
  button {
31
  padding: 10px 20px;
32
  margin-top: 10px;
33
  cursor: pointer;
34
+ border-radius: 6px;
35
+ border: none;
36
+ background: #2f6fed;
37
+ color: white;
38
+ font-weight: 600;
39
+ }
40
+
41
+ button:disabled {
42
+ opacity: 0.6;
43
+ cursor: not-allowed;
44
+ }
45
+
46
+ .row {
47
+ display: flex;
48
+ gap: 10px;
49
+ align-items: center;
50
+ margin-top: 8px;
51
  }
52
 
53
  #summaryBox {
54
+ background: #fafafa;
55
  padding: 15px;
56
  border-radius: 5px;
57
+ min-height: 120px;
58
+ border: 1px solid #eee;
59
+ margin-top: 10px;
60
+ }
61
+
62
+ .error {
63
+ margin-top: 12px;
64
+ color: #a94442;
65
+ background: #f2dede;
66
+ padding: 10px;
67
+ border-radius: 6px;
68
+ border: 1px solid #ebccd1;
69
  }