136 lines
2.2 KiB
CSS
136 lines
2.2 KiB
CSS
/* central.css */
|
|
|
|
/* General Styles */
|
|
body {
|
|
font-family: sans-serif;
|
|
margin: 20px;
|
|
background-color: #f4f4f4;
|
|
color: #333;
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
color: #337ab7;
|
|
}
|
|
|
|
a {
|
|
color: #337ab7;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
p {
|
|
line-height: 1.6;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
/* Form Styles */
|
|
form {
|
|
background-color: #fff;
|
|
padding: 20px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 5px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
input[type="text"],
|
|
input[type="password"],
|
|
input[type="number"],
|
|
select,
|
|
textarea {
|
|
width: calc(100% - 12px); /* Adjust for padding */
|
|
padding: 8px;
|
|
margin-bottom: 10px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
box-sizing: border-box; /* Ensure padding and border are inside the element's total width and height */
|
|
font-size: 1em;
|
|
}
|
|
|
|
input[type="submit"] {
|
|
background-color: #5cb85c;
|
|
color: white;
|
|
padding: 10px 15px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 1em;
|
|
}
|
|
|
|
input[type="submit"]:hover {
|
|
background-color: #4cae4c;
|
|
}
|
|
|
|
.error {
|
|
color: red;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.success {
|
|
color: green;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
/* Navigation Styles (if you add a navigation later) */
|
|
nav ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
background-color: #333;
|
|
overflow: hidden;
|
|
border-radius: 5px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
nav ul li {
|
|
float: left;
|
|
}
|
|
|
|
nav ul li a {
|
|
display: block;
|
|
color: white;
|
|
text-align: center;
|
|
padding: 14px 16px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
nav ul li a:hover {
|
|
background-color: #111;
|
|
}
|
|
|
|
/* Table Styles (if you display data in tables) */
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-bottom: 20px;
|
|
border: 1px solid #ddd;
|
|
}
|
|
|
|
th, td {
|
|
border: 1px solid #ddd;
|
|
padding: 8px;
|
|
text-align: left;
|
|
}
|
|
|
|
th {
|
|
background-color: #f2f2f2;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Specific elements for your pages */
|
|
/* You can add more specific styles here as needed */
|
|
|
|
/* Example for the welcome message on index.html */
|
|
.welcome-message {
|
|
margin-bottom: 20px;
|
|
font-size: 1.2em;
|
|
font-weight: bold;
|
|
} |