46 lines
925 B
CSS
46 lines
925 B
CSS
![]() |
body {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
height: 100vh; /* Full viewport height */
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
.form-container {
|
||
|
background-color: #ffffff;
|
||
|
padding: 20px;
|
||
|
border-radius: 10px;
|
||
|
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
||
|
}
|
||
|
|
||
|
@media (orientation: landscape) {
|
||
|
.form-container{
|
||
|
width: 60%;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media (orientation: portrait){
|
||
|
.form-container{
|
||
|
width: 90%;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* The morbid thing */
|
||
|
table.reg-input-table {
|
||
|
width: 100%;
|
||
|
border-collapse: collapse; /* Combine borders */
|
||
|
}
|
||
|
.reg-input-td1, .reg-input-td2 {
|
||
|
border: none;
|
||
|
}
|
||
|
.reg-input-td1 {
|
||
|
padding-right: 5px;
|
||
|
white-space: nowrap; /* Prevent text wrap, keeping it in one line */
|
||
|
overflow: hidden; /* Hide overflow content */
|
||
|
text-overflow: ellipsis; /* Show ellipsis for overflowing text */
|
||
|
}
|
||
|
.reg-input-td2 {
|
||
|
width: 100%;
|
||
|
}
|