BirthdayM / static /css /base.css
ayush2917's picture
Update static/css/base.css
3bcc021 verified
raw
history blame contribute delete
957 Bytes
/* static/css/base.css */
body {
margin: 0;
font-family: 'Comic Sans MS', 'Chalkduster', cursive;
background: url('/static/assets/4824155[1].jpg') no-repeat center center/cover;
color: #333;
overflow-x: hidden;
position: relative;
min-height: 100vh;
}
nav {
background: rgba(0, 0, 0, 0.5);
padding: 10px 0;
position: fixed;
top: 0;
width: 100%;
z-index: 2;
text-align: center;
}
nav a {
color: #FFD700; /* Gold for nav links */
text-decoration: none;
margin: 0 20px;
font-size: 1.2em;
transition: color 0.3s;
}
nav a:hover {
color: #FF69B4; /* Pink on hover */
}
.container {
text-align: center;
padding: 80px 20px 20px; /* Extra padding for fixed nav */
max-width: 800px;
margin: 0 auto;
position: relative;
z-index: 1;
}
@keyframes fadeIn {
0% { opacity: 0; transform: translateY(-20px); }
100% { opacity: 1; transform: translateY(0); }
}