harshdhane's picture
Upload 10 files
a8a001c verified
Raw
History Blame Contribute Delete
5.53 kB
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Roboto', sans-serif;
line-height: 1.6;
background-color: #f4f7f6;
color: #333;
}
body.login, body.signup {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(to right, #1d3557, #457b9d);
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.container.login, .container.signup {
background: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
width: 350px;
text-align: center;
}
.header {
background-color: #2c3e50;
color: white;
padding: 20px;
border-radius: 8px;
margin-bottom: 20px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.header h1 {
margin: 0;
font-size: 1.8rem;
}
.header a {
color: white;
text-decoration: none;
transition: color 0.3s ease;
}
.header a:hover {
color: #3498db;
}
.user-welcome {
background-color: #ecf0f1;
padding: 15px;
border-radius: 8px;
margin-bottom: 20px;
text-align: center;
}
.navigation {
display: flex;
justify-content: center;
margin-bottom: 20px;
}
.nav-list {
display: flex;
list-style-type: none;
gap: 20px;
}
.nav-list li a {
text-decoration: none;
color: #2c3e50;
padding: 10px 15px;
border-radius: 6px;
transition: all 0.3s ease;
background-color: #ecf0f1;
display: inline-block;
}
.nav-list li a:hover {
background-color: #3498db;
color: white;
transform: translateY(-3px);
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.logout-btn {
background-color: #e74c3c;
color: white;
text-decoration: none;
padding: 10px 15px;
border-radius: 6px;
transition: background-color 0.3s ease;
}
.logout-btn:hover {
background-color: #c0392b;
}
.dashboard-content {
background-color: white;
border-radius: 8px;
padding: 20px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.dashboard-content h2 {
color: #2c3e50;
margin-bottom: 15px;
text-align: center;
}
.quick-stats {
display: flex;
justify-content: space-around;
margin-top: 20px;
}
.stat-box {
background-color: #ecf0f1;
padding: 15px;
border-radius: 8px;
text-align: center;
width: 200px;
}
.tabs {
display: flex;
justify-content: space-around;
margin-bottom: 20px;
}
.tabs button {
background: none;
border: none;
padding: 10px;
cursor: pointer;
font-size: 16px;
font-weight: bold;
color: #333;
}
.tabs button.active {
color: #1d3557;
border-bottom: 2px solid #1d3557;
}
.form {
display: none;
}
.form.active {
display: block;
}
.form input {
width: 90%;
padding: 10px;
margin: 10px 0;
border: 1px solid #ccc;
border-radius: 5px;
}
.form button {
width: 95%;
padding: 10px;
margin: 10px 0;
background: #1d3557;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}
.form button:hover {
background: #457b9d;
}
.form a {
display: block;
color: #1d3557;
text-decoration: none;
margin-top: 10px;
}
.filter-form {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
}
.filter-form select {
padding: 10px;
border-radius: 4px;
border: 1px solid #ddd;
}
table {
width: 100%;
border-collapse: collapse;
}
th, td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #ddd;
}
th {
background-color: #f2f2f2;
font-weight: bold;
}
.action-btn {
padding: 8px 12px;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.download-btn {
background-color: #3498db;
color: white;
}
.download-btn:hover {
background-color: #2980b9;
}
.delete-btn {
background-color: #e74c3c;
color: white;
}
.delete-btn:hover {
background-color: #c0392b;
}
.add-resource-form {
max-width: 600px;
margin: 0 auto;
}
.form-group {
margin-bottom: 15px;
}
.form-group label {
display: block;
margin-bottom: 5px;
color: #2c3e50;
}
.form-group input,
.form-group select {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
}
.submit-btn {
width: 100%;
padding: 12px;
background-color: #3498db;
color: white;
border: none;
border-radius: 6px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s ease;
}
.submit-btn:hover {
background-color: #2980b9;
}
@media (max-width: 768px) {
.header {
flex-direction: column;
text-align: center;
}
.nav-list {
flex-direction: column;
align-items: center;
}
.quick-stats {
flex-direction: column;
align-items: center;
gap: 15px;
}
.filter-form {
flex-direction: column;
}
.filter-form select {
margin-bottom: 10px;
}
}