Canstralian commited on
Commit
4497716
·
verified ·
1 Parent(s): a358c67

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +59 -14
style.css CHANGED
@@ -1,28 +1,73 @@
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
4
  }
5
 
6
  h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
9
  }
10
 
11
  p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
  .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
 
 
24
  }
25
 
26
  .card p:last-child {
27
- margin-bottom: 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  }
 
1
  body {
2
+ padding: 2rem;
3
+ font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
+ background-color: #f4f4f4; /* Light background to contrast with vibrant colors */
5
+ color: #333; /* Dark text for readability */
6
  }
7
 
8
  h1 {
9
+ font-size: 2rem;
10
+ margin-top: 0;
11
+ color: #4CAF50; /* Green for primary headings */
12
  }
13
 
14
  p {
15
+ color: rgb(107, 114, 128);
16
+ font-size: 15px;
17
+ margin-bottom: 10px;
18
+ margin-top: 5px;
19
  }
20
 
21
  .card {
22
+ max-width: 620px;
23
+ margin: 0 auto;
24
+ padding: 16px;
25
+ border: 1px solid #ddd; /* Light gray border */
26
+ border-radius: 16px;
27
+ background-color: white;
28
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Slight shadow for depth */
29
  }
30
 
31
  .card p:last-child {
32
+ margin-bottom: 0;
33
+ }
34
+
35
+ .card-header {
36
+ background-color: #FF9800; /* Orange for card headers */
37
+ color: white;
38
+ padding: 8px 16px;
39
+ font-size: 1.25rem;
40
+ border-radius: 12px 12px 0 0; /* Rounded top corners */
41
+ }
42
+
43
+ .card-footer {
44
+ background-color: #2196F3; /* Blue for card footer */
45
+ color: white;
46
+ text-align: center;
47
+ padding: 8px;
48
+ border-radius: 0 0 12px 12px; /* Rounded bottom corners */
49
+ }
50
+
51
+ button {
52
+ background-color: #9C27B0; /* Purple for buttons */
53
+ color: white;
54
+ padding: 10px 20px;
55
+ border: none;
56
+ border-radius: 8px;
57
+ cursor: pointer;
58
+ font-size: 1rem;
59
+ transition: background-color 0.3s ease;
60
+ }
61
+
62
+ button:hover {
63
+ background-color: #FFC107; /* Amber for hover effect */
64
+ }
65
+
66
+ a {
67
+ color: #2196F3; /* Blue for links */
68
+ text-decoration: none;
69
+ }
70
+
71
+ a:hover {
72
+ text-decoration: underline;
73
  }