gen-ipsec-for-mt/style.css

95 lines
1.8 KiB
CSS
Raw Normal View History

2024-06-22 23:37:24 +03:00
/* Basic Styling */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern, readable font */
margin: 0;
padding: 0;
background-color: #f4f4f4; /* Light background */
color: #333; /* Dark text for contrast */
}
.container {
max-width: 800px;
margin: 20px auto;
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
margin-bottom: 20px;
}
fieldset {
border: 1px solid #ddd;
padding: 20px;
margin-bottom: 20px;
border-radius: 5px;
}
legend {
font-weight: bold;
padding: 0 10px; /* Add some padding around the legend text */
}
label {
display: block;
margin-bottom: 5px;
font-weight: 600; /* Slightly bolder labels */
}
input[type="text"],
input[type="password"],
input[type="number"],
select {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ddd;
border-radius: 4px;
box-sizing: border-box;
}
select {
height: 45px; /* Consistent height for selects */
}
input[type="submit"] {
background-color: #007bff; /* Blue button */
color: white;
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s; /* Smooth transition on hover */
}
input[type="submit"]:hover {
background-color: #0056b3; /* Darker blue on hover */
}
/* Responsive Styles */
@media (max-width: 768px) {
.container {
max-width: 95%;
}
input[type="text"],
input[type="password"],
input[type="number"],
select {
font-size: 16px;
}
}
@media (max-width: 480px) {
fieldset {
padding: 10px;
}
label {
font-size: 14px;
}