source: CSS/Footer.css

main
Last change on this file was 75f74d9, checked in by Vlado 222039 <vlado.popovski@…>, 6 weeks ago

Initial commit: Adding Book Tracker code

  • Property mode set to 100644
File size: 2.2 KB
Line 
1.footer {
2 background-color: #f5f5f5;
3 padding: 40px 20px;
4 font-family: Arial, sans-serif;
5}
6
7.footer-content {
8 max-width: 1200px;
9 margin: 0 auto;
10 display: grid;
11 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
12 gap: 30px;
13}
14
15.footer-section {
16 margin-bottom: 20px;
17}
18
19.footer-section h3 {
20 color: #2c4f3f;
21 font-size: 16px;
22 margin-bottom: 15px;
23 font-weight: bold;
24}
25
26.footer-section ul {
27 list-style: none;
28 padding: 0;
29 margin: 0;
30}
31
32.footer-section ul li {
33 margin-bottom: 8px;
34}
35
36.footer-section ul li a {
37 color: #666;
38 text-decoration: none;
39 font-size: 14px;
40}
41
42.footer-section ul li a:hover {
43 color: #2c4f3f;
44 text-decoration: underline;
45}
46
47.newsletter-section {
48 grid-column: 1 / -1;
49 text-align: center;
50 padding: 20px 0;
51 border-top: 1px solid #ddd;
52 margin-top: 20px;
53}
54
55.newsletter-form {
56 display: flex;
57 max-width: 500px;
58 margin: 15px auto;
59 gap: 10px;
60}
61
62.newsletter-input {
63 flex: 1;
64 padding: 10px;
65 border: 1px solid #ddd;
66 border-radius: 4px;
67}
68
69.newsletter-button {
70 background-color: #2c4f3f;
71 color: white;
72 border: none;
73 padding: 10px 20px;
74 border-radius: 4px;
75 cursor: pointer;
76 transition: background-color 0.3s;
77}
78
79.newsletter-button:hover {
80 background-color: #1a3028;
81}
82
83.bottom-footer {
84 text-align: center;
85 padding-top: 20px;
86 border-top: 1px solid #ddd;
87 margin-top: 20px;
88 color: #666;
89 font-size: 12px;
90}
91
92.social-links {
93 display: flex;
94 justify-content: center;
95 gap: 15px;
96 margin: 15px 0;
97}
98
99.social-links a {
100 color: #666;
101 text-decoration: none;
102 font-size: 20px;
103}
104
105.library-hours {
106 background-color: #fff;
107 padding: 15px;
108 border-radius: 4px;
109 margin-bottom: 15px;
110}
111
112.library-hours p {
113 margin: 5px 0;
114 font-size: 14px;
115 color: #444;
116}
117
118@media (max-width: 768px) {
119 .footer-content {
120 grid-template-columns: 1fr 1fr;
121 }
122
123 .newsletter-form {
124 flex-direction: column;
125 }
126
127 .newsletter-button {
128 width: 100%;
129 }
130}
131
132@media (max-width: 480px) {
133 .footer-content {
134 grid-template-columns: 1fr;
135 }
136}
Note: See TracBrowser for help on using the repository browser.