Untitled
unknown
plain_text
2 years ago
1.3 kB
4
Indexable
/* DashboardStyles.css */ .dashboard-header { background-color: #333; color: white; padding: 10px; width: 100%; height: 100px; /* Set a specific height for the header */ box-sizing: border-box; position: fixed; top: 0; left: 0; z-index: 1000; display: flex; align-items: center; /* Center content vertically in the header */ } .dashboard-nav { display: flex; justify-content: space-between; align-items: center; width: 100%; /* Make the navigation take the full width */ } .dashboard-link, .dashboard-upload-input, .dashboard-image-link { color: white; text-decoration: none; margin-bottom: 5px; } .dashboard-link:hover, .dashboard-image-link:hover { text-decoration: underline; } .dashboard-upload-input { margin-top: 10px; } .dashboard-welcome-message { margin-right: 15px; } .dashboard-button { background-color: #4caf50; color: white; padding: 10px; cursor: pointer; border: none; } .dashboard-button:hover { background-color: #45a049; } .header-image { width: 50px; /* Set the desired width for the image */ height: auto; /* Maintain aspect ratio */ margin-left: 20px; /* Adjust the margin as needed */ } /* Add padding to body to avoid content being covered by fixed header */ body { padding-top: 100px; /* Adjust as needed based on your header height */ }
Editor is loading...
Leave a Comment