s
This commit is contained in:
1 parent
3dbcb6b309
commit
46334326ae
2 files changed
+127
-52
No files matched your search
+79
-23
@@ -31,7 +31,7 @@ body {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
flex-wrap: wrap; /* For responsiveness */
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.header h1 {
|
||||
@@ -58,14 +58,14 @@ nav ul li a:hover {
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
/* --- Main Content --- */
|
||||
/* --- Main Content Sections --- */
|
||||
main {
|
||||
padding: 30px 0;
|
||||
min-height: 60vh;
|
||||
min-height: 80vh; /* Increased height for better section separation */
|
||||
}
|
||||
|
||||
.content-section {
|
||||
margin-bottom: 40px;
|
||||
margin-bottom: 50px;
|
||||
padding: 20px 0;
|
||||
}
|
||||
|
||||
@@ -73,47 +73,104 @@ main {
|
||||
color: #2c3e50;
|
||||
border-bottom: 3px solid #3498db; /* Highlight color */
|
||||
padding-bottom: 10px;
|
||||
margin-bottom: 20px;
|
||||
font-size: 2rem;
|
||||
margin-bottom: 25px;
|
||||
font-size: 2.2rem;
|
||||
}
|
||||
|
||||
/* Landing Page Specific Styles */
|
||||
.hero-section {
|
||||
text-align: center;
|
||||
padding: 40px 0;
|
||||
padding: 60px 0;
|
||||
background-color: #ecf0f1;
|
||||
border-radius: 8px;
|
||||
border-radius: 10px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.post-grid {
|
||||
.hero-section p {
|
||||
font-size: 1.1rem;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.btn {
|
||||
display: inline-block;
|
||||
background-color: #3498db;
|
||||
color: white;
|
||||
padding: 12px 25px;
|
||||
text-decoration: none;
|
||||
border-radius: 5px;
|
||||
font-weight: bold;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
background-color: #2980b9;
|
||||
}
|
||||
|
||||
/* Portfolio Specific Styles */
|
||||
.portfolio-section {
|
||||
background-color: #ffffff;
|
||||
border-radius: 10px;
|
||||
padding: 30px;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
.portfolio-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 25px;
|
||||
}
|
||||
|
||||
.post-card {
|
||||
background-color: white;
|
||||
.project-card {
|
||||
background-color: #f4f4f9;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 8px;
|
||||
padding: 20px;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.post-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
|
||||
.project-card:hover {
|
||||
transform: translateY(-8px);
|
||||
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.post-card h3 {
|
||||
color: #2980b9;
|
||||
.project-card h3 {
|
||||
color: #2c3e50;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.meta {
|
||||
display: block;
|
||||
margin-top: 15px;
|
||||
font-size: 0.9em;
|
||||
color: #7f8c8d;
|
||||
/* Blog Specific Styles */
|
||||
.blog-section {
|
||||
background-color: #ffffff;
|
||||
border-radius: 10px;
|
||||
padding: 30px;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
.post-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.post-summary {
|
||||
border-bottom: 1px solid #eee;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
.post-summary h4 {
|
||||
color: #3498db;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.post-summary p {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.post-summary a {
|
||||
color: #2c3e50;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* --- Footer --- */
|
||||
@@ -122,7 +179,6 @@ main {
|
||||
color: white;
|
||||
text-align: center;
|
||||
padding: 1.5rem 0;
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
.footer .container {
|
||||
|
||||
Reference in new issue
Block a user