Skip to content

Commit f28b1c1

Browse files
authored
Update main.css
1 parent f9ba913 commit f28b1c1

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

styles/main.css

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,44 @@ img {
4545
margin-top: 0.5rem;
4646
}
4747

48+
/* Section styling */
49+
section {
50+
max-width: 800px;
51+
margin: 3rem auto;
52+
padding: 1.5rem;
53+
background-color: #f6f8f6;
54+
border: 1px solid #a0a080;
55+
border-radius: 8px;
56+
box-shadow: 0 4px 8px rgba(75, 75, 63, 0.05);
57+
}
58+
59+
/* Header images for each section */
60+
.section-banner {
61+
width: 1000px;
62+
max-width: 100%;
63+
height: auto;
64+
display: block;
65+
margin: 0 auto 1rem auto;
66+
border-radius: 6px;
67+
box-shadow: 0 2px 6px rgba(75, 75, 63, 0.1);
68+
}
69+
70+
/* Headings */
71+
section h2 {
72+
color: #5c6b49;
73+
font-size: 1.75rem;
74+
display: flex;
75+
justify-content: space-between;
76+
align-items: center;
77+
}
78+
79+
section h2 a {
80+
font-size: 0.9rem;
81+
color: #4b4b3f;
82+
text-decoration: underline;
83+
margin-left: 1rem;
84+
}
85+
86+
section h2 a:hover {
87+
color: #315f7c;
88+
}

0 commit comments

Comments
 (0)