Skip to content

Commit

Permalink
Create styles.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Been-Noman authored Aug 24, 2024
1 parent a479ab1 commit 9d992de
Showing 1 changed file with 199 additions and 0 deletions.
199 changes: 199 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,199 @@
/* Global Styles */
body {
font-family: 'Montserrat', sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(135deg, #1c1c1c 0%, #484848 100%);
color: #e0e0e0;
line-height: 1.6;
}

a {
color: #ffcc00;
text-decoration: none;
transition: color 0.3s ease;
}

a:hover {
color: #ff9900;
}

/* Header Styles */
header {
background: rgba(0, 0, 0, 0.7);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
padding: 1.5rem;
text-align: center;
position: fixed;
width: 100%;
top: 0;
left: 0;
z-index: 1000;
}

header h1 {
font-size: 2.5rem;
color: #ffcc00;
margin: 0;
}

nav ul {
list-style: none;
padding: 0;
margin: 1rem 0 0;
display: flex;
justify-content: center;
}

nav ul li {
margin: 0 1rem;
}

nav ul li a {
color: #e0e0e0;
font-weight: 700;
text-transform: uppercase;
padding: 0.5rem;
transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
color: #1c1c1c;
background-color: #ffcc00;
border-radius: 5px;
}

/* Section Styles */
section {
padding: 4rem 5%;
max-width: 1200px;
margin: 0 auto;
background: rgba(255, 255, 255, 0.1);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
border-radius: 10px;
margin-top: 7rem;
}

section h2 {
color: #ffcc00;
font-size: 2rem;
margin-bottom: 1.5rem;
border-bottom: 2px solid #ffcc00;
padding-bottom: 0.5rem;
}

.about-me p,
.skills p,
.contact p,
.blog p {
font-size: 1.1rem;
margin-bottom: 1.5rem;
}

.skills ul {
list-style-type: none;
padding: 0;
display: flex;
flex-wrap: wrap;
justify-content: center;
}

.skills ul li {
background-color: #ffcc00;
color: #1c1c1c;
padding: 0.5rem 1rem;
margin: 0.5rem;
border-radius: 5px;
font-weight: bold;
transition: transform 0.3s ease, background-color 0.3s ease;
}

.skills ul li:hover {
background-color: #ff9900;
transform: translateY(-3px);
}

/* Project and Blog Section Styles */
.projects ul,
.blog ul {
list-style: none;
padding: 0;
}

.projects ul li,
.blog ul li {
background: rgba(255, 255, 255, 0.15);
margin: 0.5rem 0;
padding: 1rem;
border-radius: 5px;
transition: background-color 0.3s ease, transform 0.3s ease;
}

.projects ul li:hover,
.blog ul li:hover {
background-color: rgba(255, 255, 255, 0.25);
transform: translateY(-3px);
}

.projects ul li a,
.blog ul li a {
color: #ffcc00;
font-weight: bold;
transition: color 0.3s ease;
}

.projects ul li a:hover,
.blog ul li a:hover {
color: #ff9900;
}

/* Contact Section Styles */
.contact p a {
color: #ffcc00;
font-weight: bold;
transition: color 0.3s ease;
}

.contact p a:hover {
color: #ff9900;
}

/* Footer Styles */
footer {
background-color: rgba(0, 0, 0, 0.7);
color: #e0e0e0;
text-align: center;
padding: 1rem 0;
position: fixed;
bottom: 0;
width: 100%;
box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.7);
}

footer p {
margin: 0;
font-size: 1rem;
}

/* Media Queries */
@media (max-width: 768px) {
nav ul {
flex-direction: column;
}

nav ul li {
margin: 0.5rem 0;
}

header h1 {
font-size: 2rem;
}

section {
padding: 2rem;
}

footer {
font-size: 0.9rem;
}
}

0 comments on commit 9d992de

Please sign in to comment.