-
Notifications
You must be signed in to change notification settings - Fork 105
/
footer.css
141 lines (123 loc) · 3.1 KB
/
footer.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
footer {
background-color: #05365f;
color: #f6f0f0;
text-align: center;
position: fixed;
bottom: 0;
width: 100%;
padding: 10px 0;
}
.footer-content {
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.footer-nav {
list-style-type: none;
display:flexbox;
gap: 60px;
margin: 20;
padding:0;
}
.footer-nav a {
color: #ccc;
text-decoration: none;
font-weight: 500;
gap: 20px;
}
.footer-nav a:hover {
text-decoration: underline;
gap:30px;
}
.footer-copy {
font-size: 0.9em;
color: #ccc;
}
body {
margin:0;
min-height: 100vh;
}
html {
scroll-behavior: smooth;
}
/* Footer content styling */
.footer-content {
background-color: #333; /* Background color of footer */
color: #fff; /* Text color */
padding: 20px;
text-align: center;
}
/* Footer navigation bar styling */
.footer-nav {
list-style: none; /* Removes bullets from the list */
padding: 0; /* Removes padding */
margin: 0; /* Removes margin */
display: flex; /* Flexbox for horizontal layout */
justify-content: center; /* Centers the navigation links */
}
/* Footer nav links */
.footer-nav li {
margin: 0 15px; /* Space between links */
}
.footer-nav a {
color: #fff; /* Link color */
text-decoration: none; /* Removes underlines */
font-size: 16px;
font-weight: bold;
padding: 5px 10px;
border-radius: 5px;
transition: background-color 0.3s ease; /* Adds a transition effect for hover */
}
/* Hover effect for navigation links */
.footer-nav a:hover {
background-color: #555; /* Change background on hover */
color: #ffcc00; /* Change text color on hover */
}
/* Footer copyright text styling */
.footer-copy {
margin-top: 20px;
font-size: 14px;
color: #ccc; /* Lighter text color for copyright info */
}
/* Section styling */
section {
padding: 60px 20px; /* Adds space inside the section */
margin: 40px 0; /* Adds space between sections */
background-color: #f9f9f9; /* Background color for the section */
border-radius: 10px; /* Rounded corners for the section */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}
/* Section titles (h1) styling */
section h1 {
font-size: 28px;
color: #333;
text-align: center; /* Centers the title */
margin-bottom: 20px;
}
/* Section paragraph (p) styling */
section p {
font-size: 16px;
color: #666;
text-align: center; /* Centers the text */
line-height: 1.6;
}
/* Media query for smaller screens */
@media (max-width: 768px) {
.footer-nav {
flex-direction: column; /* Stacks the navigation links vertically */
}
.footer-nav li {
margin: 10px 0; /* Adds space between stacked links */
}
section {
padding: 40px 10px; /* Reduce padding for smaller screens */
}
section h1 {
font-size: 24px; /* Adjust title size */
}
section p {
font-size: 14px; /* Adjust paragraph size */
}
}