117 lines
2.1 KiB
CSS
117 lines
2.1 KiB
CSS
/* Global container to center the buttons and position tabs at the top */
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
background-color: #f4f4f9;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: flex-start; /* Aligns content to the top */
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* Tab section at the top */
|
|
.tab {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
background-color: #f1f1f1;
|
|
padding: 10px 0;
|
|
border-bottom: 1px solid #ccc;
|
|
}
|
|
|
|
.tab a {
|
|
background-color: inherit;
|
|
border: none;
|
|
outline: none;
|
|
cursor: pointer;
|
|
padding: 14px 16px;
|
|
transition: 0.3s;
|
|
text-decoration: none;
|
|
color: black;
|
|
}
|
|
|
|
.tab a:hover {
|
|
background-color: #ddd;
|
|
}
|
|
|
|
.tab a.active {
|
|
background-color: #ccc;
|
|
}
|
|
|
|
/* Container for centering the buttons in the middle of the page */
|
|
.container {
|
|
text-align: center;
|
|
width: 300px;
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
background-color: white;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
margin-top: 20vh; /* Pushes the container down */
|
|
}
|
|
|
|
h1 {
|
|
margin-bottom: 20px;
|
|
color: #333;
|
|
}
|
|
|
|
/* Input Group */
|
|
.input-group {
|
|
margin-bottom: 15px;
|
|
text-align: left;
|
|
}
|
|
|
|
.input-group label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
color: #333;
|
|
}
|
|
|
|
.input-group input {
|
|
width: 100%;
|
|
padding: 10px;
|
|
font-size: 16px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* Button Styling */
|
|
button {
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
border: none;
|
|
padding: 15px 32px;
|
|
margin-top: 10px;
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s;
|
|
width: 100%;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #45a049;
|
|
}
|
|
|
|
/* Error Message */
|
|
.error-message {
|
|
color: red;
|
|
font-size: 14px;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
/* Style for link buttons (can be used globally) */
|
|
.buttons button {
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
border: none;
|
|
padding: 15px 32px;
|
|
margin: 10px;
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
.buttons button:hover {
|
|
background-color: #45a049;
|
|
}
|