Spaces:
Running
Running
Upload 4 files
Browse files- css/styles.css +94 -0
- images/cats.jpg +0 -0
- images/logo.png +0 -0
- images/tiger.jpg +0 -0
css/styles.css
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
body {
|
2 |
+
background-color: lightgrey;
|
3 |
+
}
|
4 |
+
|
5 |
+
.container-main {
|
6 |
+
background-color: darkgrey;
|
7 |
+
padding: 20px;
|
8 |
+
margin: 25px auto;
|
9 |
+
width: 80%;
|
10 |
+
/* Changed from 90% to 80% */
|
11 |
+
border-radius: 10px;
|
12 |
+
/* Rounded Corners */
|
13 |
+
border: 2px solid #3c650b;
|
14 |
+
/* Add a border with a shade of blue */
|
15 |
+
}
|
16 |
+
|
17 |
+
hr {
|
18 |
+
border-top: 1px solid #3c650b;
|
19 |
+
/* Change the <hr> line color to a shade of blue */
|
20 |
+
}
|
21 |
+
|
22 |
+
.header-logo,
|
23 |
+
.header-main-text,
|
24 |
+
.header-sub-text {
|
25 |
+
text-align: center;
|
26 |
+
}
|
27 |
+
|
28 |
+
.header-main-text h1,
|
29 |
+
.header-sub-text h3 {
|
30 |
+
color: #3c650b;
|
31 |
+
/* Green color */
|
32 |
+
}
|
33 |
+
|
34 |
+
h2 {
|
35 |
+
font-size: 1.4rem;
|
36 |
+
/* Makes the text smaller */
|
37 |
+
color: #3c650b;
|
38 |
+
/* Sets the text color to a shade of blue */
|
39 |
+
}
|
40 |
+
|
41 |
+
|
42 |
+
h4 {
|
43 |
+
font-size: 1.2rem;
|
44 |
+
/* Adjust font size */
|
45 |
+
color: #3c650b;
|
46 |
+
/* Set the text color to a shade of green */
|
47 |
+
margin-top: 10px;
|
48 |
+
/* Add some margin to separate from h2 */
|
49 |
+
font-weight: 400;
|
50 |
+
/* Adjust the font weight */
|
51 |
+
}
|
52 |
+
|
53 |
+
.card {
|
54 |
+
border: 2px solid #3c650b;
|
55 |
+
/* Change the border color to #3c650b */
|
56 |
+
}
|
57 |
+
|
58 |
+
.card-title {
|
59 |
+
color: #3c650b;
|
60 |
+
/* Change the title color to #3c650b */
|
61 |
+
}
|
62 |
+
|
63 |
+
.card-body {
|
64 |
+
text-align: center;
|
65 |
+
display: flex;
|
66 |
+
/* Added flexbox layout */
|
67 |
+
flex-direction: column;
|
68 |
+
/* Direction */
|
69 |
+
justify-content: center;
|
70 |
+
/* Vertical centering */
|
71 |
+
}
|
72 |
+
|
73 |
+
.row {
|
74 |
+
margin-bottom: 15px;
|
75 |
+
/* Margin between rows */
|
76 |
+
}
|
77 |
+
|
78 |
+
.col-md-3 {
|
79 |
+
padding: 5px;
|
80 |
+
/* Margin between cards */
|
81 |
+
}
|
82 |
+
|
83 |
+
.card-custom-height {
|
84 |
+
height: 75px;
|
85 |
+
display: flex;
|
86 |
+
flex-direction: column;
|
87 |
+
justify-content: space-between;
|
88 |
+
}
|
89 |
+
|
90 |
+
.card-body {
|
91 |
+
padding: 10px;
|
92 |
+
/* Reduced padding to make more cards visible */
|
93 |
+
text-align: center;
|
94 |
+
}
|
images/cats.jpg
ADDED
images/logo.png
ADDED
images/tiger.jpg
ADDED