-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPRODIGY_WD_01.css
145 lines (126 loc) · 2.28 KB
/
PRODIGY_WD_01.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
body {
margin: 0;
font-family: 'Arial', sans-serif;
background-color: #b2caa6;
}
header {
background-color: #96a88c;
padding: 10px 0;
position: fixed;
width: 100%;
height: 2rem;
top: 0;
z-index: 1000;
}
#navigation {
text-align: center;
font-weight: 700;
display: flex;
text-align: center;
}
#navigation img{
padding-top: 0;
height: 2rem;
padding-left: 15px;
}
#navigation ul {
text-align: center;
list-style: none;
margin-top: 10px;
margin-left: 30%;
}
#navigation li {
display: inline;
margin-right: 25px;
}
#navigation a {
text-decoration: none;
color: #0f0e0e;
font-size: 17px;
transition: color 0.3s ease-in-out;
}
#navigation a:hover {
color: #ffd700; /* Change the color on hover */
font-size: 18px;
transition: 1s;
}
.content-section {
padding: 50px;
margin-top: 80px; /* Account for the fixed header */
background-color: #6e6565;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.content-section h2 {
color: #333;
}
.content-section p {
color: #666;
}
.categories {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
padding-top: 20px;
/* background-color: #e3e9e8; */
}
.box {
width: 23%;
height: 400px;
background-color: white;
padding: 20px 0 15px;
margin-top: 15px;
}
.box-content {
font-size: 12px;
margin-left: 1rem;
margin-right: 1rem;
}
.box-content p {
color: rgb(0, 113, 133);
}
.box-img {
height: 300px;
background-size: cover;
margin-top: 1rem;
margin-bottom: 1rem;
}
footer {
margin-top: 15px;
width: 100%;
}
.backtotop {
height: 45px;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
background-color: #7d807b;
color: white;
font-size: 1rem;
}
.footer-panel {
background-color: #b2caa6;
display: flex;
height: 100px;
color: white;
font-size: 15px;
justify-content: space-evenly;
}
.footer-panel ul a {
padding-left: 50px;
color: #181818;
display: inline-block;
font-size: 16px;
margin-top: 5px;
}
.know{
background-color: #b2caa6;
color: #181818;
text-align: center;
font-size: 17px;
margin-top: 10px;
}
/* ul {
margin-top: 35px;
} */